Skip to content

jlidrych/EMTFTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMTFTools

Collection of tools useful for EMTF studies.

Quick start

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 10

Run

cmsRun l1NtupleMC_RAW2DIGI.py

Setup - configuration file

The 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.

Ntuple production

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.py

or

crab submit -c crabDY.py

Plotting

Plotting scripts are available in Macros directory.

Rate plots

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

Trigger efficiency

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 .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 74.5%
  • C++ 19.8%
  • Python 5.7%