Fork me on GitHub

source: git/cards/delphes_card_ATLAS.tcl@ a190d94

ImprovedOutputFile Timing dual_readout llp
Last change on this file since a190d94 was 8624f58, checked in by Pavel Demin <pavel.demin@…>, 10 years ago

replace Ecal with ECal and Hcal with HCal

  • Property mode set to 100644
File size: 18.7 KB
RevLine 
[d7d2da3]1#######################################
2# Order of execution of various modules
3#######################################
4
5set ExecutionPath {
6 ParticlePropagator
7
8 ChargedHadronTrackingEfficiency
9 ElectronTrackingEfficiency
10 MuonTrackingEfficiency
11
12 ChargedHadronMomentumSmearing
13 ElectronEnergySmearing
14 MuonMomentumSmearing
15
16 TrackMerger
17 Calorimeter
18 EFlowMerger
19
20 PhotonEfficiency
21 PhotonIsolation
22
23 ElectronEfficiency
24 ElectronIsolation
25
26 MuonEfficiency
27 MuonIsolation
28
29 MissingET
30
[be2222c]31 NeutrinoFilter
[d7d2da3]32 GenJetFinder
33 FastJetFinder
34
[3731158]35 JetEnergyScale
[d7d2da3]36
37 BTagging
38 TauTagging
39
40 UniqueObjectFinder
41
42 ScalarHT
43
44 TreeWriter
45}
46
47#################################
48# Propagate particles in cylinder
49#################################
50
51module ParticlePropagator ParticlePropagator {
52 set InputArray Delphes/stableParticles
53
54 set OutputArray stableParticles
55 set ChargedHadronOutputArray chargedHadrons
56 set ElectronOutputArray electrons
57 set MuonOutputArray muons
58
59 # radius of the magnetic field coverage, in m
60 set Radius 1.15
61 # half-length of the magnetic field coverage, in m
62 set HalfLength 3.51
63
64 # magnetic field
65 set Bz 2.0
66}
67
68####################################
69# Charged hadron tracking efficiency
70####################################
71
72module Efficiency ChargedHadronTrackingEfficiency {
73 set InputArray ParticlePropagator/chargedHadrons
74 set OutputArray chargedHadrons
75
76 # add EfficiencyFormula {efficiency formula as a function of eta and pt}
77
78 # tracking efficiency formula for charged hadrons
79 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \
80 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + \
81 (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) + \
82 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) + \
83 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) + \
84 (abs(eta) > 2.5) * (0.00)}
85}
86
87##############################
88# Electron tracking efficiency
89##############################
90
91module Efficiency ElectronTrackingEfficiency {
92 set InputArray ParticlePropagator/electrons
93 set OutputArray electrons
94
95 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
96
97 # tracking efficiency formula for electrons
98 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \
99 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) + \
100 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) + \
101 (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) + \
102 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) + \
103 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) + \
104 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) + \
105 (abs(eta) > 2.5) * (0.00)}
106}
107
108##########################
109# Muon tracking efficiency
110##########################
111
112module Efficiency MuonTrackingEfficiency {
113 set InputArray ParticlePropagator/muons
114 set OutputArray muons
115
116 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
117
118 # tracking efficiency formula for muons
119 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \
120 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) + \
121 (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) + \
122 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + \
123 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) + \
124 (abs(eta) > 2.5) * (0.00)}
125}
126
127########################################
128# Momentum resolution for charged tracks
129########################################
130
131module MomentumSmearing ChargedHadronMomentumSmearing {
132 set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
133 set OutputArray chargedHadrons
134
135 # set ResolutionFormula {resolution formula as a function of eta and pt}
136
137 # resolution formula for charged hadrons
[ce1cbf1]138 set ResolutionFormula { (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.02) + \
139 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e1) * (0.01) + \
140 (abs(eta) <= 1.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.03) + \
141 (abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05) + \
142 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.03) + \
143 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e1) * (0.02) + \
144 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.04) + \
145 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05)}
[d7d2da3]146}
147
148#################################
149# Energy resolution for electrons
150#################################
151
152module EnergySmearing ElectronEnergySmearing {
153 set InputArray ElectronTrackingEfficiency/electrons
154 set OutputArray electrons
155
156 # set ResolutionFormula {resolution formula as a function of eta and energy}
157
158 set ResolutionFormula { (abs(eta) <= 2.5) * (energy > 0.1 && energy <= 2.5e1) * (energy*0.015) + \
159 (abs(eta) <= 2.5) * (energy > 2.5e1) * sqrt(energy^2*0.005^2 + energy*0.05^2 + 0.25^2) + \
160 (abs(eta) > 2.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.005^2 + energy*0.05^2 + 0.25^2) + \
161 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
162
163}
164
165###############################
166# Momentum resolution for muons
167###############################
168
169module MomentumSmearing MuonMomentumSmearing {
170 set InputArray MuonTrackingEfficiency/muons
171 set OutputArray muons
172
173 # set ResolutionFormula {resolution formula as a function of eta and pt}
174
175 # resolution formula for muons
176 set ResolutionFormula { (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.03) + \
[3731158]177 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 5.0e1) * (0.03) + \
178 (abs(eta) <= 1.5) * (pt > 5.0e1 && pt <= 1.0e2) * (0.04) + \
179 (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.07) + \
[d7d2da3]180 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.04) + \
[3731158]181 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 5.0e1) * (0.04) + \
182 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 5.0e1 && pt <= 1.0e2) * (0.05) + \
183 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.10)}
[d7d2da3]184}
185
186##############
187# Track merger
188##############
189
190module Merger TrackMerger {
191# add InputArray InputArray
192 add InputArray ChargedHadronMomentumSmearing/chargedHadrons
193 add InputArray ElectronEnergySmearing/electrons
[984cd31]194 add InputArray MuonMomentumSmearing/muons
[d7d2da3]195 set OutputArray tracks
196}
197
198#############
199# Calorimeter
200#############
201
202module Calorimeter Calorimeter {
203 set ParticleInputArray ParticlePropagator/stableParticles
204 set TrackInputArray TrackMerger/tracks
205
206 set TowerOutputArray towers
207 set PhotonOutputArray photons
208
[8624f58]209 set ECalMinEnergy 0.50
210 set HCalMinEnergy 1.00
[1c8d9db]211
[8624f58]212 set ECalMinSignificance 1.0
213 set HCalMinSignificance 1.0
[1c8d9db]214
[d7d2da3]215 set EFlowTrackOutputArray eflowTracks
[27bf162]216 set EFlowPhotonOutputArray eflowPhotons
217 set EFlowNeutralHadronOutputArray eflowNeutralHadrons
[d7d2da3]218
219 set pi [expr {acos(-1)}]
220
221 # lists of the edges of each tower in eta and phi
222 # each list starts with the lower edge of the first tower
223 # the list ends with the higher edged of the last tower
224
225 # 10 degrees towers
226 set PhiBins {}
227 for {set i -18} {$i <= 18} {incr i} {
228 add PhiBins [expr {$i * $pi/18.0}]
229 }
230 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} {
231 add EtaPhiBins $eta $PhiBins
232 }
233
234 # 20 degrees towers
235 set PhiBins {}
236 for {set i -9} {$i <= 9} {incr i} {
237 add PhiBins [expr {$i * $pi/9.0}]
238 }
239 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} {
240 add EtaPhiBins $eta $PhiBins
241 }
242
243 # default energy fractions {abs(PDG code)} {Fecal Fhcal}
244 add EnergyFraction {0} {0.0 1.0}
245 # energy fractions for e, gamma and pi0
246 add EnergyFraction {11} {1.0 0.0}
247 add EnergyFraction {22} {1.0 0.0}
248 add EnergyFraction {111} {1.0 0.0}
249 # energy fractions for muon, neutrinos and neutralinos
250 add EnergyFraction {12} {0.0 0.0}
251 add EnergyFraction {13} {0.0 0.0}
252 add EnergyFraction {14} {0.0 0.0}
253 add EnergyFraction {16} {0.0 0.0}
254 add EnergyFraction {1000022} {0.0 0.0}
255 add EnergyFraction {1000023} {0.0 0.0}
256 add EnergyFraction {1000025} {0.0 0.0}
257 add EnergyFraction {1000035} {0.0 0.0}
258 add EnergyFraction {1000045} {0.0 0.0}
259 # energy fractions for K0short and Lambda
260 add EnergyFraction {310} {0.3 0.7}
261 add EnergyFraction {3122} {0.3 0.7}
262
263 # set ECalResolutionFormula {resolution formula as a function of eta and energy}
264 # http://arxiv.org/pdf/physics/0608012v1 jinst8_08_s08003
265 # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
266 # http://www.physics.utoronto.ca/~krieger/procs/ComoProceedings.pdf
267 set ECalResolutionFormula { (abs(eta) <= 3.2) * sqrt(energy^2*0.0017^2 + energy*0.101^2) + \
268 (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.0350^2 + energy*0.285^2)}
269
270 # set HCalResolutionFormula {resolution formula as a function of eta and energy}
271 # http://arxiv.org/pdf/hep-ex/0004009v1
272 # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
273 set HCalResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.0302^2 + energy*0.5205^2 + 1.59^2) + \
274 (abs(eta) > 1.7 && abs(eta) <= 3.2) * sqrt(energy^2*0.0500^2 + energy*0.706^2) + \
[1c8d9db]275 (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.09420^2 + energy*1.00^2)}
[d7d2da3]276}
277
278####################
279# Energy flow merger
280####################
281
282module Merger EFlowMerger {
283# add InputArray InputArray
284 add InputArray Calorimeter/eflowTracks
[27bf162]285 add InputArray Calorimeter/eflowPhotons
286 add InputArray Calorimeter/eflowNeutralHadrons
[d7d2da3]287 set OutputArray eflow
288}
289
290###################
291# Photon efficiency
292###################
293
294module Efficiency PhotonEfficiency {
295 set InputArray Calorimeter/photons
296 set OutputArray photons
297
298 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
299
300 # efficiency formula for photons
301 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
302 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \
303 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + \
304 (abs(eta) > 2.5) * (0.00)}
305}
306
307##################
308# Photon isolation
309##################
310
311module Isolation PhotonIsolation {
312 set CandidateInputArray PhotonEfficiency/photons
[fcb7e9c]313 set IsolationInputArray EFlowMerger/eflow
[d7d2da3]314
315 set OutputArray photons
316
317 set DeltaRMax 0.5
318
319 set PTMin 0.5
320
321 set PTRatioMax 0.1
322}
323
324#####################
325# Electron efficiency
326#####################
327
328module Efficiency ElectronEfficiency {
329 set InputArray ElectronEnergySmearing/electrons
330 set OutputArray electrons
331
332 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
333
334 # efficiency formula for electrons
335 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
336 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \
337 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + \
338 (abs(eta) > 2.5) * (0.00)}
339}
340
341####################
342# Electron isolation
343####################
344
345module Isolation ElectronIsolation {
346 set CandidateInputArray ElectronEfficiency/electrons
[fcb7e9c]347 set IsolationInputArray EFlowMerger/eflow
[d7d2da3]348
349 set OutputArray electrons
350
351 set DeltaRMax 0.5
352
353 set PTMin 0.5
354
355 set PTRatioMax 0.1
356}
357
358#################
359# Muon efficiency
360#################
361
362module Efficiency MuonEfficiency {
363 set InputArray MuonMomentumSmearing/muons
364 set OutputArray muons
365
366 # set EfficiencyFormula {efficiency as a function of eta and pt}
367
368 # efficiency formula for muons
369 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
370 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \
371 (abs(eta) > 1.5 && abs(eta) <= 2.7) * (pt > 10.0) * (0.85) + \
372 (abs(eta) > 2.7) * (0.00)}
373}
374
375################
376# Muon isolation
377################
378
379module Isolation MuonIsolation {
380 set CandidateInputArray MuonEfficiency/muons
[fcb7e9c]381 set IsolationInputArray EFlowMerger/eflow
[d7d2da3]382
383 set OutputArray muons
384
385 set DeltaRMax 0.5
386
387 set PTMin 0.5
388
389 set PTRatioMax 0.1
390}
391
392###################
393# Missing ET merger
394###################
395
396module Merger MissingET {
397# add InputArray InputArray
[27bf162]398 add InputArray EFlowMerger/eflow
[d7d2da3]399 set MomentumOutputArray momentum
400}
401
402##################
403# Scalar HT merger
404##################
405
406module Merger ScalarHT {
407# add InputArray InputArray
408 add InputArray UniqueObjectFinder/jets
409 add InputArray UniqueObjectFinder/electrons
410 add InputArray UniqueObjectFinder/photons
[3731158]411 add InputArray UniqueObjectFinder/muons
[d7d2da3]412 set EnergyOutputArray energy
413}
414
[be2222c]415
416#####################
417# Neutrino Filter
418#####################
419
420module PdgCodeFilter NeutrinoFilter {
421
422 set InputArray Delphes/stableParticles
423 set OutputArray filteredParticles
424
425 set PTMin 0.0
426
427 add PdgCode {12}
428 add PdgCode {14}
429 add PdgCode {16}
430 add PdgCode {-12}
431 add PdgCode {-14}
432 add PdgCode {-16}
433
434}
435
[d7d2da3]436#####################
437# MC truth jet finder
438#####################
439
440module FastJetFinder GenJetFinder {
[be2222c]441 set InputArray NeutrinoFilter/filteredParticles
[d7d2da3]442
443 set OutputArray jets
444
445 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
446 set JetAlgorithm 6
[3731158]447 set ParameterR 0.6
[d7d2da3]448
449 set JetPTMin 20.0
450}
451
[be2222c]452
[d7d2da3]453############
454# Jet finder
455############
456
457module FastJetFinder FastJetFinder {
[3731158]458 set InputArray Calorimeter/towers
[d7d2da3]459
460 set OutputArray jets
461
462 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
463 set JetAlgorithm 6
[3731158]464 set ParameterR 0.6
[d7d2da3]465
466 set JetPTMin 20.0
467}
468
[3731158]469##################
470# Jet Energy Scale
471##################
[d7d2da3]472
[3731158]473module EnergyScale JetEnergyScale {
474 set InputArray FastJetFinder/jets
475 set OutputArray jets
[d7d2da3]476
[35b9204]477 # scale formula for jets
478 set ScaleFormula { sqrt( (3.0 - 0.2*(abs(eta)))^2 / pt + 1.0 ) }
[d7d2da3]479}
480
481###########
482# b-tagging
483###########
484
485module BTagging BTagging {
486 set PartonInputArray Delphes/partons
[fcb7e9c]487 set JetInputArray JetEnergyScale/jets
[d7d2da3]488
[264bf40]489 set BitNumber 0
490
[d7d2da3]491 set DeltaR 0.5
492
493 set PartonPTMin 1.0
494
495 set PartonEtaMax 2.5
496
497 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
498 # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
499 # gluon's PDG code has the lowest priority
500
501 # default efficiency formula (misidentification rate)
502 add EfficiencyFormula {0} {0.001}
[3731158]503
[d7d2da3]504 # efficiency formula for c-jets (misidentification rate)
[3731158]505 add EfficiencyFormula {4} { (pt <= 15.0) * (0.000) + \
506 (abs(eta) <= 1.2) * (pt > 15.0) * (0.2*tanh(pt*0.03 - 0.4)) + \
507 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.1*tanh(pt*0.03 - 0.4)) + \
508 (abs(eta) > 2.5) * (0.000)}
509
[d7d2da3]510 # efficiency formula for b-jets
[3731158]511 add EfficiencyFormula {5} { (pt <= 15.0) * (0.000) + \
512 (abs(eta) <= 1.2) * (pt > 15.0) * (0.5*tanh(pt*0.03 - 0.4)) + \
513 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.4*tanh(pt*0.03 - 0.4)) + \
514 (abs(eta) > 2.5) * (0.000)}
[d7d2da3]515}
516
517module TauTagging TauTagging {
518 set ParticleInputArray Delphes/allParticles
519 set PartonInputArray Delphes/partons
[fcb7e9c]520 set JetInputArray JetEnergyScale/jets
[d7d2da3]521
522 set DeltaR 0.5
523
524 set TauPTMin 1.0
525
526 set TauEtaMax 2.5
527
528 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
529
530 # default efficiency formula (misidentification rate)
531 add EfficiencyFormula {0} {0.001}
532 # efficiency formula for tau-jets
533 add EfficiencyFormula {15} {0.4}
534}
535
536#####################################################
537# Find uniquely identified photons/electrons/tau/jets
538#####################################################
539
540module UniqueObjectFinder UniqueObjectFinder {
541# earlier arrays take precedence over later ones
542# add InputArray InputArray OutputArray
543 add InputArray PhotonIsolation/photons photons
544 add InputArray ElectronIsolation/electrons electrons
[3731158]545 add InputArray MuonIsolation/muons muons
[fcb7e9c]546 add InputArray JetEnergyScale/jets jets
[d7d2da3]547}
548
549##################
550# ROOT tree writer
551##################
552
[27bf162]553# tracks, towers and eflow objects are not stored by default in the output.
[282f591]554# if needed (for jet constituent or other studies), uncomment the relevant
555# "add Branch ..." lines.
[27bf162]556
[d7d2da3]557module TreeWriter TreeWriter {
558# add Branch InputArray BranchName BranchClass
559 add Branch Delphes/allParticles Particle GenParticle
[27bf162]560
[f2d7d0c]561 add Branch TrackMerger/tracks Track Track
562 add Branch Calorimeter/towers Tower Tower
[282f591]563
[f2d7d0c]564 add Branch Calorimeter/eflowTracks EFlowTrack Track
565 add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
566 add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
[282f591]567
[d7d2da3]568 add Branch GenJetFinder/jets GenJet Jet
569 add Branch UniqueObjectFinder/jets Jet Jet
570 add Branch UniqueObjectFinder/electrons Electron Electron
571 add Branch UniqueObjectFinder/photons Photon Photon
[3731158]572 add Branch UniqueObjectFinder/muons Muon Muon
[d7d2da3]573 add Branch MissingET/momentum MissingET MissingET
574 add Branch ScalarHT/energy ScalarHT ScalarHT
575}
576
Note: See TracBrowser for help on using the repository browser.