Collection of tools useful for EMTF studies.
cmsrel CMSSW_12_3_0_pre4
cd CMSSW_12_3_0_pre4/src
cmsenv
git cms-init
git cms-addpkg L1Trigger/L1TMuonEndCap
git clone git@github.com:jlidrych/EMTFTools.git
scram b -j 10cmsRun l1NtupleMC_RAW2DIGI.pyThe configuration file is available in EMTFNtuple/python/EMTFNtupleMaker_cfi.py.
One can change defaults to enable/disable processing of various inputs (CSC/RPC/CPPF/GEM etc.),(EMTFHits/EMTFUnpackedHits), (EMTFTracks/EMTFUnpackedTracks) etc.
Scripts for ntuple production are available in crab directory.
SingleNeutrino sample is used for trigger rate study, while the DYToLL sample is used for the trigger efficiency measurement.
We use so called GEN-SIM-DIGI-RAW production.
crab submit -c crabSingleNeutrino.pyor
crab submit -c crabDY.pyPlotting scripts are available in Macros directory.
Re-emulated:
root -b -q makeTriggerRatePlots.C\(argument\) - argument is integer - gmtMuonMode=3,7,11 for open, double, tight quality
Unpacked:
root -b -q makeTriggerRatePlotsUnp.C\(argument\) - argument is integer - gmtMuonMode=3,7,11 for open, double, tight quality
One need to make skimmed ntuples.
root -b -q makeMatchedNtuplesFromCRAB.C or root -b -q makeMatchedNtuplesFromCRABUnp.C
and now calculate trigger efficiency:
root -b -q makeTriggerEfficiencyPlots.C .