9 process.caTopTagInfos = caTopTagInfos.clone()
10 process.caTopTagInfosPAT = cms.EDProducer(
"RecoJetDeltaRTagInfoValueMapProducer",
11 src = cms.InputTag(
"ak8PFJetsCHS"),
12 matched = cms.InputTag(
"cmsTopTagPFJetsCHS"),
13 matchedTagInfos = cms.InputTag(
"caTopTagInfos"),
14 distMax = cms.double(0.8)
20 addJetCollection(process, labelName =
'AK8',
21 jetSource = cms.InputTag(
'ak8PFJetsCHS'),
22 algo=
'AK', rParam = 0.8,
23 jetCorrections = (
'AK8PFchs', cms.vstring([
'L1FastJet',
'L2Relative',
'L3Absolute']),
'None'),
24 btagDiscriminators = [x.getModuleLabel()
for x
in patJetsDefault.discriminatorSources],
25 genJetCollection = cms.InputTag(
'slimmedGenJetsAK8')
27 process.patJetsAK8.userData.userFloats.src = []
28 process.selectedPatJetsAK8.cut = cms.string(
"pt > 200")
34 process.ak8PFJetsCHSPruned = ak8PFJetsCHSPruned.clone()
35 process.ak8PFJetsCHSSoftDrop = ak8PFJetsCHSSoftDrop.clone()
36 process.ak8PFJetsCHSTrimmed = ak8PFJetsCHSTrimmed.clone()
37 process.ak8PFJetsCHSFiltered = ak8PFJetsCHSFiltered.clone()
38 process.load(
"RecoJets.JetProducers.ak8PFJetsCHS_groomingValueMaps_cfi")
39 process.patJetsAK8.userData.userFloats.src += [
'ak8PFJetsCHSPrunedMass',
'ak8PFJetsCHSSoftDropMass',
'ak8PFJetsCHSTrimmedMass',
'ak8PFJetsCHSFilteredMass']
42 process.patJetsAK8.tagInfoSources = cms.VInputTag(cms.InputTag(
"caTopTagInfosPAT"))
43 process.patJetsAK8.addTagInfos = cms.bool(
True)
48 process.load(
'RecoJets.JetProducers.nJettinessAdder_cfi')
49 process.NjettinessAK8 = process.Njettiness.clone()
50 process.NjettinessAK8.src = cms.InputTag(
"ak8PFJetsCHS")
51 process.NjettinessAK8.cone = cms.double(0.8)
52 process.patJetsAK8.userData.userFloats.src += [
'NjettinessAK8:tau1',
'NjettinessAK8:tau2',
'NjettinessAK8:tau3']
58 labelName =
'AK8PFCHSSoftDrop',
59 jetSource = cms.InputTag(
'ak8PFJetsCHSSoftDrop'),
60 btagDiscriminators = [
'None'],
61 jetCorrections = (
'AK8PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
62 getJetMCFlavour =
False
68 labelName =
'AK8PFCHSSoftDropSubjets',
69 jetSource = cms.InputTag(
'ak8PFJetsCHSSoftDrop',
'SubJets'),
72 btagDiscriminators = [
'pfCombinedSecondaryVertexV2BJetTags',
'pfCombinedInclusiveSecondaryVertexV2BJetTags'],
73 jetCorrections = (
'AK4PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
76 genJetCollection = cms.InputTag(
'slimmedGenJets'),
77 fatJets=cms.InputTag(
'ak8PFJetsCHS'),
78 groomedFatJets=cms.InputTag(
'ak8PFJetsCHSSoftDrop')
80 process.selectedPatJetsAK8PFCHSSoftDrop.cut = cms.string(
"pt > 200")
82 process.slimmedJetsAK8PFCHSSoftDropSubjets = cms.EDProducer(
"PATJetSlimmer",
83 src = cms.InputTag(
"selectedPatJetsAK8PFCHSSoftDropSubjets"),
84 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
85 dropJetVars = cms.string(
"1"),
86 dropDaughters = cms.string(
"0"),
87 rekeyDaughters = cms.string(
"1"),
88 dropTrackRefs = cms.string(
"1"),
89 dropSpecific = cms.string(
"1"),
90 dropTagInfos = cms.string(
"1"),
91 modifyJets = cms.bool(
True),
92 modifierConfig = cms.PSet( modifications = cms.VPSet() )
97 process.slimmedJetsAK8PFCHSSoftDropPacked = cms.EDProducer(
"BoostedJetMerger",
98 jetSrc=cms.InputTag(
"selectedPatJetsAK8PFCHSSoftDrop"),
99 subjetSrc=cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropSubjets")
104 labelName =
'CMSTopTagCHS',
105 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS'),
106 jetCorrections = (
'AK8PFchs', cms.vstring([
'L1FastJet',
'L2Relative',
'L3Absolute']),
'None'),
107 btagDiscriminators = [
'None'],
108 genJetCollection = cms.InputTag(
'slimmedGenJetsAK8'),
109 getJetMCFlavour =
False
111 process.selectedPatJetsCMSTopTagCHS.cut = cms.string(
"pt > 200")
115 labelName =
'CMSTopTagCHSSubjets',
116 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS',
'caTopSubJets'),
119 btagDiscriminators = [
'pfCombinedSecondaryVertexV2BJetTags',
'pfCombinedInclusiveSecondaryVertexV2BJetTags'],
120 jetCorrections = (
'AK4PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
121 genJetCollection = cms.InputTag(
'slimmedGenJets'),
124 fatJets=cms.InputTag(
'ak8PFJetsCHS'),
125 groomedFatJets=cms.InputTag(
'cmsTopTagPFJetsCHS')
129 process.slimmedJetsCMSTopTagCHSSubjets = cms.EDProducer(
"PATJetSlimmer",
130 src = cms.InputTag(
"selectedPatJetsCMSTopTagCHSSubjets"),
131 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
132 dropJetVars = cms.string(
"1"),
133 dropDaughters = cms.string(
"0"),
134 rekeyDaughters = cms.string(
"1"),
135 dropTrackRefs = cms.string(
"1"),
136 dropSpecific = cms.string(
"1"),
137 dropTagInfos = cms.string(
"1"),
138 modifyJets = cms.bool(
True),
139 modifierConfig = cms.PSet( modifications = cms.VPSet() )
143 process.slimmedJetsCMSTopTagCHSPacked = cms.EDProducer(
"BoostedJetMerger",
144 jetSrc=cms.InputTag(
"selectedPatJetsCMSTopTagCHS"),
145 subjetSrc=cms.InputTag(
"slimmedJetsCMSTopTagCHSSubjets")
149 process.packedPatJetsAK8 = cms.EDProducer(
"JetSubstructurePacker",
150 jetSrc = cms.InputTag(
"selectedPatJetsAK8"),
151 distMax = cms.double(0.8),
152 algoTags = cms.VInputTag(
157 cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropPacked"),
158 cms.InputTag(
"slimmedJetsCMSTopTagCHSPacked")
160 algoLabels = cms.vstring(
164 fixDaughters = cms.bool(
True),
165 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
169 process.slimmedJetsAK8.rekeyDaughters =
"0"