3 patJetPartonsLegacy = cms.EDProducer(
"PartonSelector",
4 withLeptons = cms.bool(
False),
5 src = cms.InputTag(
"genParticles")
8 patJetPartonAssociationLegacy = cms.EDProducer(
"JetPartonMatcher",
9 jets = cms.InputTag(
"ak4PFJetsCHS"),
10 partons = cms.InputTag(
"patJetPartonsLegacy"),
11 coneSizeToAssociate = cms.double(0.3),
14 patJetFlavourAssociationLegacy = cms.EDProducer(
"JetFlavourIdentifier",
15 srcByReference = cms.InputTag(
"patJetPartonAssociationLegacy"),
16 physicsDefinition = cms.bool(
False)
19 patJetPartons = cms.EDProducer(
'HadronAndPartonSelector',
20 src = cms.InputTag(
"generator"),
21 particles = cms.InputTag(
"genParticles"),
22 partonMode = cms.string(
"Auto")
25 patJetFlavourAssociation = cms.EDProducer(
"JetFlavourClustering",
26 jets = cms.InputTag(
"ak4PFJetsCHS"),
27 bHadrons = cms.InputTag(
"patJetPartons",
"bHadrons"),
28 cHadrons = cms.InputTag(
"patJetPartons",
"cHadrons"),
29 partons = cms.InputTag(
"patJetPartons",
"partons"),
30 jetAlgorithm = cms.string(
"AntiKt"),
31 rParam = cms.double(0.4),
32 ghostRescaling = cms.double(1e-18),
33 hadronFlavourHasPriority = cms.bool(
True)
37 patJetFlavourIdLegacy = cms.Sequence(patJetPartonsLegacy * patJetPartonAssociationLegacy * patJetFlavourAssociationLegacy)
38 patJetFlavourId = cms.Sequence(patJetPartons * patJetFlavourAssociation)