Fork me on GitHub

source: git/cards/delphes_card_CMS.tcl@ a933829

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

change TowerMerger in Calorimeter for validation compatibility

  • Property mode set to 100644
File size: 20.9 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
[934d037]13 ElectronMomentumSmearing
[d7d2da3]14 MuonMomentumSmearing
15
16 TrackMerger
[0593ac3]17
18 ECal
19 HCal
20
[a39b82e]21 Calorimeter
[d7d2da3]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
39
[d7d2da3]40 FastJetFinder
41
[8839353]42 JetEnergyScale
[d7d2da3]43
[6153fb0]44 JetFlavorAssociation
45
[d7d2da3]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.29
70 # half-length of the magnetic field coverage, in m
71 set HalfLength 3.00
72
73 # magnetic field
74 set Bz 3.8
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
[934d037]147 # based on arXiv:1405.6569
[da12534]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
[8839353]163 # resolution formula for electrons
[934d037]164 # based on arXiv:1405.6569
[df5084b]165 set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.03^2 + pt^2*1.3e-3^2) +
166 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.05^2 + pt^2*1.7e-3^2) +
167 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.15^2 + pt^2*3.1e-3^2)}
[d7d2da3]168}
169
170###############################
171# Momentum resolution for muons
172###############################
173
174module MomentumSmearing MuonMomentumSmearing {
175 set InputArray MuonTrackingEfficiency/muons
176 set OutputArray muons
177
178 # set ResolutionFormula {resolution formula as a function of eta and pt}
179
180 # resolution formula for muons
[df5084b]181 set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.0e-4^2) +
182 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*1.5e-4^2) +
183 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*3.5e-4^2)}
[d7d2da3]184}
185
186##############
187# Track merger
188##############
189
190module Merger TrackMerger {
191# add InputArray InputArray
192 add InputArray ChargedHadronMomentumSmearing/chargedHadrons
[934d037]193 add InputArray ElectronMomentumSmearing/electrons
[a0ff736]194 add InputArray MuonMomentumSmearing/muons
[d7d2da3]195 set OutputArray tracks
196}
197
[0593ac3]198
199
[d7d2da3]200#############
[0593ac3]201# ECAL
[d7d2da3]202#############
203
[0593ac3]204module SimpleCalorimeter ECal {
[d7d2da3]205 set ParticleInputArray ParticlePropagator/stableParticles
206 set TrackInputArray TrackMerger/tracks
207
[0593ac3]208 set TowerOutputArray ecalTowers
209 set EFlowTrackOutputArray eflowTracks
210 set EFlowTowerOutputArray eflowPhotons
211
212 set IsEcal true
213
214 set EnergyMin 0.5
215 set EnergySignificanceMin 2.0
216
217 set SmearTowerCenter true
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 # assume 0.02 x 0.02 resolution in eta,phi in the barrel |eta| < 1.5
226
227 set PhiBins {}
228 for {set i -180} {$i <= 180} {incr i} {
229 add PhiBins [expr {$i * $pi/180.0}]
230 }
231
232 # 0.02 unit in eta up to eta = 1.5 (barrel)
233 for {set i -85} {$i <= 86} {incr i} {
234 set eta [expr {$i * 0.0174}]
235 add EtaPhiBins $eta $PhiBins
236 }
237
238 # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL- ECAL)
239
240 set PhiBins {}
241 for {set i -180} {$i <= 180} {incr i} {
242 add PhiBins [expr {$i * $pi/180.0}]
243 }
244
245 # 0.02 unit in eta up to eta = 3
246 for {set i 1} {$i <= 84} {incr i} {
247 set eta [expr { -2.958 + $i * 0.0174}]
248 add EtaPhiBins $eta $PhiBins
249 }
250
251 for {set i 1} {$i <= 84} {incr i} {
252 set eta [expr { 1.4964 + $i * 0.0174}]
253 add EtaPhiBins $eta $PhiBins
254 }
255
256 # take present CMS granularity for HF
257
258 # 0.175 x (0.175 - 0.35) resolution in eta,phi in the HF 3.0 < |eta| < 5.0
259 set PhiBins {}
260 for {set i -18} {$i <= 18} {incr i} {
261 add PhiBins [expr {$i * $pi/18.0}]
262 }
263
264 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} {
265 add EtaPhiBins $eta $PhiBins
266 }
267
268
269 add EnergyFraction {0} {0.0}
270 # energy fractions for e, gamma and pi0
271 add EnergyFraction {11} {1.0}
272 add EnergyFraction {22} {1.0}
273 add EnergyFraction {111} {1.0}
274 # energy fractions for muon, neutrinos and neutralinos
275 add EnergyFraction {12} {0.0}
276 add EnergyFraction {13} {0.0}
277 add EnergyFraction {14} {0.0}
278 add EnergyFraction {16} {0.0}
279 add EnergyFraction {1000022} {0.0}
280 add EnergyFraction {1000023} {0.0}
281 add EnergyFraction {1000025} {0.0}
282 add EnergyFraction {1000035} {0.0}
283 add EnergyFraction {1000045} {0.0}
284 # energy fractions for K0short and Lambda
285 add EnergyFraction {310} {0.3}
286 add EnergyFraction {3122} {0.3}
287
288 # set ResolutionFormula {resolution formula as a function of eta and energy}
289
290 # for the ECAL barrel (|eta| < 1.5), see hep-ex/1306.2016 and 1502.02701
291
292 # set ECalResolutionFormula {resolution formula as a function of eta and energy}
293 # Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
294 set ResolutionFormula { (abs(eta) <= 1.5) * (1+0.64*eta^2) * sqrt(energy^2*0.008^2 + energy*0.11^2 + 0.40^2) +
295 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (2.16 + 5.6*(abs(eta)-2)^2) * sqrt(energy^2*0.008^2 + energy*0.11^2 + 0.40^2) +
296 (abs(eta) > 2.5 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
297
298}
299
300
301#############
302# HCAL
303#############
[d7d2da3]304
[0593ac3]305module SimpleCalorimeter HCal {
306 set ParticleInputArray ParticlePropagator/stableParticles
307 set TrackInputArray ECal/eflowTracks
308
309 set TowerOutputArray hcalTowers
[a2983ec]310 set EFlowTrackOutputArray eflowTracks
[0593ac3]311 set EFlowTowerOutputArray eflowNeutralHadrons
[a2983ec]312
[0593ac3]313 set IsEcal false
[1c8d9db]314
[0593ac3]315 set EnergyMin 1.0
316 set EnergySignificanceMin 2.0
[a2983ec]317
318 set SmearTowerCenter true
[d7d2da3]319
320 set pi [expr {acos(-1)}]
321
322 # lists of the edges of each tower in eta and phi
323 # each list starts with the lower edge of the first tower
324 # the list ends with the higher edged of the last tower
325
326 # 5 degrees towers
327 set PhiBins {}
328 for {set i -36} {$i <= 36} {incr i} {
329 add PhiBins [expr {$i * $pi/36.0}]
330 }
331 foreach eta {-1.566 -1.479 -1.392 -1.305 -1.218 -1.131 -1.044 -0.957 -0.87 -0.783 -0.696 -0.609 -0.522 -0.435 -0.348 -0.261 -0.174 -0.087 0 0.087 0.174 0.261 0.348 0.435 0.522 0.609 0.696 0.783 0.87 0.957 1.044 1.131 1.218 1.305 1.392 1.479 1.566 1.653} {
332 add EtaPhiBins $eta $PhiBins
333 }
334
335 # 10 degrees towers
336 set PhiBins {}
337 for {set i -18} {$i <= 18} {incr i} {
338 add PhiBins [expr {$i * $pi/18.0}]
339 }
340 foreach eta {-4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.95 -2.868 -2.65 -2.5 -2.322 -2.172 -2.043 -1.93 -1.83 -1.74 -1.653 1.74 1.83 1.93 2.043 2.172 2.322 2.5 2.65 2.868 2.95 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525} {
341 add EtaPhiBins $eta $PhiBins
342 }
343
344 # 20 degrees towers
345 set PhiBins {}
346 for {set i -9} {$i <= 9} {incr i} {
347 add PhiBins [expr {$i * $pi/9.0}]
348 }
349 foreach eta {-5 -4.7 -4.525 4.7 5} {
350 add EtaPhiBins $eta $PhiBins
351 }
352
353 # default energy fractions {abs(PDG code)} {Fecal Fhcal}
[0593ac3]354 add EnergyFraction {0} {1.0}
[d7d2da3]355 # energy fractions for e, gamma and pi0
[0593ac3]356 add EnergyFraction {11} {0.0}
357 add EnergyFraction {22} {0.0}
358 add EnergyFraction {111} {0.0}
[d7d2da3]359 # energy fractions for muon, neutrinos and neutralinos
[0593ac3]360 add EnergyFraction {12} {0.0}
361 add EnergyFraction {13} {0.0}
362 add EnergyFraction {14} {0.0}
363 add EnergyFraction {16} {0.0}
364 add EnergyFraction {1000022} {0.0}
365 add EnergyFraction {1000023} {0.0}
366 add EnergyFraction {1000025} {0.0}
367 add EnergyFraction {1000035} {0.0}
368 add EnergyFraction {1000045} {0.0}
[d7d2da3]369 # energy fractions for K0short and Lambda
[0593ac3]370 add EnergyFraction {310} {0.7}
371 add EnergyFraction {3122} {0.7}
[d7d2da3]372
373 # set HCalResolutionFormula {resolution formula as a function of eta and energy}
[0593ac3]374 set ResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) +
[a1ac20e]375 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.130^2 + energy*2.70^2)}
[0593ac3]376
377}
378
379
380#################
381# Electron filter
382#################
383
384module PdgCodeFilter ElectronFilter {
385 set InputArray HCal/eflowTracks
386 set OutputArray electrons
387 set Invert true
388 add PdgCode {11}
389 add PdgCode {-11}
390}
391
392###################################################
393# Tower Merger (in case not using e-flow algorithm)
394###################################################
395
[a39b82e]396module Merger Calorimeter {
[0593ac3]397# add InputArray InputArray
398 add InputArray ECal/ecalTowers
399 add InputArray HCal/hcalTowers
400 set OutputArray towers
[d7d2da3]401}
402
[0593ac3]403
404
[d7d2da3]405####################
406# Energy flow merger
407####################
408
409module Merger EFlowMerger {
410# add InputArray InputArray
[0593ac3]411 add InputArray HCal/eflowTracks
412 add InputArray ECal/eflowPhotons
413 add InputArray HCal/eflowNeutralHadrons
[d7d2da3]414 set OutputArray eflow
415}
416
417###################
418# Photon efficiency
419###################
420
421module Efficiency PhotonEfficiency {
[0593ac3]422 set InputArray ECal/eflowPhotons
[d7d2da3]423 set OutputArray photons
424
425 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
426
427 # efficiency formula for photons
[a2983ec]428 set EfficiencyFormula { (pt <= 10.0) * (0.00) +
429 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
430 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
[d7d2da3]431 (abs(eta) > 2.5) * (0.00)}
432}
433
434##################
435# Photon isolation
436##################
437
438module Isolation PhotonIsolation {
439 set CandidateInputArray PhotonEfficiency/photons
440 set IsolationInputArray EFlowMerger/eflow
441
442 set OutputArray photons
443
444 set DeltaRMax 0.5
445
446 set PTMin 0.5
447
[8e2759b]448 set PTRatioMax 0.12
[d7d2da3]449}
450
[934d037]451
[d7d2da3]452#####################
453# Electron efficiency
454#####################
455
456module Efficiency ElectronEfficiency {
[934d037]457 set InputArray ElectronFilter/electrons
[d7d2da3]458 set OutputArray electrons
459
460 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
461
462 # efficiency formula for electrons
[a2983ec]463 set EfficiencyFormula { (pt <= 10.0) * (0.00) +
464 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
465 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
[d7d2da3]466 (abs(eta) > 2.5) * (0.00)}
467}
468
469####################
470# Electron isolation
471####################
472
473module Isolation ElectronIsolation {
474 set CandidateInputArray ElectronEfficiency/electrons
475 set IsolationInputArray EFlowMerger/eflow
476
477 set OutputArray electrons
478
479 set DeltaRMax 0.5
480
481 set PTMin 0.5
482
[8e2759b]483 set PTRatioMax 0.12
[d7d2da3]484}
485
486#################
487# Muon efficiency
488#################
489
490module Efficiency MuonEfficiency {
491 set InputArray MuonMomentumSmearing/muons
492 set OutputArray muons
493
494 # set EfficiencyFormula {efficiency as a function of eta and pt}
495
496 # efficiency formula for muons
[a2983ec]497 set EfficiencyFormula { (pt <= 10.0) * (0.00) +
498 (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
499 (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
500 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
501 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
[1697699]502 (abs(eta) > 2.4) * (0.00)}
[d7d2da3]503}
504
505################
506# Muon isolation
507################
508
509module Isolation MuonIsolation {
510 set CandidateInputArray MuonEfficiency/muons
511 set IsolationInputArray EFlowMerger/eflow
512
513 set OutputArray muons
514
515 set DeltaRMax 0.5
516
517 set PTMin 0.5
518
[8e2759b]519 set PTRatioMax 0.25
[d7d2da3]520}
521
522###################
523# Missing ET merger
524###################
525
526module Merger MissingET {
527# add InputArray InputArray
[27bf162]528 add InputArray EFlowMerger/eflow
[d7d2da3]529 set MomentumOutputArray momentum
530}
531
532##################
533# Scalar HT merger
534##################
535
536module Merger ScalarHT {
537# add InputArray InputArray
538 add InputArray UniqueObjectFinder/jets
539 add InputArray UniqueObjectFinder/electrons
540 add InputArray UniqueObjectFinder/photons
[8839353]541 add InputArray UniqueObjectFinder/muons
[d7d2da3]542 set EnergyOutputArray energy
543}
544
[be2222c]545
546#####################
547# Neutrino Filter
548#####################
549
550module PdgCodeFilter NeutrinoFilter {
[a2983ec]551
[be2222c]552 set InputArray Delphes/stableParticles
553 set OutputArray filteredParticles
554
555 set PTMin 0.0
[a2983ec]556
[be2222c]557 add PdgCode {12}
558 add PdgCode {14}
559 add PdgCode {16}
560 add PdgCode {-12}
561 add PdgCode {-14}
562 add PdgCode {-16}
563
564}
565
566
[d7d2da3]567#####################
568# MC truth jet finder
569#####################
570
571module FastJetFinder GenJetFinder {
[be2222c]572 set InputArray NeutrinoFilter/filteredParticles
[d7d2da3]573
574 set OutputArray jets
575
576 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
577 set JetAlgorithm 6
[8839353]578 set ParameterR 0.5
[d7d2da3]579
580 set JetPTMin 20.0
581}
582
[59d6164]583#########################
584# Gen Missing ET merger
585########################
586
587module Merger GenMissingET {
588# add InputArray InputArray
589 add InputArray NeutrinoFilter/filteredParticles
590 set MomentumOutputArray momentum
591}
592
593
[be2222c]594
[d7d2da3]595############
596# Jet finder
597############
598
599module FastJetFinder FastJetFinder {
600# set InputArray Calorimeter/towers
601 set InputArray EFlowMerger/eflow
602
603 set OutputArray jets
604
605 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
606 set JetAlgorithm 6
[8839353]607 set ParameterR 0.5
[d7d2da3]608
609 set JetPTMin 20.0
610}
611
[8839353]612##################
613# Jet Energy Scale
614##################
[d7d2da3]615
[8839353]616module EnergyScale JetEnergyScale {
617 set InputArray FastJetFinder/jets
618 set OutputArray jets
[d7d2da3]619
[35b9204]620 # scale formula for jets
621 set ScaleFormula {sqrt( (2.5 - 0.15*(abs(eta)))^2 / pt + 1.0 )}
[d7d2da3]622}
623
[6153fb0]624########################
625# Jet Flavor Association
626########################
627
628module JetFlavorAssociation JetFlavorAssociation {
[934d037]629
[6153fb0]630 set PartonInputArray Delphes/partons
631 set ParticleInputArray Delphes/allParticles
632 set ParticleLHEFInputArray Delphes/allParticlesLHEF
633 set JetInputArray JetEnergyScale/jets
[934d037]634
[6153fb0]635 set DeltaR 0.5
636 set PartonPTMin 1.0
637 set PartonEtaMax 2.5
638
639}
640
[d7d2da3]641###########
642# b-tagging
643###########
644
645module BTagging BTagging {
[8839353]646 set JetInputArray JetEnergyScale/jets
[d7d2da3]647
[264bf40]648 set BitNumber 0
649
[d7d2da3]650 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
651 # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
652 # gluon's PDG code has the lowest priority
653
[8713dee]654 # based on arXiv:1211.4462
655
[d7d2da3]656 # default efficiency formula (misidentification rate)
[a356d6d]657 add EfficiencyFormula {0} {0.01+0.000038*pt}
[d7d2da3]658
659 # efficiency formula for c-jets (misidentification rate)
[0413f44]660 add EfficiencyFormula {4} {0.25*tanh(0.018*pt)*(1/(1+ 0.0013*pt))}
[d7d2da3]661
662 # efficiency formula for b-jets
[dddad55]663 add EfficiencyFormula {5} {0.85*tanh(0.0025*pt)*(25.0/(1+0.063*pt))}
[d7d2da3]664}
665
[6153fb0]666#############
667# tau-tagging
668#############
669
[d7d2da3]670module TauTagging TauTagging {
671 set ParticleInputArray Delphes/allParticles
672 set PartonInputArray Delphes/partons
[28f1285]673 set JetInputArray JetEnergyScale/jets
[d7d2da3]674
675 set DeltaR 0.5
676
677 set TauPTMin 1.0
678
679 set TauEtaMax 2.5
680
681 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
682
683 # default efficiency formula (misidentification rate)
[8713dee]684 add EfficiencyFormula {0} {0.01}
[d7d2da3]685 # efficiency formula for tau-jets
[8713dee]686 add EfficiencyFormula {15} {0.6}
[d7d2da3]687}
688
689#####################################################
690# Find uniquely identified photons/electrons/tau/jets
691#####################################################
692
693module UniqueObjectFinder UniqueObjectFinder {
694# earlier arrays take precedence over later ones
695# add InputArray InputArray OutputArray
696 add InputArray PhotonIsolation/photons photons
697 add InputArray ElectronIsolation/electrons electrons
[8839353]698 add InputArray MuonIsolation/muons muons
699 add InputArray JetEnergyScale/jets jets
[d7d2da3]700}
701
702##################
703# ROOT tree writer
704##################
705
[27bf162]706# tracks, towers and eflow objects are not stored by default in the output.
[282f591]707# if needed (for jet constituent or other studies), uncomment the relevant
708# "add Branch ..." lines.
[27bf162]709
[d7d2da3]710module TreeWriter TreeWriter {
711# add Branch InputArray BranchName BranchClass
712 add Branch Delphes/allParticles Particle GenParticle
[27bf162]713
[f2d7d0c]714 add Branch TrackMerger/tracks Track Track
[a39b82e]715 add Branch Calorimeter/towers Tower Tower
[282f591]716
[0593ac3]717 add Branch HCal/eflowTracks EFlowTrack Track
718 add Branch ECal/eflowPhotons EFlowPhoton Tower
719 add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
[282f591]720
[d7d2da3]721 add Branch GenJetFinder/jets GenJet Jet
[59d6164]722 add Branch GenMissingET/momentum GenMissingET MissingET
[0593ac3]723
[d7d2da3]724 add Branch UniqueObjectFinder/jets Jet Jet
725 add Branch UniqueObjectFinder/electrons Electron Electron
726 add Branch UniqueObjectFinder/photons Photon Photon
[8839353]727 add Branch UniqueObjectFinder/muons Muon Muon
[d7d2da3]728 add Branch MissingET/momentum MissingET MissingET
729 add Branch ScalarHT/energy ScalarHT ScalarHT
730}
Note: See TracBrowser for help on using the repository browser.