cms-nanoAOD / cmssw

CMS NanoAOD software integration repository
http://cms-sw.github.io/
Apache License 2.0
3 stars 10 forks source link

Scale/Smearing EGM UL16preVFP not applied correctly #595

Closed mariadalfonso closed 2 years ago

mariadalfonso commented 2 years ago

see slide5

https://indico.cern.ch/event/1123547/contributions/4716514/attachments/2394644/4097503/CrossPOG_23Feb2022.pdf

mariadalfonso commented 2 years ago

checked the cmsdriver in production

MC is correct, data is not correct.

MCpreVFP* cmsDriver.py step1 --mc --eventcontent NANOEDMAODSIM --datatier NANOAODSIM --conditions 106X_mcRun2_asymptotic_preVFP_v11 --step NANO --nThreads 2 --era Run2_2016_HIPM,run2_nanoAOD_106Xv2 --filein file:step-1.root --fileout file:step0.root

MCpostVFP* cmsDriver.py step1 --mc --eventcontent NANOEDMAODSIM --datatier NANOAODSIM --conditions 106X_mcRun2_asymptotic_v17 --step NANO --nThreads 2 --era Run2_2016,run2_nanoAOD_106Xv2 --filein file:step-1.root --fileout file:step0.root

Data_preVFP: mini --> --era Run2_2016_HIPM nano --> --era Run2_2016,run2_nanoAOD_106Xv2

mariadalfonso commented 2 years ago

The following objects are affected

https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/triggerObjects_cff.py#L221 https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/electrons_cff.py#L161 https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/photons_cff.py#L83

mariadalfonso commented 2 years ago

samples redone https://cms-pdmv.cern.ch/pmp/historical?r=HIPM_UL2016_MiniAODv2_NanoAODv9,ver1_HIPM_UL2016_MiniAODv2_NanoAODv9,ver2_HIPM_UL2016_MiniAODv2_NanoAODv9&granularity=500