cmsrel CMSSW_9_2_7 (-> update to the appropriate CMSSW version!)
cd CMSSW_9_2_7/src
cmsenv
git cms-addpkg HLTrigger/Configuration
git clone [email protected]:sarafiorendi/MuonHLTNtuples.git
cd MuonHLTNtuples/
git checkout -b YOUR_BRANCH_NAME
git merge origin/addL1info
cd ..
scramv1 b
to produce ntuples, just run
cmsRun hltNtuples_cfg.py
this gist customize the hlt configuration to re-run the hlt and the ntuplizer for isolation studies https://gist.github.com/sarafiorendi/02b4a43c28766ec7beddabe3f5ae036e
what is in here:
plugins/MuonNtuples.cc → code to produce ntuples
test/readNtuple.C → macro to evaluate efficiency on data