Ntuples for the analysis of the CMS drift tubes detector performance
Note: In the present days this code is evolving fast, hence the installation recipe may change often. Please keep an eye on this page to check for updates.
cmsrel CMSSW_10_6_5_patch1
cd CMSSW_10_6_5_patch1/src/
cmsenv
git cms-merge-topic oglez:Phase2_DTAB7Unpacker_v9.1
git cms-merge-topic battibass:Phase2_DTRecoAndCalib
git cms-merge-topic -u pozzobon:DTHough_NP_20191004_106X_noL1T # MTT-CHT emulator
git cms-merge-topic -u dtp2-tpg-am:v1.4_AM_106X # AM emulator
git clone https://github.com/battibass/DTNtuples.git DTDPGAnalysis/DTNtuples
scramv1 b -j 5
cd DTDPGAnalysis/DTNtuples/test/
cmsRun dtDpgNtuples_slicetest_cfg.py nEvents=10000
# or
cmsRun dtDpgNtuples_phase2_cfg.py nEvents=10000
root -b
root [0] .x loadExampleAnalysis.C
root [1] DTNtupleExampleAnalyzer analysis("DTDPGNtuple_10_6_0_SX5.root","results.root")
// or
root [1] DTNtupleExampleAnalyzer analysis("DTDPGNtuple_10_6_0_Phase2_Simulation.root","results.root")
root [2] analysis.Loop()