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"),
95 process.slimmedJetsAK8PFCHSSoftDropPacked = cms.EDProducer(
"BoostedJetMerger",
96 jetSrc=cms.InputTag(
"selectedPatJetsAK8PFCHSSoftDrop"),
97 subjetSrc=cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropSubjets")
102 labelName =
'CMSTopTagCHS',
103 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS'),
104 jetCorrections = (
'AK8PFchs', cms.vstring([
'L1FastJet',
'L2Relative',
'L3Absolute']),
'None'),
105 btagDiscriminators = [
'None'],
106 genJetCollection = cms.InputTag(
'slimmedGenJetsAK8'),
107 getJetMCFlavour =
False
109 process.selectedPatJetsCMSTopTagCHS.cut = cms.string(
"pt > 200")
113 labelName =
'CMSTopTagCHSSubjets',
114 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS',
'caTopSubJets'),
117 btagDiscriminators = [
'pfCombinedSecondaryVertexV2BJetTags',
'pfCombinedInclusiveSecondaryVertexV2BJetTags'],
118 jetCorrections = (
'AK4PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
119 genJetCollection = cms.InputTag(
'slimmedGenJets'),
122 fatJets=cms.InputTag(
'ak8PFJetsCHS'),
123 groomedFatJets=cms.InputTag(
'cmsTopTagPFJetsCHS')
127 process.slimmedJetsCMSTopTagCHSSubjets = cms.EDProducer(
"PATJetSlimmer",
128 src = cms.InputTag(
"selectedPatJetsCMSTopTagCHSSubjets"),
129 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
130 dropJetVars = cms.string(
"1"),
131 dropDaughters = cms.string(
"0"),
132 rekeyDaughters = cms.string(
"1"),
133 dropTrackRefs = cms.string(
"1"),
134 dropSpecific = cms.string(
"1"),
135 dropTagInfos = cms.string(
"1"),
139 process.slimmedJetsCMSTopTagCHSPacked = cms.EDProducer(
"BoostedJetMerger",
140 jetSrc=cms.InputTag(
"selectedPatJetsCMSTopTagCHS"),
141 subjetSrc=cms.InputTag(
"slimmedJetsCMSTopTagCHSSubjets")
145 process.packedPatJetsAK8 = cms.EDProducer(
"JetSubstructurePacker",
146 jetSrc = cms.InputTag(
"selectedPatJetsAK8"),
147 distMax = cms.double(0.8),
148 algoTags = cms.VInputTag(
153 cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropPacked"),
154 cms.InputTag(
"slimmedJetsCMSTopTagCHSPacked")
156 algoLabels = cms.vstring(
160 fixDaughters = cms.bool(
True),
161 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
165 process.slimmedJetsAK8.rekeyDaughters =
"0"