Fork me on GitHub

source: git/cards/delphes_card_CMS_PileUp.tcl@ 443f093

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