1 | #######################################
|
---|
2 | # Order of execution of various modules
|
---|
3 | #######################################
|
---|
4 |
|
---|
5 | set ExecutionPath {
|
---|
6 | ParticlePropagator
|
---|
7 |
|
---|
8 | ChargedHadronTrackingEfficiency
|
---|
9 | ElectronTrackingEfficiency
|
---|
10 | MuonTrackingEfficiency
|
---|
11 |
|
---|
12 | ChargedHadronMomentumSmearing
|
---|
13 | ElectronMomentumSmearing
|
---|
14 | MuonMomentumSmearing
|
---|
15 |
|
---|
16 | TrackMerger
|
---|
17 |
|
---|
18 | ECal
|
---|
19 | HCal
|
---|
20 |
|
---|
21 | Calorimeter
|
---|
22 | EFlowMerger
|
---|
23 |
|
---|
24 | PhotonEfficiency
|
---|
25 | PhotonIsolation
|
---|
26 |
|
---|
27 | ElectronFilter
|
---|
28 | ElectronEfficiency
|
---|
29 | ElectronIsolation
|
---|
30 |
|
---|
31 | MuonEfficiency
|
---|
32 | MuonIsolation
|
---|
33 |
|
---|
34 | MissingET
|
---|
35 |
|
---|
36 | NeutrinoFilter
|
---|
37 | GenJetFinder
|
---|
38 | GenMissingET
|
---|
39 |
|
---|
40 | FastJetFinder
|
---|
41 |
|
---|
42 | JetEnergyScale
|
---|
43 |
|
---|
44 | JetFlavorAssociation
|
---|
45 |
|
---|
46 | BTagging
|
---|
47 | TauTagging
|
---|
48 |
|
---|
49 | UniqueObjectFinder
|
---|
50 |
|
---|
51 | ScalarHT
|
---|
52 |
|
---|
53 | TreeWriter
|
---|
54 | }
|
---|
55 |
|
---|
56 | #################################
|
---|
57 | # Propagate particles in cylinder
|
---|
58 | #################################
|
---|
59 |
|
---|
60 | module ParticlePropagator ParticlePropagator {
|
---|
61 | set InputArray Delphes/stableParticles
|
---|
62 |
|
---|
63 | set OutputArray stableParticles
|
---|
64 | set ChargedHadronOutputArray chargedHadrons
|
---|
65 | set ElectronOutputArray electrons
|
---|
66 | set MuonOutputArray muons
|
---|
67 |
|
---|
68 | # radius of the magnetic field coverage, in m
|
---|
69 | set Radius 1.15
|
---|
70 | # half-length of the magnetic field coverage, in m
|
---|
71 | set HalfLength 3.51
|
---|
72 |
|
---|
73 | # magnetic field
|
---|
74 | set Bz 2.0
|
---|
75 | }
|
---|
76 |
|
---|
77 | ####################################
|
---|
78 | # Charged hadron tracking efficiency
|
---|
79 | ####################################
|
---|
80 |
|
---|
81 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
82 | set InputArray ParticlePropagator/chargedHadrons
|
---|
83 | set OutputArray chargedHadrons
|
---|
84 |
|
---|
85 | # add EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
86 |
|
---|
87 | # tracking efficiency formula for charged hadrons
|
---|
88 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
89 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
90 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) +
|
---|
91 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) +
|
---|
92 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) +
|
---|
93 | (abs(eta) > 2.5) * (0.00)}
|
---|
94 | }
|
---|
95 |
|
---|
96 | ##############################
|
---|
97 | # Electron tracking efficiency
|
---|
98 | ##############################
|
---|
99 |
|
---|
100 | module Efficiency ElectronTrackingEfficiency {
|
---|
101 | set InputArray ParticlePropagator/electrons
|
---|
102 | set OutputArray electrons
|
---|
103 |
|
---|
104 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
105 |
|
---|
106 | # tracking efficiency formula for electrons
|
---|
107 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
108 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) +
|
---|
109 | (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) +
|
---|
110 | (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) +
|
---|
111 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) +
|
---|
112 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) +
|
---|
113 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) +
|
---|
114 | (abs(eta) > 2.5) * (0.00)}
|
---|
115 | }
|
---|
116 |
|
---|
117 | ##########################
|
---|
118 | # Muon tracking efficiency
|
---|
119 | ##########################
|
---|
120 |
|
---|
121 | module Efficiency MuonTrackingEfficiency {
|
---|
122 | set InputArray ParticlePropagator/muons
|
---|
123 | set OutputArray muons
|
---|
124 |
|
---|
125 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
126 |
|
---|
127 | # tracking efficiency formula for muons
|
---|
128 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
129 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) +
|
---|
130 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) +
|
---|
131 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
132 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) +
|
---|
133 | (abs(eta) > 2.5) * (0.00)}
|
---|
134 | }
|
---|
135 |
|
---|
136 | ########################################
|
---|
137 | # Momentum resolution for charged tracks
|
---|
138 | ########################################
|
---|
139 |
|
---|
140 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
141 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
142 | set OutputArray chargedHadrons
|
---|
143 |
|
---|
144 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
145 |
|
---|
146 | # resolution formula for charged hadrons
|
---|
147 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.06^2 + pt^2*1.3e-3^2) +
|
---|
148 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.10^2 + pt^2*1.7e-3^2) +
|
---|
149 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.25^2 + pt^2*3.1e-3^2)}
|
---|
150 | }
|
---|
151 |
|
---|
152 | ###################################
|
---|
153 | # Momentum resolution for electrons
|
---|
154 | ###################################
|
---|
155 |
|
---|
156 | module MomentumSmearing ElectronMomentumSmearing {
|
---|
157 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
158 | set OutputArray electrons
|
---|
159 |
|
---|
160 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
161 |
|
---|
162 | # resolution formula for electrons
|
---|
163 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.03^2 + pt^2*1.3e-3^2) +
|
---|
164 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.05^2 + pt^2*1.7e-3^2) +
|
---|
165 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.15^2 + pt^2*3.1e-3^2)}
|
---|
166 | }
|
---|
167 |
|
---|
168 | ###############################
|
---|
169 | # Momentum resolution for muons
|
---|
170 | ###############################
|
---|
171 |
|
---|
172 | module MomentumSmearing MuonMomentumSmearing {
|
---|
173 | set InputArray MuonTrackingEfficiency/muons
|
---|
174 | set OutputArray muons
|
---|
175 |
|
---|
176 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
177 | # resolution formula for muons
|
---|
178 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.0e-4^2) +
|
---|
179 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*1.5e-4^2) +
|
---|
180 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*3.5e-4^2)}
|
---|
181 | }
|
---|
182 |
|
---|
183 | ##############
|
---|
184 | # Track merger
|
---|
185 | ##############
|
---|
186 |
|
---|
187 | module Merger TrackMerger {
|
---|
188 | # add InputArray InputArray
|
---|
189 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
190 | add InputArray ElectronMomentumSmearing/electrons
|
---|
191 | add InputArray MuonMomentumSmearing/muons
|
---|
192 | set OutputArray tracks
|
---|
193 | }
|
---|
194 |
|
---|
195 |
|
---|
196 | #############
|
---|
197 | # ECAL
|
---|
198 | #############
|
---|
199 |
|
---|
200 | module SimpleCalorimeter ECal {
|
---|
201 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
202 | set TrackInputArray TrackMerger/tracks
|
---|
203 |
|
---|
204 | set TowerOutputArray ecalTowers
|
---|
205 | set EFlowTrackOutputArray eflowTracks
|
---|
206 | set EFlowTowerOutputArray eflowPhotons
|
---|
207 |
|
---|
208 | set IsEcal true
|
---|
209 |
|
---|
210 | set EnergyMin 0.5
|
---|
211 | set EnergySignificanceMin 2.0
|
---|
212 |
|
---|
213 | set SmearTowerCenter true
|
---|
214 |
|
---|
215 | set pi [expr {acos(-1)}]
|
---|
216 |
|
---|
217 | # lists of the edges of each tower in eta and phi
|
---|
218 | # each list starts with the lower edge of the first tower
|
---|
219 | # the list ends with the higher edged of the last tower
|
---|
220 |
|
---|
221 | # assume 0.02 x 0.02 resolution in eta,phi in the barrel |eta| < 1.5
|
---|
222 |
|
---|
223 | set PhiBins {}
|
---|
224 | for {set i -180} {$i <= 180} {incr i} {
|
---|
225 | add PhiBins [expr {$i * $pi/180.0}]
|
---|
226 | }
|
---|
227 |
|
---|
228 | # 0.02 unit in eta up to eta = 1.5 (barrel)
|
---|
229 | for {set i -85} {$i <= 86} {incr i} {
|
---|
230 | set eta [expr {$i * 0.0174}]
|
---|
231 | add EtaPhiBins $eta $PhiBins
|
---|
232 | }
|
---|
233 |
|
---|
234 | # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0
|
---|
235 | set PhiBins {}
|
---|
236 | for {set i -180} {$i <= 180} {incr i} {
|
---|
237 | add PhiBins [expr {$i * $pi/180.0}]
|
---|
238 | }
|
---|
239 |
|
---|
240 | # 0.02 unit in eta up to eta = 3
|
---|
241 | for {set i 1} {$i <= 84} {incr i} {
|
---|
242 | set eta [expr { -2.958 + $i * 0.0174}]
|
---|
243 | add EtaPhiBins $eta $PhiBins
|
---|
244 | }
|
---|
245 |
|
---|
246 | for {set i 1} {$i <= 84} {incr i} {
|
---|
247 | set eta [expr { 1.4964 + $i * 0.0174}]
|
---|
248 | add EtaPhiBins $eta $PhiBins
|
---|
249 | }
|
---|
250 |
|
---|
251 | # take present CMS granularity for HF
|
---|
252 |
|
---|
253 | # 0.175 x (0.175 - 0.35) resolution in eta,phi in the HF 3.0 < |eta| < 5.0
|
---|
254 | set PhiBins {}
|
---|
255 | for {set i -18} {$i <= 18} {incr i} {
|
---|
256 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
257 | }
|
---|
258 |
|
---|
259 | foreach eta {-5 -4.7 -4.525 -4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.958 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525 4.7 5} {
|
---|
260 | add EtaPhiBins $eta $PhiBins
|
---|
261 | }
|
---|
262 |
|
---|
263 |
|
---|
264 | add EnergyFraction {0} {0.0}
|
---|
265 | # energy fractions for e, gamma and pi0
|
---|
266 | add EnergyFraction {11} {1.0}
|
---|
267 | add EnergyFraction {22} {1.0}
|
---|
268 | add EnergyFraction {111} {1.0}
|
---|
269 | # energy fractions for muon, neutrinos and neutralinos
|
---|
270 | add EnergyFraction {12} {0.0}
|
---|
271 | add EnergyFraction {13} {0.0}
|
---|
272 | add EnergyFraction {14} {0.0}
|
---|
273 | add EnergyFraction {16} {0.0}
|
---|
274 | add EnergyFraction {1000022} {0.0}
|
---|
275 | add EnergyFraction {1000023} {0.0}
|
---|
276 | add EnergyFraction {1000025} {0.0}
|
---|
277 | add EnergyFraction {1000035} {0.0}
|
---|
278 | add EnergyFraction {1000045} {0.0}
|
---|
279 | # energy fractions for K0short and Lambda
|
---|
280 | add EnergyFraction {310} {0.3}
|
---|
281 | add EnergyFraction {3122} {0.3}
|
---|
282 |
|
---|
283 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
284 |
|
---|
285 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
286 | # http://arxiv.org/pdf/physics/0608012v1 jinst8_08_s08003
|
---|
287 | # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
|
---|
288 | # http://www.physics.utoronto.ca/~krieger/procs/ComoProceedings.pdf
|
---|
289 | set ResolutionFormula { (abs(eta) <= 3.2) * sqrt(energy^2*0.0017^2 + energy*0.101^2) +
|
---|
290 | (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.0350^2 + energy*0.285^2)}
|
---|
291 |
|
---|
292 |
|
---|
293 | }
|
---|
294 |
|
---|
295 |
|
---|
296 |
|
---|
297 | #############
|
---|
298 | # HCAL
|
---|
299 | #############
|
---|
300 |
|
---|
301 | module SimpleCalorimeter HCal {
|
---|
302 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
303 | set TrackInputArray ECal/eflowTracks
|
---|
304 |
|
---|
305 | set TowerOutputArray hcalTowers
|
---|
306 | set EFlowTrackOutputArray eflowTracks
|
---|
307 | set EFlowTowerOutputArray eflowNeutralHadrons
|
---|
308 |
|
---|
309 | set IsEcal false
|
---|
310 |
|
---|
311 | set EnergyMin 1.0
|
---|
312 | set EnergySignificanceMin 2.0
|
---|
313 |
|
---|
314 | set SmearTowerCenter true
|
---|
315 |
|
---|
316 | set pi [expr {acos(-1)}]
|
---|
317 |
|
---|
318 | # lists of the edges of each tower in eta and phi
|
---|
319 | # each list starts with the lower edge of the first tower
|
---|
320 | # the list ends with the higher edged of the last tower
|
---|
321 |
|
---|
322 | # 10 degrees towers
|
---|
323 | set PhiBins {}
|
---|
324 | for {set i -18} {$i <= 18} {incr i} {
|
---|
325 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
326 | }
|
---|
327 | foreach eta {-3.2 -2.5 -2.4 -2.3 -2.2 -2.1 -2 -1.9 -1.8 -1.7 -1.6 -1.5 -1.4 -1.3 -1.2 -1.1 -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 3.3} {
|
---|
328 | add EtaPhiBins $eta $PhiBins
|
---|
329 | }
|
---|
330 |
|
---|
331 | # 20 degrees towers
|
---|
332 | set PhiBins {}
|
---|
333 | for {set i -9} {$i <= 9} {incr i} {
|
---|
334 | add PhiBins [expr {$i * $pi/9.0}]
|
---|
335 | }
|
---|
336 | foreach eta {-4.9 -4.7 -4.5 -4.3 -4.1 -3.9 -3.7 -3.5 -3.3 -3 -2.8 -2.6 2.8 3 3.2 3.5 3.7 3.9 4.1 4.3 4.5 4.7 4.9} {
|
---|
337 | add EtaPhiBins $eta $PhiBins
|
---|
338 | }
|
---|
339 |
|
---|
340 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
341 | add EnergyFraction {0} {1.0}
|
---|
342 | # energy fractions for e, gamma and pi0
|
---|
343 | add EnergyFraction {11} {0.0}
|
---|
344 | add EnergyFraction {22} {0.0}
|
---|
345 | add EnergyFraction {111} {0.0}
|
---|
346 | # energy fractions for muon, neutrinos and neutralinos
|
---|
347 | add EnergyFraction {12} {0.0}
|
---|
348 | add EnergyFraction {13} {0.0}
|
---|
349 | add EnergyFraction {14} {0.0}
|
---|
350 | add EnergyFraction {16} {0.0}
|
---|
351 | add EnergyFraction {1000022} {0.0}
|
---|
352 | add EnergyFraction {1000023} {0.0}
|
---|
353 | add EnergyFraction {1000025} {0.0}
|
---|
354 | add EnergyFraction {1000035} {0.0}
|
---|
355 | add EnergyFraction {1000045} {0.0}
|
---|
356 | # energy fractions for K0short and Lambda
|
---|
357 | add EnergyFraction {310} {0.7}
|
---|
358 | add EnergyFraction {3122} {0.7}
|
---|
359 |
|
---|
360 | # http://arxiv.org/pdf/hep-ex/0004009v1
|
---|
361 | # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
|
---|
362 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
363 | set ResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.0302^2 + energy*0.5205^2 + 1.59^2) +
|
---|
364 | (abs(eta) > 1.7 && abs(eta) <= 3.2) * sqrt(energy^2*0.0500^2 + energy*0.706^2) +
|
---|
365 | (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.09420^2 + energy*1.00^2)}
|
---|
366 | }
|
---|
367 |
|
---|
368 |
|
---|
369 | #################
|
---|
370 | # Electron filter
|
---|
371 | #################
|
---|
372 |
|
---|
373 | module PdgCodeFilter ElectronFilter {
|
---|
374 | set InputArray HCal/eflowTracks
|
---|
375 | set OutputArray electrons
|
---|
376 | set Invert true
|
---|
377 | add PdgCode {11}
|
---|
378 | add PdgCode {-11}
|
---|
379 | }
|
---|
380 |
|
---|
381 |
|
---|
382 | ###################################################
|
---|
383 | # Tower Merger (in case not using e-flow algorithm)
|
---|
384 | ###################################################
|
---|
385 |
|
---|
386 | module Merger Calorimeter {
|
---|
387 | # add InputArray InputArray
|
---|
388 | add InputArray ECal/ecalTowers
|
---|
389 | add InputArray HCal/hcalTowers
|
---|
390 | set OutputArray towers
|
---|
391 | }
|
---|
392 |
|
---|
393 |
|
---|
394 |
|
---|
395 | ####################
|
---|
396 | # Energy flow merger
|
---|
397 | ####################
|
---|
398 |
|
---|
399 | module Merger EFlowMerger {
|
---|
400 | # add InputArray InputArray
|
---|
401 | add InputArray HCal/eflowTracks
|
---|
402 | add InputArray ECal/eflowPhotons
|
---|
403 | add InputArray HCal/eflowNeutralHadrons
|
---|
404 | set OutputArray eflow
|
---|
405 | }
|
---|
406 |
|
---|
407 | ###################
|
---|
408 | # Photon efficiency
|
---|
409 | ###################
|
---|
410 |
|
---|
411 | module Efficiency PhotonEfficiency {
|
---|
412 | set InputArray ECal/eflowPhotons
|
---|
413 | set OutputArray photons
|
---|
414 |
|
---|
415 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
416 |
|
---|
417 | # efficiency formula for photons
|
---|
418 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
419 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
420 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
421 | (abs(eta) > 2.5) * (0.00)}
|
---|
422 | }
|
---|
423 |
|
---|
424 | ##################
|
---|
425 | # Photon isolation
|
---|
426 | ##################
|
---|
427 |
|
---|
428 | module Isolation PhotonIsolation {
|
---|
429 | set CandidateInputArray PhotonEfficiency/photons
|
---|
430 | set IsolationInputArray EFlowMerger/eflow
|
---|
431 |
|
---|
432 | set OutputArray photons
|
---|
433 |
|
---|
434 | set DeltaRMax 0.5
|
---|
435 |
|
---|
436 | set PTMin 0.5
|
---|
437 |
|
---|
438 | set PTRatioMax 0.12
|
---|
439 | }
|
---|
440 |
|
---|
441 | #################
|
---|
442 | # Electron filter
|
---|
443 | #################
|
---|
444 |
|
---|
445 | module PdgCodeFilter ElectronFilter {
|
---|
446 | set InputArray HCal/eflowTracks
|
---|
447 | set OutputArray electrons
|
---|
448 | set Invert true
|
---|
449 | add PdgCode {11}
|
---|
450 | add PdgCode {-11}
|
---|
451 | }
|
---|
452 |
|
---|
453 | #####################
|
---|
454 | # Electron efficiency
|
---|
455 | #####################
|
---|
456 |
|
---|
457 | module Efficiency ElectronEfficiency {
|
---|
458 | set InputArray ElectronFilter/electrons
|
---|
459 | set OutputArray electrons
|
---|
460 |
|
---|
461 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
462 |
|
---|
463 | # efficiency formula for electrons
|
---|
464 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
465 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
466 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
467 | (abs(eta) > 2.5) * (0.00)}
|
---|
468 | }
|
---|
469 |
|
---|
470 | ####################
|
---|
471 | # Electron isolation
|
---|
472 | ####################
|
---|
473 |
|
---|
474 | module Isolation ElectronIsolation {
|
---|
475 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
476 | set IsolationInputArray EFlowMerger/eflow
|
---|
477 |
|
---|
478 | set OutputArray electrons
|
---|
479 |
|
---|
480 | set DeltaRMax 0.5
|
---|
481 |
|
---|
482 | set PTMin 0.5
|
---|
483 |
|
---|
484 | set PTRatioMax 0.12
|
---|
485 | }
|
---|
486 |
|
---|
487 | #################
|
---|
488 | # Muon efficiency
|
---|
489 | #################
|
---|
490 |
|
---|
491 | module Efficiency MuonEfficiency {
|
---|
492 | set InputArray MuonMomentumSmearing/muons
|
---|
493 | set OutputArray muons
|
---|
494 |
|
---|
495 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
496 |
|
---|
497 | # efficiency formula for muons
|
---|
498 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
499 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
500 | (abs(eta) > 1.5 && abs(eta) <= 2.7) * (pt > 10.0) * (0.85) +
|
---|
501 | (abs(eta) > 2.7) * (0.00)}
|
---|
502 | }
|
---|
503 |
|
---|
504 | ################
|
---|
505 | # Muon isolation
|
---|
506 | ################
|
---|
507 |
|
---|
508 | module Isolation MuonIsolation {
|
---|
509 | set CandidateInputArray MuonEfficiency/muons
|
---|
510 | set IsolationInputArray EFlowMerger/eflow
|
---|
511 |
|
---|
512 | set OutputArray muons
|
---|
513 |
|
---|
514 | set DeltaRMax 0.5
|
---|
515 |
|
---|
516 | set PTMin 0.5
|
---|
517 |
|
---|
518 | set PTRatioMax 0.25
|
---|
519 | }
|
---|
520 |
|
---|
521 | ###################
|
---|
522 | # Missing ET merger
|
---|
523 | ###################
|
---|
524 |
|
---|
525 | module Merger MissingET {
|
---|
526 | # add InputArray InputArray
|
---|
527 | add InputArray Calorimeter/towers
|
---|
528 | set MomentumOutputArray momentum
|
---|
529 | }
|
---|
530 |
|
---|
531 | ##################
|
---|
532 | # Scalar HT merger
|
---|
533 | ##################
|
---|
534 |
|
---|
535 | module Merger ScalarHT {
|
---|
536 | # add InputArray InputArray
|
---|
537 | add InputArray UniqueObjectFinder/jets
|
---|
538 | add InputArray UniqueObjectFinder/electrons
|
---|
539 | add InputArray UniqueObjectFinder/photons
|
---|
540 | add InputArray UniqueObjectFinder/muons
|
---|
541 | set EnergyOutputArray energy
|
---|
542 | }
|
---|
543 |
|
---|
544 |
|
---|
545 | #####################
|
---|
546 | # Neutrino Filter
|
---|
547 | #####################
|
---|
548 |
|
---|
549 | module PdgCodeFilter NeutrinoFilter {
|
---|
550 |
|
---|
551 | set InputArray Delphes/stableParticles
|
---|
552 | set OutputArray filteredParticles
|
---|
553 |
|
---|
554 | set PTMin 0.0
|
---|
555 |
|
---|
556 | add PdgCode {12}
|
---|
557 | add PdgCode {14}
|
---|
558 | add PdgCode {16}
|
---|
559 | add PdgCode {-12}
|
---|
560 | add PdgCode {-14}
|
---|
561 | add PdgCode {-16}
|
---|
562 |
|
---|
563 | }
|
---|
564 |
|
---|
565 | #####################
|
---|
566 | # MC truth jet finder
|
---|
567 | #####################
|
---|
568 |
|
---|
569 | module FastJetFinder GenJetFinder {
|
---|
570 | set InputArray NeutrinoFilter/filteredParticles
|
---|
571 |
|
---|
572 | set OutputArray jets
|
---|
573 |
|
---|
574 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
575 | set JetAlgorithm 6
|
---|
576 | set ParameterR 0.6
|
---|
577 |
|
---|
578 | set JetPTMin 20.0
|
---|
579 | }
|
---|
580 |
|
---|
581 |
|
---|
582 | #########################
|
---|
583 | # Gen Missing ET merger
|
---|
584 | ########################
|
---|
585 |
|
---|
586 | module Merger GenMissingET {
|
---|
587 | # add InputArray InputArray
|
---|
588 | add InputArray NeutrinoFilter/filteredParticles
|
---|
589 | set MomentumOutputArray momentum
|
---|
590 | }
|
---|
591 |
|
---|
592 |
|
---|
593 |
|
---|
594 | ############
|
---|
595 | # Jet finder
|
---|
596 | ############
|
---|
597 |
|
---|
598 | module FastJetFinder FastJetFinder {
|
---|
599 | set InputArray Calorimeter/towers
|
---|
600 |
|
---|
601 | set OutputArray jets
|
---|
602 |
|
---|
603 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
604 | set JetAlgorithm 6
|
---|
605 | set ParameterR 0.6
|
---|
606 |
|
---|
607 | set JetPTMin 20.0
|
---|
608 | }
|
---|
609 |
|
---|
610 | ##################
|
---|
611 | # Jet Energy Scale
|
---|
612 | ##################
|
---|
613 |
|
---|
614 | module EnergyScale JetEnergyScale {
|
---|
615 | set InputArray FastJetFinder/jets
|
---|
616 | set OutputArray jets
|
---|
617 |
|
---|
618 | # scale formula for jets
|
---|
619 | set ScaleFormula { sqrt( (3.0 - 0.2*(abs(eta)))^2 / pt + 1.0 ) }
|
---|
620 | }
|
---|
621 |
|
---|
622 | ########################
|
---|
623 | # Jet Flavor Association
|
---|
624 | ########################
|
---|
625 |
|
---|
626 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
627 |
|
---|
628 | set PartonInputArray Delphes/partons
|
---|
629 | set ParticleInputArray Delphes/allParticles
|
---|
630 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
631 | set JetInputArray JetEnergyScale/jets
|
---|
632 |
|
---|
633 | set DeltaR 0.5
|
---|
634 | set PartonPTMin 1.0
|
---|
635 | set PartonEtaMax 2.5
|
---|
636 |
|
---|
637 | }
|
---|
638 |
|
---|
639 | ###########
|
---|
640 | # b-tagging
|
---|
641 | ###########
|
---|
642 |
|
---|
643 | module BTagging BTagging {
|
---|
644 | set JetInputArray JetEnergyScale/jets
|
---|
645 |
|
---|
646 | set BitNumber 0
|
---|
647 |
|
---|
648 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
649 | # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
|
---|
650 | # gluon's PDG code has the lowest priority
|
---|
651 |
|
---|
652 | # based on ATL-PHYS-PUB-2015-022
|
---|
653 |
|
---|
654 | # default efficiency formula (misidentification rate)
|
---|
655 | add EfficiencyFormula {0} {0.002+7.3e-06*pt}
|
---|
656 |
|
---|
657 | # efficiency formula for c-jets (misidentification rate)
|
---|
658 | add EfficiencyFormula {4} {0.20*tanh(0.02*pt)*(1/(1+0.0034*pt))}
|
---|
659 |
|
---|
660 | # efficiency formula for b-jets
|
---|
661 | add EfficiencyFormula {5} {0.80*tanh(0.003*pt)*(30/(1+0.086*pt))}
|
---|
662 | }
|
---|
663 |
|
---|
664 | #############
|
---|
665 | # tau-tagging
|
---|
666 | #############
|
---|
667 |
|
---|
668 | module TrackCountingTauTagging TauTagging {
|
---|
669 |
|
---|
670 | set ParticleInputArray Delphes/allParticles
|
---|
671 | set PartonInputArray Delphes/partons
|
---|
672 | set TrackInputArray TrackMerger/tracks
|
---|
673 | set JetInputArray JetEnergyScale/jets
|
---|
674 |
|
---|
675 | set DeltaR 0.2
|
---|
676 | set DeltaRTrack 0.2
|
---|
677 |
|
---|
678 | set TrackPTMin 1.0
|
---|
679 |
|
---|
680 | set TauPTMin 1.0
|
---|
681 | set TauEtaMax 2.5
|
---|
682 |
|
---|
683 | # instructions: {n-prongs} {eff}
|
---|
684 |
|
---|
685 | # 1 - one prong efficiency
|
---|
686 | # 2 - two or more efficiency
|
---|
687 | # -1 - one prong mistag rate
|
---|
688 | # -2 - two or more mistag rate
|
---|
689 |
|
---|
690 | set BitNumber 0
|
---|
691 |
|
---|
692 | # taken from ATL-PHYS-PUB-2015-045 (medium working point)
|
---|
693 | add EfficiencyFormula {1} {0.70}
|
---|
694 | add EfficiencyFormula {2} {0.60}
|
---|
695 | add EfficiencyFormula {-1} {0.02}
|
---|
696 | add EfficiencyFormula {-2} {0.01}
|
---|
697 |
|
---|
698 | }
|
---|
699 |
|
---|
700 | #####################################################
|
---|
701 | # Find uniquely identified photons/electrons/tau/jets
|
---|
702 | #####################################################
|
---|
703 |
|
---|
704 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
705 | # earlier arrays take precedence over later ones
|
---|
706 | # add InputArray InputArray OutputArray
|
---|
707 | add InputArray PhotonIsolation/photons photons
|
---|
708 | add InputArray ElectronIsolation/electrons electrons
|
---|
709 | add InputArray MuonIsolation/muons muons
|
---|
710 | add InputArray JetEnergyScale/jets jets
|
---|
711 | }
|
---|
712 |
|
---|
713 | ##################
|
---|
714 | # ROOT tree writer
|
---|
715 | ##################
|
---|
716 |
|
---|
717 | # tracks, towers and eflow objects are not stored by default in the output.
|
---|
718 | # if needed (for jet constituent or other studies), uncomment the relevant
|
---|
719 | # "add Branch ..." lines.
|
---|
720 |
|
---|
721 | module TreeWriter TreeWriter {
|
---|
722 | # add Branch InputArray BranchName BranchClass
|
---|
723 | add Branch Delphes/allParticles Particle GenParticle
|
---|
724 |
|
---|
725 | add Branch TrackMerger/tracks Track Track
|
---|
726 | add Branch Calorimeter/towers Tower Tower
|
---|
727 |
|
---|
728 | add Branch HCal/eflowTracks EFlowTrack Track
|
---|
729 | add Branch ECal/eflowPhotons EFlowPhoton Tower
|
---|
730 | add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
731 |
|
---|
732 | add Branch GenJetFinder/jets GenJet Jet
|
---|
733 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
734 |
|
---|
735 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
736 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
737 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
738 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
739 | add Branch MissingET/momentum MissingET MissingET
|
---|
740 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
741 | }
|
---|
742 |
|
---|