Fork me on GitHub

source: git/cards/delphes_card_ATLAS_PileUp.tcl@ 7993cad

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

put correct bs in pu cards

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