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 ak8PFJetsCHSPrunedLinks, ak8PFJetsCHSFilteredLinks, ak8PFJetsCHSTrimmedLinks, ak8PFJetsCHSSoftDropLinks
20 from RecoJets.JetProducers.ca8PFJetsCHS_groomingValueMaps_cfi import ca8PFJetsCHSPrunedLinks, ca8PFJetsCHSFilteredLinks, ca8PFJetsCHSTrimmedLinks, ca8PFJetsCHSSoftDropLinks
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  )
112 
113 ak8PFJetsCHS = ak5PFJetsCHS.clone(
114  rParam = 0.8,
115  jetPtMin = 15.0
116  )
117 
118 ak8PFJetsCHSPruned = ak5PFJetsCHSPruned.clone(
119  rParam = 0.8,
120  jetPtMin = 15.0
121  )
122 
123 ak8PFJetsCHSFiltered = ak5PFJetsCHSFiltered.clone(
124  rParam = 0.8,
125  jetPtMin = 15.0
126  )
127 
128 ak8PFJetsCHSTrimmed = ak5PFJetsCHSTrimmed.clone(
129  rParam = 0.8,
130  jetPtMin = 15.0
131  )
132 
133 ak8PFJetsCHSSoftDrop = ak5PFJetsCHSSoftDrop.clone(
134  rParam = 0.8,
135  jetPtMin = 15.0
136  )
137 
138 
139 ca8PFJetsCHS = ak8PFJetsCHS.clone(
140  jetAlgorithm = cms.string("CambridgeAachen")
141  )
142 
143 ca8PFJetsCHSPruned = ak8PFJetsCHSPruned.clone(
144  jetAlgorithm = cms.string("CambridgeAachen")
145  )
146 
147 ca8PFJetsCHSFiltered = ak8PFJetsCHSFiltered.clone(
148  jetAlgorithm = cms.string("CambridgeAachen")
149  )
150 
151 ca8PFJetsCHSTrimmed = ak8PFJetsCHSTrimmed.clone(
152  jetAlgorithm = cms.string("CambridgeAachen")
153  )
154 
155 
156 ca8PFJetsCHSSoftDrop = ak8PFJetsCHSSoftDrop.clone(
157  jetAlgorithm = cms.string("CambridgeAachen")
158  )
159 
160 
161 
162 # Higgs taggers
163 ca15PFJetsCHSMassDropFiltered = ak5PFJetsMassDropFiltered.clone(
164  jetAlgorithm = cms.string("CambridgeAachen"),
165  src = cms.InputTag("pfNoPileUpJME"),
166  rParam = 1.5,
167  jetPtMin=100.0
168  )
169 
170 ca15PFJetsCHSFiltered = ak5PFJetsFiltered.clone(
171  jetAlgorithm = cms.string("CambridgeAachen"),
172  src = cms.InputTag("pfNoPileUpJME"),
173  rParam = 1.5,
174  jetPtMin=100.0
175  )
176 
177 cmsTopTagPFJetsCHS.src = cms.InputTag("ak8PFJetsCHSConstituents", "constituents")
178 hepTopTagPFJetsCHS.src = cms.InputTag("ak8PFJetsCHSConstituents", "constituents")
179 
180 
181 
182 recoPFJets =cms.Sequence(#kt4PFJets+kt6PFJets+
183  iterativeCone5PFJets+
184  #kt6PFJetsCentralChargedPileUp+
185  #kt6PFJetsCentralNeutral+
186  #kt6PFJetsCentralNeutralTight+
187  fixedGridRhoAll+
188  fixedGridRhoFastjetAll+
189  fixedGridRhoFastjetCentralChargedPileUp+
190  fixedGridRhoFastjetCentralNeutral+
191  ak4PFJets+ak5PFJets+ak8PFJets+
192  pfNoPileUpJMESequence+
193  ak5PFJetsCHS+
194  ak4PFJetsCHS+
195  ak8PFJetsCHS+
196  ca8PFJetsCHS+
197  ak8PFJetsCHSConstituents+
198  ca8PFJetsCHSPruned+
199  ca8PFJetsCHSPrunedLinks+
200  cmsTopTagPFJetsCHS+
201  #hepTopTagPFJetsCHS+
202  ca15PFJetsCHSMassDropFiltered+
203  ca15PFJetsCHSFiltered
204  )
205 
206 recoAllPFJets=cms.Sequence(sisCone5PFJets+sisCone7PFJets+
207  iterativeCone5PFJets+
208  kt4PFJets+kt6PFJets+
209  kt6PFJetsCentralChargedPileUp+
210  kt6PFJetsCentralNeutral+
211  kt6PFJetsCentralNeutralTight+
212  fixedGridRhoAll+
213  fixedGridRhoFastjetAll+
214  fixedGridRhoFastjetCentralChargedPileUp+
215  fixedGridRhoFastjetCentralNeutral+
216  iterativeCone5PFJets+
217  ak4PFJets+
218  ak5PFJets+ak7PFJets+ak8PFJets+
219  gk5PFJets+gk7PFJets+
220  ca4PFJets+ca8PFJets+
221  pfNoPileUpJMESequence+
222  ak5PFJetsCHS+
223  ak5PFJetsCHSPruned+
224  ak5PFJetsCHSFiltered+
225  ak5PFJetsCHSTrimmed+
226  ak5PFJetsCHSSoftDrop+
227  ak4PFJetsCHS+
228  ak8PFJetsCHS+
229  ak8PFJetsCHSPruned+
230  ak8PFJetsCHSFiltered+
231  ak8PFJetsCHSTrimmed+
232  ak8PFJetsCHSSoftDrop+
233  ca8PFJetsCHS+
234  ca8PFJetsCHSPruned+
235  ca8PFJetsCHSFiltered+
236  ca8PFJetsCHSTrimmed+
237  ca8PFJetsCHSSoftDrop+
238  ca8PFJetsCHSPrunedLinks+
239  ca8PFJetsCHSTrimmedLinks+
240  ca8PFJetsCHSSoftDropLinks+
241  ca8PFJetsCHSFilteredLinks+
242  cmsTopTagPFJetsCHS+
243  hepTopTagPFJetsCHS+
244  ca15PFJetsCHSMassDropFiltered+
245  ca15PFJetsCHSFiltered+
246  ak8PFJetsCS+
247  ak8PFJetsCSConstituents+
248  ak8PFJetsCSPruned+
249  ak8PFJetsCSTrimmed+
250  ak8PFJetsCSFiltered
251  )
252 
253 
254 recoPFJetsWithSubstructure=cms.Sequence(
255  fixedGridRhoAll+
256  fixedGridRhoFastjetAll+
257  fixedGridRhoFastjetCentralChargedPileUp+
258  fixedGridRhoFastjetCentralNeutral+
259  ak4PFJets+
260  ak5PFJets+ak7PFJets+ak8PFJets+
261  ca4PFJets+ca8PFJets+
262  pfNoPileUpJMESequence+
263  ak5PFJetsCHS+
264  ak5PFJetsCHSPruned+
265  ak5PFJetsCHSFiltered+
266  ak5PFJetsCHSTrimmed+
267  ak5PFJetsCHSSoftDrop+
268  ak4PFJetsCHS+
269  ak8PFJetsCHS+
270  ak8PFJetsCHSPruned+
271  ak8PFJetsCHSFiltered+
272  ak8PFJetsCHSTrimmed+
273  ak8PFJetsCHSSoftDrop+
274  ak8PFJetsCHSConstituents+
275  ca8PFJetsCHS+
276  ca8PFJetsCHSPruned+
277  ca8PFJetsCHSFiltered+
278  ca8PFJetsCHSTrimmed+
279  ca8PFJetsCHSSoftDrop+
280  ca8PFJetsCHSPrunedLinks+
281  ca8PFJetsCHSTrimmedLinks+
282  ca8PFJetsCHSSoftDropLinks+
283  ca8PFJetsCHSFilteredLinks+
284  cmsTopTagPFJetsCHS+
285  hepTopTagPFJetsCHS+
286  ca15PFJetsCHSMassDropFiltered+
287  ca15PFJetsCHSFiltered+
288  ak8PFJetsCS+
289  ak8PFJetsCSConstituents+
290  ak8PFJetsCSPruned+
291  ak8PFJetsCSTrimmed+
292  ak8PFJetsCSFiltered+
293  puppi+
294  ak4PFJetsPuppi+
295  softKiller+
296  ak4PFJetsSK
297  )