Clone this repository within a recent CMSSW environment:
git clone [email protected]:cms-tau-pog/TauReleaseValidation.git
Run the following commands to produce validation plots:
python3 produceTauValTree.py ZTT
python3 compare.py ZTT
Alternatively the command produceAndCompare.py
will run produceTauValTree.py
on all given combinations of Releases and GlobalTags, followed by running compare.py
on these samples as well.
Example commands:
python3 produceAndCompare.py --release CMSSW_10_3_0_pre1 --globalTag PU25ns_102X_upgrade2018_realistic_v9-v1 --runtype ZTT -s eos --debug
python3 produceTauValTree.py --release CMSSW_10_3_0_pre1 --globalTag PU25ns_102X_upgrade2018_realistic_v9-v1 --runtype ZTT --maxEvents 1000 -s eos -l /eos/user/o/<YOU>/relValMVA/ --tauCollection slimmedTaus --mvaid
python3 produceAndCompare.py --releases CMSSW_9_4_10 CMSSW_9_4_11_cand2 --globalTags PU25ns_94X_mcRun2_asymptotic_v3_FastSim-v1 PU25ns_94X_mc2017_realistic_v15_FastSim-v1 --runtype ZTT -s das
If you plan to update the TauID list w.r.t. the used CMSSW version do:
wget https://raw.githubusercontent.com/greyxray/TauAnalysisTools/CMSSW_9_4_X_tau-pog_RunIIFall17/TauAnalysisTools/python/runTauIdMVA.py -P $CMSSW_BASE/src/TauReleaseValidation/
- Uses eostools from cmg-cmssw since the one in CMSSW is broken
- Add more samples (VBF Higgs, H+, ZEE)
- Finish setting up the different samples