CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetValidationHeavyIons_cff.py
Go to the documentation of this file.
2 
3 ### genjet cleaning for improved matching in HI environment
4 
6 
7 iterativeCone5HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('iterativeCone5HiGenJets'))
8 iterativeCone7HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('iterativeCone7HiGenJets'))
9 ak3HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak3HiGenJets'))
10 ak5HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak5HiGenJets'))
11 ak7HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak7HiGenJets'))
12 
13 ### jet analyzer for several radii
14 ### iterative cone with PU, anti-kt with PU, anti-kt with fastjet PU, anti-kt with Vs
15 
16 JetAnalyzerICPU5Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
17  src = cms.InputTag("iterativeConePu5CaloJets"),
18  srcGen = cms.InputTag("iterativeCone5HiCleanedGenJets"),
19  srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
20  genEnergyFractionThreshold = cms.double(0.05),
21  genPtThreshold = cms.double(1.0),
22  RThreshold = cms.double(0.3),
23  reverseEnergyFractionThreshold = cms.double(0.5)
24 )
25 
26 JetAnalyzerICPU7Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
27  src = cms.InputTag("iterativeConePu7CaloJets"),
28  srcGen = cms.InputTag("iterativeCone7HiCleanedGenJets"),
29  srcRho = cms.InputTag("iterativeConePu7CaloJets","rho"),
30  genEnergyFractionThreshold = cms.double(0.05),
31  genPtThreshold = cms.double(1.0),
32  RThreshold = cms.double(0.3),
33  reverseEnergyFractionThreshold = cms.double(0.5)
34 )
35 
36 JetAnalyzerAkPU5Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
37  src = cms.InputTag("akPu5CaloJets"),
38  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
39  srcRho = cms.InputTag("akPu5CaloJets","rho"),
40  genEnergyFractionThreshold = cms.double(0.05),
41  genPtThreshold = cms.double(1.0),
42  RThreshold = cms.double(0.3),
43  reverseEnergyFractionThreshold = cms.double(0.5)
44 )
45 
46 JetAnalyzerAkPU3Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
47  src = cms.InputTag("akPu3CaloJets"),
48  srcGen = cms.InputTag("ak3HiCleanedGenJets"),
49  srcRho = cms.InputTag("akPu3CaloJets","rho"),
50  genEnergyFractionThreshold = cms.double(0.05),
51  genPtThreshold = cms.double(1.0),
52  RThreshold = cms.double(0.3),
53  reverseEnergyFractionThreshold = cms.double(0.5)
54 )
55 
56 JetAnalyzerAkPU5PF = cms.EDAnalyzer("PFJetTesterUnCorr",
57  src = cms.InputTag("akPu5PFJets"),
58  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
59  srcRho = cms.InputTag("akPu5PFJets","rho"),
60  genEnergyFractionThreshold = cms.double(0.05),
61  genPtThreshold = cms.double(1.0),
62  RThreshold = cms.double(0.3),
63  reverseEnergyFractionThreshold = cms.double(0.5)
64  )
65 
66 JetAnalyzerAkPU3PF = cms.EDAnalyzer("PFJetTesterUnCorr",
67  src = cms.InputTag("akPu3PFJets"),
68  srcGen = cms.InputTag("ak3HiCleanedGenJets"),
69  srcRho = cms.InputTag("akPu3PFJets","rho"),
70  genEnergyFractionThreshold = cms.double(0.05),
71  genPtThreshold = cms.double(1.0),
72  RThreshold = cms.double(0.3),
73  reverseEnergyFractionThreshold = cms.double(0.5)
74  )
75 
76 
77 JetAnalyzerAkVs2Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
78  src = cms.InputTag("akVs2CaloJets"),
79  srcGen = cms.InputTag("ak2HiCleanedGenJets"),
80  srcRho = cms.InputTag("akVs2CaloJets","rho"),
81  genEnergyFractionThreshold = cms.double(0.05),
82  genPtThreshold = cms.double(1.0),
83  RThreshold = cms.double(0.3),
84  reverseEnergyFractionThreshold = cms.double(0.5)
85 )
86 
87 JetAnalyzerAkVs3Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
88  src = cms.InputTag("akVs3CaloJets"),
89  srcGen = cms.InputTag("ak3HiCleanedGenJets"),
90  srcRho = cms.InputTag("akVs3CaloJets","rho"),
91  genEnergyFractionThreshold = cms.double(0.05),
92  genPtThreshold = cms.double(1.0),
93  RThreshold = cms.double(0.3),
94  reverseEnergyFractionThreshold = cms.double(0.5)
95 )
96 
97 JetAnalyzerAkVs4Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
98  src = cms.InputTag("akVs4CaloJets"),
99  srcGen = cms.InputTag("ak4HiCleanedGenJets"),
100  srcRho = cms.InputTag("akVs4CaloJets","rho"),
101  genEnergyFractionThreshold = cms.double(0.05),
102  genPtThreshold = cms.double(1.0),
103  RThreshold = cms.double(0.3),
104  reverseEnergyFractionThreshold = cms.double(0.5)
105 )
106 
107 JetAnalyzerAkVs5Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
108  src = cms.InputTag("akVs5CaloJets"),
109  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
110  srcRho = cms.InputTag("akVs5CaloJets","rho"),
111  genEnergyFractionThreshold = cms.double(0.05),
112  genPtThreshold = cms.double(1.0),
113  RThreshold = cms.double(0.3),
114  reverseEnergyFractionThreshold = cms.double(0.5)
115 )
116 
117 JetAnalyzerAkVs6Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
118  src = cms.InputTag("akVs6CaloJets"),
119  srcGen = cms.InputTag("ak6HiCleanedGenJets"),
120  srcRho = cms.InputTag("akVs6CaloJets","rho"),
121  genEnergyFractionThreshold = cms.double(0.05),
122  genPtThreshold = cms.double(1.0),
123  RThreshold = cms.double(0.3),
124  reverseEnergyFractionThreshold = cms.double(0.5)
125 )
126 
127 
128 JetAnalyzerAkVs7Calo = cms.EDAnalyzer("CaloJetTesterUnCorr_HeavyIons",
129  src = cms.InputTag("akVs7CaloJets"),
130  srcGen = cms.InputTag("ak7HiCleanedGenJets"),
131  srcRho = cms.InputTag("akVs7CaloJets","rho"),
132  genEnergyFractionThreshold = cms.double(0.05),
133  genPtThreshold = cms.double(1.0),
134  RThreshold = cms.double(0.3),
135  reverseEnergyFractionThreshold = cms.double(0.5)
136 )
137 
138 JetAnalyzerAkVs2PF = cms.EDAnalyzer("PFJetTesterUnCorr",
139  src = cms.InputTag("akVs2PFJets"),
140  srcGen = cms.InputTag("ak2HiCleanedGenJets"),
141  srcRho = cms.InputTag("akVs2PFJets","rho"),
142  genEnergyFractionThreshold = cms.double(0.05),
143  genPtThreshold = cms.double(1.0),
144  RThreshold = cms.double(0.3),
145  reverseEnergyFractionThreshold = cms.double(0.5)
146 )
147 
148 JetAnalyzerAkVs3PF = cms.EDAnalyzer("PFJetTesterUnCorr",
149  src = cms.InputTag("akVs3PFJets"),
150  srcGen = cms.InputTag("ak3HiCleanedGenJets"),
151  srcRho = cms.InputTag("akVs3PFJets","rho"),
152  genEnergyFractionThreshold = cms.double(0.05),
153  genPtThreshold = cms.double(1.0),
154  RThreshold = cms.double(0.3),
155  reverseEnergyFractionThreshold = cms.double(0.5)
156 )
157 
158 JetAnalyzerAkVs4PF = cms.EDAnalyzer("PFJetTesterUnCorr",
159  src = cms.InputTag("akVs4PFJets"),
160  srcGen = cms.InputTag("ak4HiCleanedGenJets"),
161  srcRho = cms.InputTag("akVs4PFJets","rho"),
162  genEnergyFractionThreshold = cms.double(0.05),
163  genPtThreshold = cms.double(1.0),
164  RThreshold = cms.double(0.3),
165  reverseEnergyFractionThreshold = cms.double(0.5)
166 )
167 
168 JetAnalyzerAkVs5PF = cms.EDAnalyzer("PFJetTesterUnCorr",
169  src = cms.InputTag("akVs5PFJets"),
170  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
171  srcRho = cms.InputTag("akVs5PFJets","rho"),
172  genEnergyFractionThreshold = cms.double(0.05),
173  genPtThreshold = cms.double(1.0),
174  RThreshold = cms.double(0.3),
175  reverseEnergyFractionThreshold = cms.double(0.5)
176 )
177 
178 JetAnalyzerAkVs6PF = cms.EDAnalyzer("PFJetTesterUnCorr",
179  src = cms.InputTag("akVs6PFJets"),
180  srcGen = cms.InputTag("ak6HiCleanedGenJets"),
181  srcRho = cms.InputTag("akVs6PFJets","rho"),
182  genEnergyFractionThreshold = cms.double(0.05),
183  genPtThreshold = cms.double(1.0),
184  RThreshold = cms.double(0.3),
185  reverseEnergyFractionThreshold = cms.double(0.5)
186 )
187 
188 JetAnalyzerAkVs7PF = cms.EDAnalyzer("PFJetTesterUnCorr",
189  src = cms.InputTag("akVs7PFJets"),
190  srcGen = cms.InputTag("ak7HiCleanedGenJets"),
191  srcRho = cms.InputTag("akVs7PFJets","rho"),
192  genEnergyFractionThreshold = cms.double(0.05),
193  genPtThreshold = cms.double(1.0),
194  RThreshold = cms.double(0.3),
195  reverseEnergyFractionThreshold = cms.double(0.5)
196 )
197 
198 hiJetValidation = cms.Sequence(
199  ak3HiCleanedGenJets
200  #* ak5HiCleanedGenJets
201  #* ak7HiCleanedGenJets
202  * JetAnalyzerICPU5Calo
203  #* JetAnalyzerICPU7Calo
204  * JetAnalyzerAkPU3Calo
205  #* JetAnalyzerAkPU5Calo
206  * JetAnalyzerAkPU3PF
207  #* JetAnalyzerAkPU5PF
208 
209  #* JetAnalyzerAkVs2Calo
210  * JetAnalyzerAkVs3Calo
211  #* JetAnalyzerAkVs4Calo
212  #* JetAnalyzerAkVs5Calo
213  #* JetAnalyzerAkVs6Calo
214  #* JetAnalyzerAkVs7Calo
215 
216  #* JetAnalyzerAkVs2PF
217  * JetAnalyzerAkVs3PF
218  #* JetAnalyzerAkVs4PF
219  #* JetAnalyzerAkVs5PF
220  #* JetAnalyzerAkVs6PF
221  #* JetAnalyzerAkVs7PF
222 
223  )