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