Fork me on GitHub

source: git/cards/delphes_card_ATLAS.tcl@ c6667c0

ImprovedOutputFile Timing dual_readout llp
Last change on this file since c6667c0 was e0a1a44, checked in by Michele Selvaggi <michele.selvaggi@…>, 8 years ago

Separate ECAL and HCAL also for ATLAS card

  • Property mode set to 100644
File size: 20.7 KB
RevLine 
[d7d2da3]1#######################################
2# Order of execution of various modules
3#######################################
4
5set ExecutionPath {
[e0a1a44]6 ParticlePropagator
[d7d2da3]7
8 ChargedHadronTrackingEfficiency
9 ElectronTrackingEfficiency
10 MuonTrackingEfficiency
11
12 ChargedHadronMomentumSmearing
[934d037]13 ElectronMomentumSmearing
[d7d2da3]14 MuonMomentumSmearing
15
16 TrackMerger
[e0a1a44]17
18 ECal
19 HCal
20
[d7d2da3]21 Calorimeter
22 EFlowMerger
23
24 PhotonEfficiency
25 PhotonIsolation
26
[934d037]27 ElectronFilter
[d7d2da3]28 ElectronEfficiency
29 ElectronIsolation
30
31 MuonEfficiency
32 MuonIsolation
33
34 MissingET
35
[be2222c]36 NeutrinoFilter
[d7d2da3]37 GenJetFinder
[59d6164]38 GenMissingET
[e0a1a44]39
[d7d2da3]40 FastJetFinder
41
[3731158]42 JetEnergyScale
[e0a1a44]43
[6153fb0]44 JetFlavorAssociation
[d7d2da3]45
46 BTagging
47 TauTagging
48
49 UniqueObjectFinder
50
51 ScalarHT
52
53 TreeWriter
54}
55
56#################################
57# Propagate particles in cylinder
58#################################
59
60module 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
81module 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
[a2983ec]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) +
[d7d2da3]93 (abs(eta) > 2.5) * (0.00)}
94}
95
96##############################
97# Electron tracking efficiency
98##############################
99
100module 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
[a2983ec]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) +
[d7d2da3]114 (abs(eta) > 2.5) * (0.00)}
115}
116
117##########################
118# Muon tracking efficiency
119##########################
120
121module 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
[a2983ec]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) +
[d7d2da3]133 (abs(eta) > 2.5) * (0.00)}
134}
135
136########################################
137# Momentum resolution for charged tracks
138########################################
139
140module 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
[a0c065d]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)}
[d7d2da3]150}
151
[934d037]152###################################
153# Momentum resolution for electrons
154###################################
[d7d2da3]155
[934d037]156module MomentumSmearing ElectronMomentumSmearing {
[d7d2da3]157 set InputArray ElectronTrackingEfficiency/electrons
158 set OutputArray electrons
159
160 # set ResolutionFormula {resolution formula as a function of eta and energy}
161
[934d037]162 # resolution formula for electrons
[df5084b]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)}
[d7d2da3]166}
167
168###############################
169# Momentum resolution for muons
170###############################
171
172module 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
[df5084b]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)}
[d7d2da3]181}
182
183##############
184# Track merger
185##############
186
187module Merger TrackMerger {
188# add InputArray InputArray
189 add InputArray ChargedHadronMomentumSmearing/chargedHadrons
[934d037]190 add InputArray ElectronMomentumSmearing/electrons
[984cd31]191 add InputArray MuonMomentumSmearing/muons
[d7d2da3]192 set OutputArray tracks
193}
194
[e0a1a44]195
[d7d2da3]196#############
[e0a1a44]197# ECAL
[d7d2da3]198#############
199
[e0a1a44]200module SimpleCalorimeter ECal {
[d7d2da3]201 set ParticleInputArray ParticlePropagator/stableParticles
202 set TrackInputArray TrackMerger/tracks
203
[e0a1a44]204 set TowerOutputArray ecalTowers
[d7d2da3]205 set EFlowTrackOutputArray eflowTracks
[e0a1a44]206 set EFlowTowerOutputArray eflowPhotons
[d7d2da3]207
[e0a1a44]208 set IsEcal true
[a2983ec]209
[e0a1a44]210 set EnergyMin 0.5
211 set EnergySignificanceMin 2.0
[a2983ec]212
213 set SmearTowerCenter true
214
[d7d2da3]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
[e0a1a44]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
301module 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
[d7d2da3]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}
[e0a1a44]341 add EnergyFraction {0} {1.0}
[d7d2da3]342 # energy fractions for e, gamma and pi0
[e0a1a44]343 add EnergyFraction {11} {0.0}
344 add EnergyFraction {22} {0.0}
345 add EnergyFraction {111} {0.0}
[d7d2da3]346 # energy fractions for muon, neutrinos and neutralinos
[e0a1a44]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}
[d7d2da3]356 # energy fractions for K0short and Lambda
[e0a1a44]357 add EnergyFraction {310} {0.7}
358 add EnergyFraction {3122} {0.7}
[d7d2da3]359
360 # http://arxiv.org/pdf/hep-ex/0004009v1
361 # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
[e0a1a44]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) +
[a2983ec]364 (abs(eta) > 1.7 && abs(eta) <= 3.2) * sqrt(energy^2*0.0500^2 + energy*0.706^2) +
[1c8d9db]365 (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.09420^2 + energy*1.00^2)}
[d7d2da3]366}
367
[e0a1a44]368
369#################
370# Electron filter
371#################
372
373module 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
386module Merger Calorimeter {
387# add InputArray InputArray
388 add InputArray ECal/ecalTowers
389 add InputArray HCal/hcalTowers
390 set OutputArray towers
391}
392
393
394
[d7d2da3]395####################
396# Energy flow merger
397####################
398
399module Merger EFlowMerger {
400# add InputArray InputArray
[e0a1a44]401 add InputArray HCal/eflowTracks
402 add InputArray ECal/eflowPhotons
403 add InputArray HCal/eflowNeutralHadrons
[d7d2da3]404 set OutputArray eflow
405}
406
407###################
408# Photon efficiency
409###################
410
411module Efficiency PhotonEfficiency {
[e0a1a44]412 set InputArray ECal/eflowPhotons
[d7d2da3]413 set OutputArray photons
414
415 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
416
417 # efficiency formula for photons
[a2983ec]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) +
[d7d2da3]421 (abs(eta) > 2.5) * (0.00)}
422}
423
424##################
425# Photon isolation
426##################
427
428module Isolation PhotonIsolation {
429 set CandidateInputArray PhotonEfficiency/photons
[fcb7e9c]430 set IsolationInputArray EFlowMerger/eflow
[d7d2da3]431
432 set OutputArray photons
433
434 set DeltaRMax 0.5
435
436 set PTMin 0.5
437
[8e2759b]438 set PTRatioMax 0.12
[d7d2da3]439}
440
[934d037]441#################
442# Electron filter
443#################
444
445module PdgCodeFilter ElectronFilter {
[e0a1a44]446 set InputArray HCal/eflowTracks
[934d037]447 set OutputArray electrons
448 set Invert true
449 add PdgCode {11}
450 add PdgCode {-11}
451}
452
[d7d2da3]453#####################
454# Electron efficiency
455#####################
456
457module Efficiency ElectronEfficiency {
[934d037]458 set InputArray ElectronFilter/electrons
[d7d2da3]459 set OutputArray electrons
460
461 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
462
463 # efficiency formula for electrons
[a2983ec]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) +
[d7d2da3]467 (abs(eta) > 2.5) * (0.00)}
468}
469
470####################
471# Electron isolation
472####################
473
474module Isolation ElectronIsolation {
475 set CandidateInputArray ElectronEfficiency/electrons
[fcb7e9c]476 set IsolationInputArray EFlowMerger/eflow
[d7d2da3]477
478 set OutputArray electrons
479
480 set DeltaRMax 0.5
481
482 set PTMin 0.5
483
[8e2759b]484 set PTRatioMax 0.12
[d7d2da3]485}
486
487#################
488# Muon efficiency
489#################
490
491module 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
[a2983ec]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) +
[d7d2da3]501 (abs(eta) > 2.7) * (0.00)}
502}
503
504################
505# Muon isolation
506################
507
508module Isolation MuonIsolation {
509 set CandidateInputArray MuonEfficiency/muons
[fcb7e9c]510 set IsolationInputArray EFlowMerger/eflow
[d7d2da3]511
512 set OutputArray muons
513
514 set DeltaRMax 0.5
515
516 set PTMin 0.5
517
[8e2759b]518 set PTRatioMax 0.25
[d7d2da3]519}
520
521###################
522# Missing ET merger
523###################
524
525module Merger MissingET {
526# add InputArray InputArray
[e0a1a44]527 add InputArray Calorimeter/towers
[d7d2da3]528 set MomentumOutputArray momentum
529}
530
531##################
532# Scalar HT merger
533##################
534
535module Merger ScalarHT {
536# add InputArray InputArray
537 add InputArray UniqueObjectFinder/jets
538 add InputArray UniqueObjectFinder/electrons
539 add InputArray UniqueObjectFinder/photons
[3731158]540 add InputArray UniqueObjectFinder/muons
[d7d2da3]541 set EnergyOutputArray energy
542}
543
[be2222c]544
545#####################
546# Neutrino Filter
547#####################
548
549module PdgCodeFilter NeutrinoFilter {
[a2983ec]550
[be2222c]551 set InputArray Delphes/stableParticles
552 set OutputArray filteredParticles
553
554 set PTMin 0.0
[a2983ec]555
[be2222c]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
[d7d2da3]565#####################
566# MC truth jet finder
567#####################
568
569module FastJetFinder GenJetFinder {
[be2222c]570 set InputArray NeutrinoFilter/filteredParticles
[d7d2da3]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
[3731158]576 set ParameterR 0.6
[d7d2da3]577
578 set JetPTMin 20.0
579}
580
[be2222c]581
[59d6164]582#########################
583# Gen Missing ET merger
584########################
585
586module Merger GenMissingET {
587# add InputArray InputArray
588 add InputArray NeutrinoFilter/filteredParticles
589 set MomentumOutputArray momentum
590}
591
592
593
[d7d2da3]594############
595# Jet finder
596############
597
598module FastJetFinder FastJetFinder {
[3731158]599 set InputArray Calorimeter/towers
[d7d2da3]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
[3731158]605 set ParameterR 0.6
[d7d2da3]606
607 set JetPTMin 20.0
608}
609
[3731158]610##################
611# Jet Energy Scale
612##################
[d7d2da3]613
[3731158]614module EnergyScale JetEnergyScale {
615 set InputArray FastJetFinder/jets
616 set OutputArray jets
[d7d2da3]617
[a2983ec]618 # scale formula for jets
[35b9204]619 set ScaleFormula { sqrt( (3.0 - 0.2*(abs(eta)))^2 / pt + 1.0 ) }
[d7d2da3]620}
621
[6153fb0]622########################
623# Jet Flavor Association
624########################
625
626module JetFlavorAssociation JetFlavorAssociation {
[e0a1a44]627
[6153fb0]628 set PartonInputArray Delphes/partons
629 set ParticleInputArray Delphes/allParticles
630 set ParticleLHEFInputArray Delphes/allParticlesLHEF
631 set JetInputArray JetEnergyScale/jets
[e0a1a44]632
[6153fb0]633 set DeltaR 0.5
634 set PartonPTMin 1.0
635 set PartonEtaMax 2.5
636
637}
638
[d7d2da3]639###########
640# b-tagging
641###########
642
643module BTagging BTagging {
[fcb7e9c]644 set JetInputArray JetEnergyScale/jets
[d7d2da3]645
[264bf40]646 set BitNumber 0
647
[d7d2da3]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
[8713dee]652 # based on ATL-PHYS-PUB-2015-022
653
[d7d2da3]654 # default efficiency formula (misidentification rate)
[dddad55]655 add EfficiencyFormula {0} {0.002+7.3e-06*pt}
[3731158]656
[d7d2da3]657 # efficiency formula for c-jets (misidentification rate)
[0413f44]658 add EfficiencyFormula {4} {0.20*tanh(0.02*pt)*(1/(1+0.0034*pt))}
[3731158]659
[d7d2da3]660 # efficiency formula for b-jets
[0413f44]661 add EfficiencyFormula {5} {0.80*tanh(0.003*pt)*(30/(1+0.086*pt))}
[d7d2da3]662}
663
[6153fb0]664#############
665# tau-tagging
666#############
667
[437e999]668module TrackCountingTauTagging TauTagging {
[e0a1a44]669
[d7d2da3]670 set ParticleInputArray Delphes/allParticles
671 set PartonInputArray Delphes/partons
[437e999]672 set TrackInputArray TrackMerger/tracks
[fcb7e9c]673 set JetInputArray JetEnergyScale/jets
[d7d2da3]674
[437e999]675 set DeltaR 0.2
676 set DeltaRTrack 0.2
[d7d2da3]677
[437e999]678 set TrackPTMin 1.0
[e0a1a44]679
[d7d2da3]680 set TauPTMin 1.0
681 set TauEtaMax 2.5
682
[e0a1a44]683 # instructions: {n-prongs} {eff}
684
[437e999]685 # 1 - one prong efficiency
686 # 2 - two or more efficiency
687 # -1 - one prong mistag rate
688 # -2 - two or more mistag rate
[e0a1a44]689
[7e227ae]690 set BitNumber 0
[e0a1a44]691
[437e999]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}
[d7d2da3]697
698}
699
700#####################################################
701# Find uniquely identified photons/electrons/tau/jets
702#####################################################
703
704module 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
[3731158]709 add InputArray MuonIsolation/muons muons
[fcb7e9c]710 add InputArray JetEnergyScale/jets jets
[d7d2da3]711}
712
713##################
714# ROOT tree writer
715##################
716
[27bf162]717# tracks, towers and eflow objects are not stored by default in the output.
[282f591]718# if needed (for jet constituent or other studies), uncomment the relevant
719# "add Branch ..." lines.
[27bf162]720
[d7d2da3]721module TreeWriter TreeWriter {
722# add Branch InputArray BranchName BranchClass
723 add Branch Delphes/allParticles Particle GenParticle
[27bf162]724
[f2d7d0c]725 add Branch TrackMerger/tracks Track Track
726 add Branch Calorimeter/towers Tower Tower
[282f591]727
[e0a1a44]728 add Branch HCal/eflowTracks EFlowTrack Track
729 add Branch ECal/eflowPhotons EFlowPhoton Tower
730 add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
[282f591]731
[d7d2da3]732 add Branch GenJetFinder/jets GenJet Jet
[59d6164]733 add Branch GenMissingET/momentum GenMissingET MissingET
734
[d7d2da3]735 add Branch UniqueObjectFinder/jets Jet Jet
736 add Branch UniqueObjectFinder/electrons Electron Electron
737 add Branch UniqueObjectFinder/photons Photon Photon
[3731158]738 add Branch UniqueObjectFinder/muons Muon Muon
[d7d2da3]739 add Branch MissingET/momentum MissingET MissingET
740 add Branch ScalarHT/energy ScalarHT ScalarHT
741}
742
Note: See TracBrowser for help on using the repository browser.