Fork me on GitHub

source: git/cards/delphes_card_ATLAS_PileUp.tcl@ 6298336

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 6298336 was 8713dee, checked in by Michele Selvaggi <michele.selvaggi@…>, 9 years ago

added ref. for BTagging param. and changed tau-tagging

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