Fork me on GitHub

source: git/cards/delphes_card_ATLAS.tcl@ 25ac711

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

removed leptons from isolation

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