CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoPFJets_cff.py
Go to the documentation of this file.
2 
3 from RecoJets.JetProducers.sc5PFJets_cfi import sisCone5PFJets
4 from RecoJets.JetProducers.ic5PFJets_cfi import iterativeCone5PFJets
5 from RecoJets.JetProducers.ak5PFJets_cfi import ak5PFJets
6 from RecoJets.JetProducers.ak4PFJets_cfi import ak4PFJets
7 from RecoJets.JetProducers.ak5PFJetsTrimmed_cfi import ak5PFJetsTrimmed
8 from RecoJets.JetProducers.ak5PFJetsFiltered_cfi import ak5PFJetsFiltered, ak5PFJetsMassDropFiltered
9 from RecoJets.JetProducers.ak5PFJetsPruned_cfi import ak5PFJetsPruned
10 from RecoJets.JetProducers.ak5PFJetsSoftDrop_cfi import ak5PFJetsSoftDrop
11 from RecoJets.JetProducers.ak8PFJetsCS_cfi import ak8PFJetsCSConstituents, ak8PFJetsCS, ak8PFJetsCSPruned, ak8PFJetsCSTrimmed, ak8PFJetsCSFiltered
13 from RecoJets.JetProducers.gk5PFJets_cfi import gk5PFJets
14 from RecoJets.JetProducers.kt4PFJets_cfi import kt4PFJets
15 from RecoJets.JetProducers.ca4PFJets_cfi import ca4PFJets
16 from RecoJets.JetProducers.fixedGridRhoProducer_cfi import fixedGridRhoAll
17 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAll
19 from RecoJets.JetProducers.ak8PFJetsCHS_groomingValueMaps_cfi import ak8PFJetsCHSPrunedMass, ak8PFJetsCHSFilteredMass, ak8PFJetsCHSTrimmedMass, ak8PFJetsCHSSoftDropMass
20 from RecoJets.JetProducers.ca8PFJetsCHS_groomingValueMaps_cfi import ca8PFJetsCHSPrunedMass, ca8PFJetsCHSFilteredMass, ca8PFJetsCHSTrimmedMass, ca8PFJetsCHSSoftDropMass
21 from CommonTools.PileupAlgos.Puppi_cff import puppi
22 from CommonTools.PileupAlgos.softKiller_cfi import softKiller
23 from RecoJets.JetProducers.ak4PFJetsPuppi_cfi import ak4PFJetsPuppi
24 from RecoJets.JetProducers.ak4PFJetsSK_cfi import ak4PFJetsSK
25 
26 sisCone7PFJets = sisCone5PFJets.clone( rParam = 0.7 )
27 ak7PFJets = ak5PFJets.clone( rParam = 0.7 )
28 ak8PFJets = ak5PFJets.clone( rParam = 0.8 )
29 gk7PFJets = gk5PFJets.clone( rParam = 0.7 )
30 kt6PFJets = kt4PFJets.clone( rParam = 0.6 )
31 ca8PFJets = ca4PFJets.clone( rParam = 0.8 )
32 
33 #compute areas for Fastjet PU subtraction
34 kt6PFJets.doRhoFastjet = True
35 kt6PFJets.doAreaFastjet = True
36 #use active areas and not Voronoi tessellation for the moment
37 kt6PFJets.voronoiRfact = 0.9
38 ak4PFJets.doAreaFastjet = True
39 ak5PFJets.doAreaFastjet = True
40 ak5PFJetsTrimmed.doAreaFastjet = True
41 ak7PFJets.doAreaFastjet = True
42 ak8PFJets.doAreaFastjet = True
43 ak4PFJetsSK.doAreaFastjet = True
44 
45 kt6PFJetsCentralChargedPileUp = kt6PFJets.clone(
46  src = cms.InputTag("pfPileUpAllChargedParticles"),
47  Ghost_EtaMax = cms.double(3.1),
48  Rho_EtaMax = cms.double(2.5)
49  )
50 
51 kt6PFJetsCentralNeutral = kt6PFJets.clone(
52  src = cms.InputTag("pfAllNeutralHadronsAndPhotons"),
53  Ghost_EtaMax = cms.double(3.1),
54  Rho_EtaMax = cms.double(2.5),
55  inputEtMin = cms.double(0.5)
56  )
57 
58 
59 kt6PFJetsCentralNeutralTight = kt6PFJetsCentralNeutral.clone(
60  inputEtMin = cms.double(1.0)
61  )
62 
63 
64 
65 fixedGridRhoFastjetCentralChargedPileUp = fixedGridRhoFastjetAll.clone(
66  src = cms.InputTag("pfPileUpAllChargedParticles"),
67  maxRapidity = cms.double(2.5)
68  )
69 
70 fixedGridRhoFastjetCentralNeutral = fixedGridRhoFastjetAll.clone(
71  src = cms.InputTag("pfAllNeutralHadronsAndPhotons"),
72  maxRapidity = cms.double(2.5)
73  )
74 
75 
76 
77 ak8PFJetsCHSConstituents = cms.EDFilter("PFJetConstituentSelector",
78  src = cms.InputTag("ak8PFJetsCHS"),
79  cut = cms.string("pt > 100.0 && abs(rapidity()) < 2.4")
80  )
81 
82 
83 # Advanced Algorithms for AK4, AK5, AK8 and CA8 :
84 # - CHS, ungroomed
85 # - CHS, pruned
86 # - CHS, filtered
87 # - CHS, trimmed
88 ak5PFJetsCHS = ak5PFJets.clone(
89  src = cms.InputTag("pfNoPileUpJME")
90  )
91 
92 ak5PFJetsCHSPruned = ak5PFJetsPruned.clone(
93  src = cms.InputTag("pfNoPileUpJME")
94  )
95 
96 ak5PFJetsCHSFiltered = ak5PFJetsFiltered.clone(
97  src = cms.InputTag("pfNoPileUpJME")
98  )
99 
100 ak5PFJetsCHSTrimmed = ak5PFJetsTrimmed.clone(
101  src = cms.InputTag("pfNoPileUpJME")
102  )
103 
104 ak5PFJetsCHSSoftDrop = ak5PFJetsSoftDrop.clone(
105  src = cms.InputTag("pfNoPileUpJME")
106  )
107 
108 
109 ak4PFJetsCHS = ak5PFJetsCHS.clone(
110  rParam = 0.4,
111  jetPtMin = 5.0
112  )
113 
114 ak8PFJetsCHS = ak5PFJetsCHS.clone(
115  rParam = 0.8,
116  jetPtMin = 50.0
117  )
118 
119 ak8PFJetsCHSPruned = ak5PFJetsCHSPruned.clone(
120  rParam = 0.8,
121  jetPtMin = 100.0
122  )
123 
124 ak8PFJetsCHSFiltered = ak5PFJetsCHSFiltered.clone(
125  rParam = 0.8,
126  jetPtMin = 15.0
127  )
128 
129 ak8PFJetsCHSTrimmed = ak5PFJetsCHSTrimmed.clone(
130  rParam = 0.8,
131  jetPtMin = 15.0
132  )
133 
134 ak8PFJetsCHSSoftDrop = ak5PFJetsCHSSoftDrop.clone(
135  rParam = 0.8,
136  jetPtMin = 100.0,
137  R0 = 0.8
138  )
139 
140 
141 ca8PFJetsCHS = ak8PFJetsCHS.clone(
142  jetAlgorithm = cms.string("CambridgeAachen")
143  )
144 
145 ca8PFJetsCHSPruned = ak8PFJetsCHSPruned.clone(
146  jetAlgorithm = cms.string("CambridgeAachen")
147  )
148 
149 ca8PFJetsCHSFiltered = ak8PFJetsCHSFiltered.clone(
150  jetAlgorithm = cms.string("CambridgeAachen")
151  )
152 
153 ca8PFJetsCHSTrimmed = ak8PFJetsCHSTrimmed.clone(
154  jetAlgorithm = cms.string("CambridgeAachen")
155  )
156 
157 
158 ca8PFJetsCHSSoftDrop = ak8PFJetsCHSSoftDrop.clone(
159  jetAlgorithm = cms.string("CambridgeAachen")
160  )
161 
162 
163 
164 # Higgs taggers
165 ca15PFJetsCHSMassDropFiltered = ak5PFJetsMassDropFiltered.clone(
166  jetAlgorithm = cms.string("CambridgeAachen"),
167  src = cms.InputTag("pfNoPileUpJME"),
168  rParam = 1.5,
169  jetPtMin=100.0
170  )
171 
172 ca15PFJetsCHSFiltered = ak5PFJetsFiltered.clone(
173  jetAlgorithm = cms.string("CambridgeAachen"),
174  src = cms.InputTag("pfNoPileUpJME"),
175  rParam = 1.5,
176  jetPtMin=100.0
177  )
178 
179 cmsTopTagPFJetsCHS.src = cms.InputTag("ak8PFJetsCHSConstituents", "constituents")
180 hepTopTagPFJetsCHS.src = cms.InputTag("ak8PFJetsCHSConstituents", "constituents")
181 
182 
183 
184 recoPFJets =cms.Sequence(fixedGridRhoAll+
185  fixedGridRhoFastjetAll+
186  fixedGridRhoFastjetCentralChargedPileUp+
187  fixedGridRhoFastjetCentralNeutral+
188  ak4PFJets+
189  pfNoPileUpJMESequence+
190  ak4PFJetsCHS+
191  ak8PFJetsCHS+
192  ak8PFJetsCHSConstituents+
193  ak8PFJetsCHSSoftDrop+
194  ak8PFJetsCHSSoftDropMass+
195  cmsTopTagPFJetsCHS
196  )
197 
198 recoAllPFJets=cms.Sequence(sisCone5PFJets+sisCone7PFJets+
199  iterativeCone5PFJets+
200  kt4PFJets+kt6PFJets+
201  kt6PFJetsCentralChargedPileUp+
202  kt6PFJetsCentralNeutral+
203  kt6PFJetsCentralNeutralTight+
204  fixedGridRhoAll+
205  fixedGridRhoFastjetAll+
206  fixedGridRhoFastjetCentralChargedPileUp+
207  fixedGridRhoFastjetCentralNeutral+
208  iterativeCone5PFJets+
209  ak4PFJets+
210  ak5PFJets+ak7PFJets+ak8PFJets+
211  gk5PFJets+gk7PFJets+
212  ca4PFJets+ca8PFJets+
213  pfNoPileUpJMESequence+
214  ak5PFJetsCHS+
215  ak5PFJetsCHSPruned+
216  ak5PFJetsCHSFiltered+
217  ak5PFJetsCHSTrimmed+
218  ak5PFJetsCHSSoftDrop+
219  ak4PFJetsCHS+
220  ak8PFJetsCHS+
221  ak8PFJetsCHSPruned+
222  ak8PFJetsCHSFiltered+
223  ak8PFJetsCHSTrimmed+
224  ak8PFJetsCHSSoftDrop+
225  ak8PFJetsCHSPrunedMass+
226  ak8PFJetsCHSTrimmedMass+
227  ak8PFJetsCHSSoftDropMass+
228  ak8PFJetsCHSFilteredMass+
229  ca8PFJetsCHS+
230  ca8PFJetsCHSPruned+
231  ca8PFJetsCHSFiltered+
232  ca8PFJetsCHSTrimmed+
233  ca8PFJetsCHSSoftDrop+
234  cmsTopTagPFJetsCHS+
235  hepTopTagPFJetsCHS+
236  ca15PFJetsCHSMassDropFiltered+
237  ca15PFJetsCHSFiltered+
238  ak8PFJetsCS+
239  ak8PFJetsCSConstituents+
240  ak8PFJetsCSPruned+
241  ak8PFJetsCSTrimmed+
242  ak8PFJetsCSFiltered
243  )
244 
245 
246 recoPFJetsWithSubstructure=cms.Sequence(
247  fixedGridRhoAll+
248  fixedGridRhoFastjetAll+
249  fixedGridRhoFastjetCentralChargedPileUp+
250  fixedGridRhoFastjetCentralNeutral+
251  ak4PFJets+
252  ak5PFJets+ak7PFJets+ak8PFJets+
253  ca4PFJets+ca8PFJets+
254  pfNoPileUpJMESequence+
255  ak5PFJetsCHS+
256  ak5PFJetsCHSPruned+
257  ak5PFJetsCHSFiltered+
258  ak5PFJetsCHSTrimmed+
259  ak5PFJetsCHSSoftDrop+
260  ak4PFJetsCHS+
261  ak8PFJetsCHS+
262  ak8PFJetsCHSPruned+
263  ak8PFJetsCHSFiltered+
264  ak8PFJetsCHSTrimmed+
265  ak8PFJetsCHSSoftDrop+
266  ak8PFJetsCHSConstituents+
267  ak8PFJetsCHSPrunedMass+
268  ak8PFJetsCHSTrimmedMass+
269  ak8PFJetsCHSSoftDropMass+
270  ak8PFJetsCHSFilteredMass+
271  ca8PFJetsCHS+
272  ca8PFJetsCHSPruned+
273  ca8PFJetsCHSFiltered+
274  ca8PFJetsCHSTrimmed+
275  ca8PFJetsCHSSoftDrop+
276  cmsTopTagPFJetsCHS+
277  hepTopTagPFJetsCHS+
278  ca15PFJetsCHSMassDropFiltered+
279  ca15PFJetsCHSFiltered+
280  ak8PFJetsCS+
281  ak8PFJetsCSConstituents+
282  ak8PFJetsCSPruned+
283  ak8PFJetsCSTrimmed+
284  ak8PFJetsCSFiltered+
285  puppi+
286  ak4PFJetsPuppi+
287  softKiller+
288  ak4PFJetsSK
289  )