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
11 from RecoJets.JetProducers.gk5PFJets_cfi import gk5PFJets
12 from RecoJets.JetProducers.kt4PFJets_cfi import kt4PFJets
13 from RecoJets.JetProducers.ca4PFJets_cfi import ca4PFJets
14 from RecoJets.JetProducers.fixedGridRhoProducer_cfi import fixedGridRhoAll
15 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAll
17 from RecoJets.JetProducers.ak8PFJetsCHS_groomingValueMaps_cfi import ak8PFJetsCHSPrunedLinks, ak8PFJetsCHSFilteredLinks, ak8PFJetsCHSTrimmedLinks
18 from RecoJets.JetProducers.ca8PFJetsCHS_groomingValueMaps_cfi import ca8PFJetsCHSPrunedLinks, ca8PFJetsCHSFilteredLinks, ca8PFJetsCHSTrimmedLinks
19 
20 sisCone7PFJets = sisCone5PFJets.clone( rParam = 0.7 )
21 ak7PFJets = ak5PFJets.clone( rParam = 0.7 )
22 ak8PFJets = ak5PFJets.clone( rParam = 0.8 )
23 gk7PFJets = gk5PFJets.clone( rParam = 0.7 )
24 kt6PFJets = kt4PFJets.clone( rParam = 0.6 )
25 ca8PFJets = ca4PFJets.clone( rParam = 0.8 )
26 
27 #compute areas for Fastjet PU subtraction
28 kt6PFJets.doRhoFastjet = True
29 kt6PFJets.doAreaFastjet = True
30 #use active areas and not Voronoi tessellation for the moment
31 kt6PFJets.voronoiRfact = 0.9
32 ak4PFJets.doAreaFastjet = True
33 ak5PFJets.doAreaFastjet = True
34 ak5PFJetsTrimmed.doAreaFastjet = True
35 ak7PFJets.doAreaFastjet = True
36 ak8PFJets.doAreaFastjet = True
37 
38 
39 kt6PFJetsCentralChargedPileUp = kt6PFJets.clone(
40  src = cms.InputTag("pfPileUpAllChargedParticles"),
41  Ghost_EtaMax = cms.double(3.1),
42  Rho_EtaMax = cms.double(2.5)
43  )
44 
45 kt6PFJetsCentralNeutral = kt6PFJets.clone(
46  src = cms.InputTag("pfAllNeutralHadronsAndPhotons"),
47  Ghost_EtaMax = cms.double(3.1),
48  Rho_EtaMax = cms.double(2.5),
49  inputEtMin = cms.double(0.5)
50  )
51 
52 
53 kt6PFJetsCentralNeutralTight = kt6PFJetsCentralNeutral.clone(
54  inputEtMin = cms.double(1.0)
55  )
56 
57 
58 
59 fixedGridRhoFastjetCentralChargedPileUp = fixedGridRhoFastjetAll.clone(
60  src = cms.InputTag("pfPileUpAllChargedParticles"),
61  maxRapidity = cms.double(2.5)
62  )
63 
64 fixedGridRhoFastjetCentralNeutral = fixedGridRhoFastjetAll.clone(
65  src = cms.InputTag("pfAllNeutralHadronsAndPhotons"),
66  maxRapidity = cms.double(2.5)
67  )
68 
69 
70 
71 ak8PFJetsCHSConstituents = cms.EDFilter("PFJetConstituentSelector",
72  src = cms.InputTag("ak8PFJetsCHS"),
73  cut = cms.string("pt > 100.0 && abs(rapidity()) < 2.4")
74  )
75 
76 
77 # Advanced Algorithms for AK4, AK5, AK8 and CA8 :
78 # - CHS, ungroomed
79 # - CHS, pruned
80 # - CHS, filtered
81 # - CHS, trimmed
82 ak5PFJetsCHS = ak5PFJets.clone(
83  src = cms.InputTag("pfNoPileUpJME")
84  )
85 
86 ak5PFJetsCHSPruned = ak5PFJetsPruned.clone(
87  src = cms.InputTag("pfNoPileUpJME")
88  )
89 
90 ak5PFJetsCHSFiltered = ak5PFJetsFiltered.clone(
91  src = cms.InputTag("pfNoPileUpJME")
92  )
93 
94 ak5PFJetsCHSTrimmed = ak5PFJetsTrimmed.clone(
95  src = cms.InputTag("pfNoPileUpJME")
96  )
97 
98 ak4PFJetsCHS = ak5PFJetsCHS.clone(
99  rParam = 0.4
100  )
101 
102 ak8PFJetsCHS = ak5PFJetsCHS.clone(
103  rParam = 0.8,
104  jetPtMin = 15.0
105  )
106 
107 ak8PFJetsCHSPruned = ak5PFJetsCHSPruned.clone(
108  rParam = 0.8,
109  jetPtMin = 15.0
110  )
111 
112 ak8PFJetsCHSFiltered = ak5PFJetsCHSFiltered.clone(
113  rParam = 0.8,
114  jetPtMin = 15.0
115  )
116 
117 ak8PFJetsCHSTrimmed = ak5PFJetsCHSTrimmed.clone(
118  rParam = 0.8,
119  jetPtMin = 15.0
120  )
121 
122 ca8PFJetsCHS = ak8PFJetsCHS.clone(
123  jetAlgorithm = cms.string("CambridgeAachen")
124  )
125 
126 ca8PFJetsCHSPruned = ak8PFJetsCHSPruned.clone(
127  jetAlgorithm = cms.string("CambridgeAachen")
128  )
129 
130 ca8PFJetsCHSFiltered = ak8PFJetsCHSFiltered.clone(
131  jetAlgorithm = cms.string("CambridgeAachen")
132  )
133 
134 ca8PFJetsCHSTrimmed = ak8PFJetsCHSTrimmed.clone(
135  jetAlgorithm = cms.string("CambridgeAachen")
136  )
137 
138 
139 # Higgs taggers
140 ca15PFJetsCHSMassDropFiltered = ak5PFJetsMassDropFiltered.clone(
141  jetAlgorithm = cms.string("CambridgeAachen"),
142  src = cms.InputTag("pfNoPileUpJME"),
143  rParam = 1.5,
144  jetPtMin=100.0
145  )
146 
147 ca15PFJetsCHSFiltered = ak5PFJetsFiltered.clone(
148  jetAlgorithm = cms.string("CambridgeAachen"),
149  src = cms.InputTag("pfNoPileUpJME"),
150  rParam = 1.5,
151  jetPtMin=100.0
152  )
153 
154 cmsTopTagPFJetsCHS.src = cms.InputTag("ak8PFJetsCHSConstituents", "constituents")
155 hepTopTagPFJetsCHS.src = cms.InputTag("ak8PFJetsCHSConstituents", "constituents")
156 
157 
158 
159 recoPFJets =cms.Sequence(#kt4PFJets+kt6PFJets+
160  iterativeCone5PFJets+
161  #kt6PFJetsCentralChargedPileUp+
162  #kt6PFJetsCentralNeutral+
163  #kt6PFJetsCentralNeutralTight+
164  fixedGridRhoAll+
165  fixedGridRhoFastjetAll+
166  fixedGridRhoFastjetCentralChargedPileUp+
167  fixedGridRhoFastjetCentralNeutral+
168  ak4PFJets+ak5PFJets+ak8PFJets+
169  pfNoPileUpJMESequence+
170  ak5PFJetsCHS+
171  ak4PFJetsCHS+
172  ak8PFJetsCHS+
173  ca8PFJetsCHS+
174  ak8PFJetsCHSConstituents+
175  ca8PFJetsCHSPruned+
176  ca8PFJetsCHSPrunedLinks+
177  cmsTopTagPFJetsCHS+
178  hepTopTagPFJetsCHS+
179  ca15PFJetsCHSMassDropFiltered+
180  ca15PFJetsCHSFiltered
181  )
182 
183 recoAllPFJets=cms.Sequence(sisCone5PFJets+sisCone7PFJets+
184  iterativeCone5PFJets+
185  kt4PFJets+kt6PFJets+
186  kt6PFJetsCentralChargedPileUp+
187  kt6PFJetsCentralNeutral+
188  kt6PFJetsCentralNeutralTight+
189  fixedGridRhoAll+
190  fixedGridRhoFastjetAll+
191  fixedGridRhoFastjetCentralChargedPileUp+
192  fixedGridRhoFastjetCentralNeutral+
193  iterativeCone5PFJets+
194  ak4PFJets+
195  ak5PFJets+ak7PFJets+ak8PFJets+
196  gk5PFJets+gk7PFJets+
197  ca4PFJets+ca8PFJets+
198  pfNoPileUpJMESequence+
199  ak5PFJetsCHS+
200  ak5PFJetsCHSPruned+
201  ak5PFJetsCHSFiltered+
202  ak5PFJetsCHSTrimmed+
203  ak4PFJetsCHS+
204  ak8PFJetsCHS+
205  ak8PFJetsCHSPruned+
206  ak8PFJetsCHSFiltered+
207  ak8PFJetsCHSTrimmed+
208  ca8PFJetsCHS+
209  ca8PFJetsCHSPruned+
210  ca8PFJetsCHSFiltered+
211  ca8PFJetsCHSTrimmed+
212  ca8PFJetsCHSPrunedLinks+
213  ca8PFJetsCHSTrimmedLinks+
214  ca8PFJetsCHSFilteredLinks+
215  cmsTopTagPFJetsCHS+
216  hepTopTagPFJetsCHS+
217  ca15PFJetsCHSMassDropFiltered+
218  ca15PFJetsCHSFiltered
219  )