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