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 > 170")
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 > 170")
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"),
92 modifyJets = cms.bool(
True),
93 modifierConfig = cms.PSet( modifications = cms.VPSet() )
98 process.slimmedJetsAK8PFCHSSoftDropPacked = cms.EDProducer(
"BoostedJetMerger",
99 jetSrc=cms.InputTag(
"selectedPatJetsAK8PFCHSSoftDrop"),
100 subjetSrc=cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropSubjets")
105 labelName =
'CMSTopTagCHS',
106 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS'),
107 jetCorrections = (
'AK8PFchs', cms.vstring([
'L1FastJet',
'L2Relative',
'L3Absolute']),
'None'),
108 btagDiscriminators = [
'None'],
109 genJetCollection = cms.InputTag(
'slimmedGenJetsAK8'),
110 getJetMCFlavour =
False
112 process.selectedPatJetsCMSTopTagCHS.cut = cms.string(
"pt > 200")
116 labelName =
'CMSTopTagCHSSubjets',
117 jetSource = cms.InputTag(
'cmsTopTagPFJetsCHS',
'caTopSubJets'),
120 btagDiscriminators = [
'pfCombinedSecondaryVertexV2BJetTags',
'pfCombinedInclusiveSecondaryVertexV2BJetTags'],
121 jetCorrections = (
'AK4PFchs', [
'L1FastJet',
'L2Relative',
'L3Absolute'],
'None'),
122 genJetCollection = cms.InputTag(
'slimmedGenJets'),
125 fatJets=cms.InputTag(
'ak8PFJetsCHS'),
126 groomedFatJets=cms.InputTag(
'cmsTopTagPFJetsCHS')
130 process.slimmedJetsCMSTopTagCHSSubjets = cms.EDProducer(
"PATJetSlimmer",
131 src = cms.InputTag(
"selectedPatJetsCMSTopTagCHSSubjets"),
132 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
133 dropJetVars = cms.string(
"1"),
134 dropDaughters = cms.string(
"0"),
135 rekeyDaughters = cms.string(
"1"),
136 dropTrackRefs = cms.string(
"1"),
137 dropSpecific = cms.string(
"1"),
138 dropTagInfos = cms.string(
"1"),
139 modifyJets = cms.bool(
True),
140 modifierConfig = cms.PSet( modifications = cms.VPSet() )
144 process.slimmedJetsCMSTopTagCHSPacked = cms.EDProducer(
"BoostedJetMerger",
145 jetSrc=cms.InputTag(
"selectedPatJetsCMSTopTagCHS"),
146 subjetSrc=cms.InputTag(
"slimmedJetsCMSTopTagCHSSubjets")
150 process.packedPatJetsAK8 = cms.EDProducer(
"JetSubstructurePacker",
151 jetSrc = cms.InputTag(
"selectedPatJetsAK8"),
152 distMax = cms.double(0.8),
153 algoTags = cms.VInputTag(
158 cms.InputTag(
"slimmedJetsAK8PFCHSSoftDropPacked"),
159 cms.InputTag(
"slimmedJetsCMSTopTagCHSPacked")
161 algoLabels = cms.vstring(
165 fixDaughters = cms.bool(
True),
166 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
170 process.slimmedJetsAK8.rekeyDaughters =
"0"