Fork me on GitHub

source: svn/trunk/examples/delphes_card_CMS_PileUp.tcl@ 1343

Last change on this file since 1343 was 1326, checked in by Pavel Demin, 11 years ago

fix array name for vertices

File size: 20.8 KB
RevLine 
[1009]1#######################################
2# Order of execution of various modules
3#######################################
4
5set ExecutionPath {
[1031]6
[1009]7 PileUpMerger
8 ParticlePropagator
9
10 ChargedHadronTrackingEfficiency
11 ElectronTrackingEfficiency
12 MuonTrackingEfficiency
13
14 ChargedHadronMomentumSmearing
15 ElectronEnergySmearing
16 MuonMomentumSmearing
17
18 TrackMerger
19 Calorimeter
[1072]20 TrackPileUpSubtractor
[1009]21 EFlowMerger
22
[1074]23 GenJetFinder
24
[1031]25 Rho
[1009]26 FastJetFinder
27 JetPileUpSubtractor
[1031]28
[1256]29 JetEnergyScale
[1074]30
[1009]31 PhotonEfficiency
32 PhotonIsolation
[1031]33
[1009]34 ElectronEfficiency
35 ElectronIsolation
[1031]36
[1009]37 MuonEfficiency
38 MuonIsolation
[1031]39
[1009]40 MissingET
[1031]41
[1009]42 BTagging
43 TauTagging
[1031]44
[1009]45 UniqueObjectFinder
[1031]46
[1009]47 ScalarHT
[1031]48
[1009]49 TreeWriter
50}
51
[1016]52###############
[1009]53# PileUp Merger
[1016]54###############
[1009]55
56module PileUpMerger PileUpMerger {
57 set InputArray Delphes/stableParticles
[1016]58
[1326]59 set ParticleOutputArray stableParticles
60 set VertexOutputArray vertices
[1031]61
[1016]62 # pre-generated minbias input file
[1072]63 set PileUpFile MinBias.pileup
[1009]64
[1031]65 # average expected pile up
[1023]66 set MeanPileUp 50
[1009]67 # spread in the beam direction in m (assumes gaussian)
[1031]68 set ZVertexSpread 0.07
[1009]69}
[1026]70
[1009]71#################################
72# Propagate particles in cylinder
73#################################
74
75module ParticlePropagator ParticlePropagator {
76 set InputArray PileUpMerger/stableParticles
77
78 set OutputArray stableParticles
79 set ChargedHadronOutputArray chargedHadrons
80 set ElectronOutputArray electrons
81 set MuonOutputArray muons
82
83 # radius of the magnetic field coverage, in m
84 set Radius 1.29
85 # half-length of the magnetic field coverage, in m
86 set HalfLength 3.00
87
88 # magnetic field
89 set Bz 3.8
90}
91
92####################################
93# Charged hadron tracking efficiency
94####################################
95
96module Efficiency ChargedHadronTrackingEfficiency {
[1072]97 set InputArray ParticlePropagator/chargedHadrons
[1009]98 set OutputArray chargedHadrons
99
100 # add EfficiencyFormula {efficiency formula as a function of eta and pt}
101
102 # tracking efficiency formula for charged hadrons
103 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \
104 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + \
105 (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) + \
106 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) + \
107 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) + \
108 (abs(eta) > 2.5) * (0.00)}
109}
110
111##############################
112# Electron tracking efficiency
113##############################
114
115module Efficiency ElectronTrackingEfficiency {
[1072]116 set InputArray ParticlePropagator/electrons
[1009]117 set OutputArray electrons
118
119 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
[1031]120
[1009]121 # tracking efficiency formula for electrons
122 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \
123 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) + \
124 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) + \
125 (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) + \
126 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) + \
127 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) + \
128 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) + \
129 (abs(eta) > 2.5) * (0.00)}
130}
131
[1031]132##########################
[1009]133# Muon tracking efficiency
[1031]134##########################
[1009]135
136module Efficiency MuonTrackingEfficiency {
[1072]137 set InputArray ParticlePropagator/muons
[1009]138 set OutputArray muons
139
140 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
[1031]141
[1009]142 # tracking efficiency formula for muons
143 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \
144 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) + \
145 (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) + \
146 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + \
147 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) + \
148 (abs(eta) > 2.5) * (0.00)}
149}
150
151########################################
152# Momentum resolution for charged tracks
153########################################
154
155module MomentumSmearing ChargedHadronMomentumSmearing {
156 set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
157 set OutputArray chargedHadrons
158
159 # set ResolutionFormula {resolution formula as a function of eta and pt}
160
161 # resolution formula for charged hadrons
[1278]162 set ResolutionFormula { (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.02) + \
163 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e1) * (0.01) + \
164 (abs(eta) <= 1.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.03) + \
165 (abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05) + \
166 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.03) + \
167 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e1) * (0.02) + \
168 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.04) + \
169 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05)}
[1009]170}
171
172#################################
173# Energy resolution for electrons
174#################################
175
176module EnergySmearing ElectronEnergySmearing {
177 set InputArray ElectronTrackingEfficiency/electrons
178 set OutputArray electrons
179
180 # set ResolutionFormula {resolution formula as a function of eta and energy}
181
[1256]182 # resolution formula for electrons
[1301]183 set ResolutionFormula { (abs(eta) <= 2.5) * (energy > 0.1 && energy <= 2.0e1) * (energy*0.0225) + \
[1256]184 (abs(eta) <= 2.5) * (energy > 2.0e1) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + \
185 (abs(eta) > 2.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + \
[1009]186 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
187
188}
189
190###############################
191# Momentum resolution for muons
192###############################
193
194module MomentumSmearing MuonMomentumSmearing {
195 set InputArray MuonTrackingEfficiency/muons
196 set OutputArray muons
197
198 # set ResolutionFormula {resolution formula as a function of eta and pt}
199
200 # resolution formula for muons
[1256]201 set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1 && pt <= 5.0) * (0.02) + \
202 (abs(eta) <= 0.5) * (pt > 5.0 && pt <= 1.0e2) * (0.015) + \
[1320]203 (abs(eta) <= 0.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.03) + \
204 (abs(eta) <= 0.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) + \
[1256]205 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1 && pt <= 5.0) * (0.03) + \
206 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 5.0 && pt <= 1.0e2) * (0.02) + \
[1320]207 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.04) + \
208 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) + \
[1256]209 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 5.0) * (0.04) + \
210 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 5.0 && pt <= 1.0e2) * (0.035) + \
[1320]211 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.05) + \
212 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4)}
[1009]213}
214
215##############
216# Track merger
217##############
218
219module Merger TrackMerger {
220# add InputArray InputArray
221 add InputArray ChargedHadronMomentumSmearing/chargedHadrons
222 add InputArray ElectronEnergySmearing/electrons
[1301]223 add InputArray MuonMomentumSmearing/muons
[1009]224 set OutputArray tracks
225}
226
227#############
228# Calorimeter
229#############
230
231module Calorimeter Calorimeter {
232 set ParticleInputArray ParticlePropagator/stableParticles
233 set TrackInputArray TrackMerger/tracks
234
235 set TowerOutputArray towers
236 set PhotonOutputArray photons
237
238 set EFlowTrackOutputArray eflowTracks
239 set EFlowTowerOutputArray eflowTowers
240
241 set pi [expr {acos(-1)}]
[1031]242
[1009]243 # lists of the edges of each tower in eta and phi
244 # each list starts with the lower edge of the first tower
245 # the list ends with the higher edged of the last tower
246
247 # 5 degrees towers
248 set PhiBins {}
[1031]249 for {set i -36} {$i <= 36} {incr i} {
[1009]250 add PhiBins [expr {$i * $pi/36.0}]
251 }
[1031]252 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} {
[1009]253 add EtaPhiBins $eta $PhiBins
254 }
255
256 # 10 degrees towers
257 set PhiBins {}
[1031]258 for {set i -18} {$i <= 18} {incr i} {
[1009]259 add PhiBins [expr {$i * $pi/18.0}]
260 }
[1031]261 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} {
[1009]262 add EtaPhiBins $eta $PhiBins
263 }
[1031]264
[1009]265 # 20 degrees towers
266 set PhiBins {}
[1031]267 for {set i -9} {$i <= 9} {incr i} {
[1009]268 add PhiBins [expr {$i * $pi/9.0}]
[1031]269 }
270 foreach eta {-5 -4.7 -4.525 4.7 5} {
[1009]271 add EtaPhiBins $eta $PhiBins
272 }
273
274 # default energy fractions {abs(PDG code)} {Fecal Fhcal}
275 add EnergyFraction {0} {0.0 1.0}
276 # energy fractions for e, gamma and pi0
277 add EnergyFraction {11} {1.0 0.0}
278 add EnergyFraction {22} {1.0 0.0}
279 add EnergyFraction {111} {1.0 0.0}
[1076]280 # energy fractions for muon, neutrinos and neutralinos
[1009]281 add EnergyFraction {12} {0.0 0.0}
282 add EnergyFraction {13} {0.0 0.0}
283 add EnergyFraction {14} {0.0 0.0}
284 add EnergyFraction {16} {0.0 0.0}
[1076]285 add EnergyFraction {1000022} {0.0 0.0}
286 add EnergyFraction {1000023} {0.0 0.0}
287 add EnergyFraction {1000025} {0.0 0.0}
288 add EnergyFraction {1000035} {0.0 0.0}
289 add EnergyFraction {1000045} {0.0 0.0}
[1009]290 # energy fractions for K0short and Lambda
291 add EnergyFraction {310} {0.3 0.7}
292 add EnergyFraction {3122} {0.3 0.7}
[1031]293
[1009]294 # set ECalResolutionFormula {resolution formula as a function of eta and energy}
[1256]295 set ECalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + \
[1009]296 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
297
298 # set HCalResolutionFormula {resolution formula as a function of eta and energy}
[1278]299 set HCalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) + \
300 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.130^2 + energy*2.70^2)}
[1009]301}
302
[1072]303##########################
304# Track pile-up subtractor
305##########################
306
307module TrackPileUpSubtractor TrackPileUpSubtractor {
308# add InputArray InputArray OutputArray
309 add InputArray Calorimeter/eflowTracks eflowTracks
310 add InputArray ElectronEnergySmearing/electrons electrons
311 add InputArray MuonMomentumSmearing/muons muons
312
313 # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
314 # Z vertex resolution in m
315 set ZVertexResolution 0.0001
316}
317
[1009]318####################
319# Energy flow merger
320####################
321
322module Merger EFlowMerger {
323# add InputArray InputArray
[1072]324 add InputArray TrackPileUpSubtractor/eflowTracks
[1009]325 add InputArray Calorimeter/eflowTowers
326 set OutputArray eflow
327}
328
[1031]329#############
[1009]330# Rho pile-up
[1031]331#############
[1009]332
333module FastJetFinder Rho {
334# set InputArray Calorimeter/towers
335 set InputArray EFlowMerger/eflow
[1031]336
[1009]337 set ComputeRho true
[1031]338 set RhoOutputArray rho
[1009]339
[1023]340 # 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
[1009]341 set AreaAlgorithm 5
[1023]342
[1009]343 # jet algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
344 set JetAlgorithm 4
345 set ParameterR 0.6
346 set GhostEtaMax 5.0
[1316]347
348 add RhoEtaRange 0.0 2.5
349 add RhoEtaRange 2.5 5.0
[1009]350
351 set JetPTMin 0.0
352}
353
[1074]354#####################
355# MC truth jet finder
356#####################
357
358module FastJetFinder GenJetFinder {
359 set InputArray Delphes/stableParticles
360
361 set OutputArray jets
362
363 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
364 set JetAlgorithm 6
365 set ParameterR 0.5
366
367 set JetPTMin 20.0
368}
369
[1009]370############
371# Jet finder
372############
373
374module FastJetFinder FastJetFinder {
375# set InputArray Calorimeter/towers
376 set InputArray EFlowMerger/eflow
377
378 set OutputArray jets
[1071]379
[1036]380 # 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
381 set AreaAlgorithm 5
[1071]382
[1009]383 # jet algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
384 set JetAlgorithm 6
385 set ParameterR 0.5
386
387 set JetPTMin 20.0
388}
389
390###########################
391# Jet Pile-Up Subtraction
392###########################
393
394module JetPileUpSubtractor JetPileUpSubtractor {
395 set JetInputArray FastJetFinder/jets
396 set RhoInputArray Rho/rho
[1031]397
[1009]398 set OutputArray jets
[1031]399
[1009]400 set JetPTMin 20.0
401}
402
[1256]403##################
404# Jet Energy Scale
405##################
406
407module EnergyScale JetEnergyScale {
408 set InputArray JetPileUpSubtractor/jets
409 set OutputArray jets
410
411 # scale formula for jets
412 set ScaleFormula {1.0}
413}
414
[1009]415###################
416# Photon efficiency
417###################
418
419module Efficiency PhotonEfficiency {
420 set InputArray Calorimeter/photons
421 set OutputArray photons
422
423 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
424
425 # efficiency formula for photons
426 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
427 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \
428 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + \
429 (abs(eta) > 2.5) * (0.00)}
430}
431
432##################
433# Photon isolation
434##################
435
436module Isolation PhotonIsolation {
437 set CandidateInputArray PhotonEfficiency/photons
438 set IsolationInputArray EFlowMerger/eflow
[1023]439 set RhoInputArray Rho/rho
[1031]440
[1009]441 set OutputArray photons
442
443 set DeltaRMax 0.5
444
445 set PTMin 0.5
446
447 set PTRatioMax 0.1
448}
449
450#####################
451# Electron efficiency
452#####################
453
454module Efficiency ElectronEfficiency {
[1072]455 set InputArray TrackPileUpSubtractor/electrons
[1009]456 set OutputArray electrons
457
458 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
459
460 # efficiency formula for electrons
461 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
462 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \
463 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + \
464 (abs(eta) > 2.5) * (0.00)}
465}
466
467####################
468# Electron isolation
469####################
470
471module Isolation ElectronIsolation {
472 set CandidateInputArray ElectronEfficiency/electrons
473 set IsolationInputArray EFlowMerger/eflow
474 set RhoInputArray Rho/rho
[1031]475
[1009]476 set OutputArray electrons
477
478 set DeltaRMax 0.5
479
480 set PTMin 0.5
481
482 set PTRatioMax 0.1
483}
484
485#################
486# Muon efficiency
487#################
488
489module Efficiency MuonEfficiency {
[1072]490 set InputArray TrackPileUpSubtractor/muons
[1009]491 set OutputArray muons
492
493 # set EfficiencyFormula {efficiency as a function of eta and pt}
494
495 # efficiency formula for muons
[1320]496 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
497 (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) + \
498 (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) + \
499 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) + \
500 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) + \
501 (abs(eta) > 2.4) * (0.00)}
[1009]502}
503
504################
505# Muon isolation
506################
507
508module Isolation MuonIsolation {
509 set CandidateInputArray MuonEfficiency/muons
510 set IsolationInputArray EFlowMerger/eflow
511 set RhoInputArray Rho/rho
[1031]512
[1009]513 set OutputArray muons
514
515 set DeltaRMax 0.5
516
517 set PTMin 0.5
518
519 set PTRatioMax 0.1
520}
521
522###################
523# Missing ET merger
524###################
525
526module Merger MissingET {
527# add InputArray InputArray
[1301]528 add InputArray Calorimeter/eflowTracks
529 add InputArray Calorimeter/eflowTowers
[1009]530 set MomentumOutputArray momentum
531}
532
533##################
534# Scalar HT merger
535##################
536
537module Merger ScalarHT {
538# add InputArray InputArray
539 add InputArray UniqueObjectFinder/jets
540 add InputArray UniqueObjectFinder/electrons
541 add InputArray UniqueObjectFinder/photons
[1256]542 add InputArray UniqueObjectFinder/muons
[1009]543 set EnergyOutputArray energy
544}
545
546###########
547# b-tagging
548###########
549
550module BTagging BTagging {
551 set PartonInputArray Delphes/partons
[1256]552 set JetInputArray JetEnergyScale/jets
[1009]553
[1099]554 set BitNumber 0
555
[1009]556 set DeltaR 0.5
557
558 set PartonPTMin 1.0
559
560 set PartonEtaMax 2.5
561
562 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
563 # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
564 # gluon's PDG code has the lowest priority
565
566 # https://twiki.cern.ch/twiki/bin/view/CMSPublic/PhysicsResultsBTV
567 # default efficiency formula (misidentification rate)
568 add EfficiencyFormula {0} {0.001}
569
570 # efficiency formula for c-jets (misidentification rate)
571 add EfficiencyFormula {4} { (pt <= 15.0) * (0.000) + \
572 (abs(eta) <= 1.2) * (pt > 15.0) * (0.2*tanh(pt*0.03 - 0.4)) + \
573 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.1*tanh(pt*0.03 - 0.4)) + \
[1031]574 (abs(eta) > 2.5) * (0.000)}
575
[1009]576 # efficiency formula for b-jets
577 add EfficiencyFormula {5} { (pt <= 15.0) * (0.000) + \
578 (abs(eta) <= 1.2) * (pt > 15.0) * (0.5*tanh(pt*0.03 - 0.4)) + \
579 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.4*tanh(pt*0.03 - 0.4)) + \
580 (abs(eta) > 2.5) * (0.000)}
581}
582
583module TauTagging TauTagging {
584 set ParticleInputArray Delphes/allParticles
585 set PartonInputArray Delphes/partons
[1256]586 set JetInputArray JetEnergyScale/jets
[1009]587
588 set DeltaR 0.5
589
590 set TauPTMin 1.0
591
592 set TauEtaMax 2.5
593
594 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
595
596 # default efficiency formula (misidentification rate)
597 add EfficiencyFormula {0} {0.001}
598 # efficiency formula for tau-jets
599 add EfficiencyFormula {15} {0.4}
600}
601
602#####################################################
603# Find uniquely identified photons/electrons/tau/jets
604#####################################################
605
606module UniqueObjectFinder UniqueObjectFinder {
607# earlier arrays take precedence over later ones
608# add InputArray InputArray OutputArray
609 add InputArray PhotonIsolation/photons photons
610 add InputArray ElectronIsolation/electrons electrons
[1256]611 add InputArray MuonIsolation/muons muons
612 add InputArray JetEnergyScale/jets jets
[1009]613}
614
615##################
616# ROOT tree writer
617##################
618
619module TreeWriter TreeWriter {
620# add Branch InputArray BranchName BranchClass
621 add Branch Delphes/allParticles Particle GenParticle
622 add Branch TrackMerger/tracks Track Track
623 add Branch Calorimeter/towers Tower Tower
[1257]624 add Branch Calorimeter/eflowTracks EFlowTrack Track
625 add Branch Calorimeter/eflowTowers EFlowTower Tower
[1074]626 add Branch GenJetFinder/jets GenJet Jet
[1009]627 add Branch UniqueObjectFinder/jets Jet Jet
628 add Branch UniqueObjectFinder/electrons Electron Electron
629 add Branch UniqueObjectFinder/photons Photon Photon
[1256]630 add Branch UniqueObjectFinder/muons Muon Muon
[1009]631 add Branch MissingET/momentum MissingET MissingET
632 add Branch ScalarHT/energy ScalarHT ScalarHT
[1114]633 add Branch Rho/rho Rho Rho
[1326]634 add Branch PileUpMerger/vertices Vertex Vertex
[1009]635}
636
Note: See TracBrowser for help on using the repository browser.