Skip to content
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

Merged
merged 4 commits into from
Sep 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PhysicsTools/JetMCAlgos/python/AK4PFJetsMCFlavourInfos_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
jets = cms.InputTag("ak4PFJets"),
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.4),
ghostRescaling = cms.double(1e-18),
hadronFlavourHasPriority = cms.bool(True)
hadronFlavourHasPriority = cms.bool(False)
)
4 changes: 2 additions & 2 deletions PhysicsTools/JetMCAlgos/python/AK5PFJetsMCFlavourInfos_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
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),
Copy link
Contributor

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.

ghostRescaling = cms.double(1e-18),
hadronFlavourHasPriority = cms.bool(True)
hadronFlavourHasPriority = cms.bool(False)
)
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
jets = cms.InputTag("ak4PFJetsCHS"),
bHadrons = cms.InputTag("patJetPartons","bHadrons"),
cHadrons = cms.InputTag("patJetPartons","cHadrons"),
partons = cms.InputTag("patJetPartons","physicsPartons"),
partons = cms.InputTag("patJetPartons","algorithmicPartons"),
leptons = cms.InputTag("patJetPartons","leptons"),
jetAlgorithm = cms.string("AntiKt"),
rParam = cms.double(0.4),
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/PatAlgos/python/mcMatchLayer0/jetMatch_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
src = cms.InputTag("ak4PFJetsCHS"), # RECO objects to match
matched = cms.InputTag("genParticles"), # mc-truth particle collection
mcPdgId = cms.vint32(1, 2, 3, 4, 5, 21), # one or more PDG ID (quarks except top; gluons)
mcStatus = cms.vint32(3), # PYTHIA status code (3 = hard scattering)
mcStatus = cms.vint32(3,23), # PYTHIA6/Herwig++ status code (3 = hard scattering), 23 in Pythia8
checkCharge = cms.bool(False), # False = any value of the charge of MC and RECO is ok
maxDeltaR = cms.double(0.4), # Minimum deltaR for the match
maxDPtRel = cms.double(3.0), # Minimum deltaPt/Pt for the match
Expand Down