-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Followup on flavor definition in MiniAOD #11076
Conversation
A new Pull Request was created by @ahinzmann for CMSSW_7_5_X. Followup on flavor definition in MiniAOD It involves the following packages: PhysicsTools/JetMCAlgos @cmsbuild, @vadler, @monttj can you please review it and eventually sign? Thanks. |
please test |
The tests are being triggered in jenkins. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs once checked with relvals in the development release cycle of CMSSW (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
@@ -4,7 +4,7 @@ | |||
jets = cms.InputTag("ak5PFJets"), | |||
bHadrons = cms.InputTag("selectedHadronsAndPartons","bHadrons"), | |||
cHadrons = cms.InputTag("selectedHadronsAndPartons","cHadrons"), | |||
partons = cms.InputTag("selectedHadronsAndPartons","physicsPartons"), | |||
partons = cms.InputTag("selectedHadronsAndPartons","algorithmicPartons"), | |||
leptons = cms.InputTag("selectedHadronsAndPartons","leptons"), | |||
jetAlgorithm = cms.string("AntiKt"), | |||
rParam = cms.double(0.5), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also set hadronFlavourHasPriority
to False
here and in AK4PFJetsMCFlavourInfos_cfi.py and propagate these changes to #11077? Thanks.
@ahinzmann , all, could this comment from @ferencek be addressed quickly both here and in #11077 so we can finalize the miniaod software. |
ok working on it. |
ok, ready to test in 74, 75 and 76. |
please test |
The tests are being triggered in jenkins. |
Followup on flavor definition in MiniAOD
Followup on #10751
Due to comments in #10750
Add jetFlavourInfo to ak4 and ak8 jet collections, to be able to identify gluon splitting to bb.
Add lepton matching for identification of hadronic taus.
With this scheme:
b,c can be identified by either j.hadronFlavour() (hadron definition) or j.partonFlavour() (algorithmic definition) or j.genParton().pdgId() (physics definition)
g,u,d,s can be identified by j.genParton().pdgId() (physics definition)
gluon splitting to bb can be identified roughly by (j.genParton().pdgId()==21 && len(j.jetFlavourInfo().getbHadrons())==2 )
The size increase (edmEventSize) for MiniAOD (on 1300 ttbar events) when adding JetFlavourInfo and lepton matching is the following:
without JetFlavourInfo:
patJets_slimmedJets__PAT. 32977.1 2663.08
patJets_slimmedJetsAK8__PAT. 1141.85 251.157
with JetFlavourInfo:
patJets_slimmedJets__PAT. 33015.2 2696.82
patJets_slimmedJetsAK8__PAT. 1144.26 252.791
with lepton matching:
patJets_slimmedJets__PAT. 33025.3 2707.15
patJets_slimmedJetsAK8__PAT. 1144.78 253.252