10 process.caTopTagInfos = caTopTagInfos.clone()
11 process.caTopTagInfosPAT = cms.EDProducer(
"RecoJetDeltaRTagInfoValueMapProducer",
12 src = cms.InputTag(
"ak8PFJetsCHS"),
13 matched = cms.InputTag(
"cmsTopTagPFJetsCHS"),
14 matchedTagInfos = cms.InputTag(
"caTopTagInfos"),
15 distMax = cms.double(0.8)
21 addJetCollection(process, labelName =
'AK8',
22 jetSource = cms.InputTag(
'ak8PFJetsCHS'),
23 algo=
'AK', rParam = 0.8,
24 jetCorrections = (
'AK8PFchs', cms.vstring([
'L1FastJet',
'L2Relative',
'L3Absolute']),
'None'),
25 btagDiscriminators = [x.getModuleLabel()
for x
in patJetsDefault.discriminatorSources],
26 genJetCollection = cms.InputTag(
'slimmedGenJetsAK8')
28 process.patJetsAK8.userData.userFloats.src = []
29 process.selectedPatJetsAK8.cut = cms.string(
"pt > 200")
35 process.ak8PFJetsCHSPruned = ak8PFJetsCHSPruned.clone()
36 process.ak8PFJetsCHSSoftDrop = ak8PFJetsCHSSoftDrop.clone()
37 process.ak8PFJetsCHSTrimmed = ak8PFJetsCHSTrimmed.clone()
38 process.ak8PFJetsCHSFiltered = ak8PFJetsCHSFiltered.clone()
39 process.load(
"RecoJets.JetProducers.ak8PFJetsCHS_groomingValueMaps_cfi")
40 process.patJetsAK8.userData.userFloats.src += [
'ak8PFJetsCHSPrunedMass',
'ak8PFJetsCHSSoftDropMass',
'ak8PFJetsCHSTrimmedMass',
'ak8PFJetsCHSFilteredMass']
43 process.patJetsAK8.tagInfoSources = cms.VInputTag(cms.InputTag(
"caTopTagInfosPAT"))
44 process.patJetsAK8.addTagInfos = cms.bool(
True)
49 process.load(
'RecoJets.JetProducers.nJettinessAdder_cfi')
50 process.NjettinessAK8 = process.Njettiness.clone()
51 process.NjettinessAK8.src = cms.InputTag(
"ak8PFJetsCHS")
52 process.NjettinessAK8.cone = cms.double(0.8)
53 process.patJetsAK8.userData.userFloats.src += [
'NjettinessAK8:tau1',
'NjettinessAK8:tau2',
'NjettinessAK8:tau3']
59 labelName =
'AK8PFCHSSoftDrop',
60 jetSource = cms.InputTag(
'ak8PFJetsCHSSoftDrop'),
61 btagDiscriminators = [
'None'],
62 jetCorrections = (
'AK8PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
63 getJetMCFlavour =
False
69 labelName =
'AK8PFCHSSoftDropSubjets',
70 jetSource = cms.InputTag(
'ak8PFJetsCHSSoftDrop',
'SubJets'),
73 btagDiscriminators = [
'pfCombinedSecondaryVertexV2BJetTags',
'pfCombinedInclusiveSecondaryVertexV2BJetTags'],
74 jetCorrections = (
'AK4PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
77 genJetCollection = cms.InputTag(
'slimmedGenJets'),
78 fatJets=cms.InputTag(
'ak8PFJetsCHS'),
79 groomedFatJets=cms.InputTag(
'ak8PFJetsCHSSoftDrop')
81 process.selectedPatJetsAK8PFCHSSoftDrop.cut = cms.string(
"pt > 200")
83 process.slimmedJetsAK8PFCHSSoftDropSubjets = cms.EDProducer(
"PATJetSlimmer",
84 src = cms.InputTag(
"selectedPatJetsAK8PFCHSSoftDropSubjets"),
85 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
86 dropJetVars = cms.string(
"1"),
87 dropDaughters = cms.string(
"0"),
88 rekeyDaughters = cms.string(
"1"),
89 dropTrackRefs = cms.string(
"1"),
90 dropSpecific = cms.string(
"1"),
91 dropTagInfos = cms.string(
"1"),
96 process.slimmedJetsAK8PFCHSSoftDropPacked = cms.EDProducer(
"BoostedJetMerger",
97 jetSrc=cms.InputTag(
"selectedPatJetsAK8PFCHSSoftDrop"),
98 subjetSrc=cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropSubjets")
103 labelName =
'CMSTopTagCHS',
104 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS'),
105 jetCorrections = (
'AK8PFchs', cms.vstring([
'L1FastJet',
'L2Relative',
'L3Absolute']),
'None'),
106 btagDiscriminators = [
'None'],
107 genJetCollection = cms.InputTag(
'slimmedGenJetsAK8'),
108 getJetMCFlavour =
False
110 process.selectedPatJetsCMSTopTagCHS.cut = cms.string(
"pt > 200")
114 labelName =
'CMSTopTagCHSSubjets',
115 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS',
'caTopSubJets'),
118 btagDiscriminators = [
'pfCombinedSecondaryVertexV2BJetTags',
'pfCombinedInclusiveSecondaryVertexV2BJetTags'],
119 jetCorrections = (
'AK4PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
120 genJetCollection = cms.InputTag(
'slimmedGenJets'),
123 fatJets=cms.InputTag(
'ak8PFJetsCHS'),
124 groomedFatJets=cms.InputTag(
'cmsTopTagPFJetsCHS')
128 process.slimmedJetsCMSTopTagCHSSubjets = cms.EDProducer(
"PATJetSlimmer",
129 src = cms.InputTag(
"selectedPatJetsCMSTopTagCHSSubjets"),
130 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
131 dropJetVars = cms.string(
"1"),
132 dropDaughters = cms.string(
"0"),
133 rekeyDaughters = cms.string(
"1"),
134 dropTrackRefs = cms.string(
"1"),
135 dropSpecific = cms.string(
"1"),
136 dropTagInfos = cms.string(
"1"),
140 process.slimmedJetsCMSTopTagCHSPacked = cms.EDProducer(
"BoostedJetMerger",
141 jetSrc=cms.InputTag(
"selectedPatJetsCMSTopTagCHS"),
142 subjetSrc=cms.InputTag(
"slimmedJetsCMSTopTagCHSSubjets")
146 process.packedPatJetsAK8 = cms.EDProducer(
"JetSubstructurePacker",
147 jetSrc = cms.InputTag(
"selectedPatJetsAK8"),
148 distMax = cms.double(0.8),
149 algoTags = cms.VInputTag(
154 cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropPacked"),
155 cms.InputTag(
"slimmedJetsCMSTopTagCHSPacked")
157 algoLabels = cms.vstring(
161 fixDaughters = cms.bool(
True),
162 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
166 process.slimmedJetsAK8.rekeyDaughters =
"0"