This is a simple setup for checking the single track trigger efficiency in data . One needs to aware that the trigger efficiency is combined HLT and L1 efficiency altogether. Also, the trigger efficiency is defined as
leading pT distribution (higher threshold/lower threshold)
where the higher threshold cannot have any prescale, and the lowest threshold is calculated w.r.t MB trigger.
STEPS:
- Checkout at least 75X, and git clone this repo
- Compile.
scram b -j4
- Go to /SingleTrackTurnOns/turnOnMaker/test, and replace the input file name, double check the track quality cuts and calo matching resolution parameter, before you do:
cmsRun HLTandL1singletrack_crab_cfg.py
- One can use /macros/L1plusHLTSingleTrackTurnOns.C to plot efficiency as function of pT.