cms-nanoAOD / cmssw

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

Missing selection on EM energy fraction in jets in CorrT1METJet #531

Closed andrey-popov closed 2 years ago

andrey-popov commented 4 years ago

The standard type 1 correction to missing pT is done using jets with the electromagnetic energy faction of less than 0.9. While it is available for the main collection of jets via branches Jet_chEmEF and Jet_neEmEF, these energy fractions are not stored in collection CorrT1METJet. I thought that maybe the jets in that collection have already been filtered, but this doesn't seem to be the case: here is the source and cut of the corresponding table, and the source collection is defined here. This problem was already reported in cms-nanoAOD/nanoAOD-tools#238.

I doubt we need the energy fractions per se in CorrT1METJet. Instead, it would be sufficient to add a boolean branch indicating whether the jet passes the selection. Alternatively, we could not store jets that don't pass the cut on the energy fraction, but this is less desirable since people might be using those jets for purposes other than the type 1 correction. I can try to prepare a pull request if needed. Please let me know.

mariadalfonso commented 3 years ago

@andrey-popov was this handled ?

@lathomas @alkaloge

vlimant commented 2 years ago

closing. please ping/reopen in cms-sw if necessary