Recommended for 2018-2017-2016: Workflow Description in 10_2_X
The workflow to make the tag and probe measurement is split into two steps. But before anything you need to install the code.
- Step 0: Make a CMSSW release and check out the necessary software
Latest version for prompt/ of 2018 data and MC 2018 for the time being. Note
EgammaPostReco tools is not necessary here, E/gamma post reco tools just helps run the setup for the IDs and scale & smearings in way which is easier for the users. However the TnP package is maintained by us so we set it up manually ourselves in the config. Due to the design of VID, the two outputs are guaranteed to be identical.
cmsrel CMSSW_10_2_5
cd CMSSW_10_2_5/src
cmsenv
git cms-merge-topic cms-egamma:EgammaID_1023 #if you want the V2 IDs, otherwise skip
git cms-init
scram b -j8
cd $CMSSW_BASE/src
Depending on the year you want to analyze pick a different branch (the code is basically the same, triggers, global-tag, datasets are different).
For 2018:
For "Moriond 19" dataset (i.e.
ReReco ABC + Prompt D for data and Autumn18 MC):
git clone -b Nm1 https://github.com/swagata87/EgammaAnalysis-TnPTreeProducer EgammaAnalysis/TnPTreeProducer
For Prompt Reco and Fall18:
git clone -b v2018.09.24_10_2_X_prelim https://github.com/lsoffi/EgammaAnalysis-TnPTreeProducer EgammaAnalysis/TnPTreeProducer
For 2017:
git clone -b IDv2_2017sample https://github.com/swagata87/EgammaAnalysis-TnPTreeProducer EgammaAnalysis/TnPTreeProducer
For 2016:
git clone -b IDv2_2016sample_miniaod https://github.com/swagata87/EgammaAnalysis-TnPTreeProducer EgammaAnalysis/TnPTreeProducer
Compile:
scram b -j8
NB: Make sure to follow the instructions here:
https://twiki.cern.ch/twiki/bin/view/CMSPublic/Step1TagAndProbe
to update your PU weights for 2018 data.
Recommended for 2017: Workflow Description in 94X
The workflow to make the tag and probe measurement is split into two steps. But before anything you need to install the code
- Step 0: Make a CMSSW release and check out the necessary software
Latest version for prompt/re reco of 2017 data and MC
cmsrel CMSSW_9_4_10
cd CMSSW_9_4_10/src
cmsenv
git cms-init
git cms-merge-topic cms-egamma:EgammaID_949
git clone -b CMSSW_9_4_X https://github.com/cms-analysis/EgammaAnalysis-TnPTreeProducer.git EgammaAnalysis/TnPTreeProducer
scram b -j8
NB: Make sure to follow the instructions here:
https://twiki.cern.ch/twiki/bin/view/CMSPublic/Step1TagAndProbe
to update your PU weights for 2017 data.
Workflow Description in 92X
The workflow to make the tag and probe measurement is split into two steps. But before anything you need to install the code
- Step 0: Make a CMSSW release and check out the necessary software
Latest version for prompt/re reco of 2017 data and MC V1 for the time being
cmsrel CMSSW_9_2_14
cd CMSSW_9_2_14/src
cmsenv
git cms-init
git cms-merge-topic lsoffi:CMSSW_9_2_X_TnP
cd $CMSSW_BASE/src
git clone -b v2017.12.04_92X_prelim https://github.com/lsoffi/EgammaAnalysis-TnPTreeProducer.git EgammaAnalysis/TnPTreeProducer
scram b -j8
NB: Make sure to follow the instructions here:
https://twiki.cern.ch/twiki/bin/view/CMSPublic/Step1TagAndProbe
to update your PU weights for 2017 data.
Workflow Description in 80X
The workflow to make the tag and probe measurement is split into two steps. But before anything you need to install the code
- Step 0: Make a CMSSW release and check out the necessary software
(Latest version for legacy rereco of 2016 data, still under development! )
Does not include yet 80X photon ID (which is not in the release)
cmsrel CMSSW_8_0_27
cd CMSSW_8_0_27/src
cmsenv
git cms-init
git cms-merge-topic cms-egamma:EGM_gain_v1
cd EgammaAnalysis/ElectronTools/data
git clone -b Moriond17_gainSwitch_unc https://github.com/ECALELFS/ScalesSmearings.git
cd $CMSSW_BASE/src
git clone -b v2017.05.23_legacy80X_prelim https://github.com/cms-analysis/EgammaAnalysis-TnPTreeProducer EgammaAnalysis/TnPTreeProducer
scram b -j8