cms-nanoAOD / cmssw

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

Save Z bosons in LHEPart collection #598

Closed andreypz closed 2 years ago

andreypz commented 2 years ago

It seems to me that in the current version (v9) Z bosons are not saved in LHEPart collection. Simple check:

root -l root://xrootd-cms.infn.it//store/mc/RunIISummer20UL17NanoAODv9/DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8/NANOAODSIM/106X_mc2017_realistic_v9-v2/100000/04426F83-BF53-0440-B2D1-F2DD9AB96EB8.root
Events->Draw("LHEPart_pdgId")

There are no pdgid=23 on the plot (and this is Z -> LL sample)... It applies to other files/samples that I have checked. I think it's useful to save Z bosons. (Also W and H, but I have not checked if those are saved in LHEPart or not).

mariadalfonso commented 2 years ago

will be added in the v10 https://github.com/cms-sw/cmssw/pull/35753