Fork me on GitHub

source: git/cards/FCC/FCChh.tcl@ fc2ef70

Last change on this file since fc2ef70 was be1a3be, checked in by Michele Selvaggi <michele.selvaggi@…>, 4 years ago

upated FCChh card to latest

  • Property mode set to 100644
File size: 30.7 KB
RevLine 
[5348ed9]1#
2# Official Delphes card prepared by FCC-hh collaboration
3#
[4b59725]4# Main authors: Michele Selvaggi (CERN)
[5348ed9]5#
[be1a3be]6# Released on: October 14th, 2020
7#
8# - fix muon resolution at high pT
9# - updated btagging, tau tagging and photon ID
10#
[5348ed9]11#
[4b59725]12# Configuration: FCC-hh baseline detector
[5348ed9]13#
14#######################################
15# Order of execution of various modules
16#######################################
17
18set ExecutionPath {
[27cd45c]19
[5348ed9]20 ParticlePropagator
[46936ad]21 TrackMergerProp
22
23 DenseProp
24 DenseMergeTracks
25 DenseTrackFilter
[5348ed9]26
27 ChargedHadronTrackingEfficiency
28 ElectronTrackingEfficiency
29 MuonTrackingEfficiency
30
31 ChargedHadronMomentumSmearing
32 ElectronMomentumSmearing
33 MuonMomentumSmearing
34
35 TrackMerger
36
37 ECal
38 HCal
39
40 Calorimeter
41 EFlowMerger
[93b4a8c]42 EFlowFilter
43
[5348ed9]44 PhotonEfficiency
45 PhotonIsolation
46
47 ElectronFilter
48 ElectronIsolation
49
[bdcf74c]50 ChargedHadronFilter
51
[5348ed9]52 MuonIsolation
53
54 NeutrinoFilter
55
56 MissingET
57 GenMissingET
58
[0c5bf12]59 GenJetFinder02
60 GenJetFinder04
61 GenJetFinder08
[e57c062]62 GenJetFinder15
[0c5bf12]63
64 FastJetFinder02
65 FastJetFinder04
66 FastJetFinder08
[e57c062]67 FastJetFinder15
[0c5bf12]68
69 CaloJetFinder02
70 CaloJetFinder04
71 CaloJetFinder08
[e57c062]72 CaloJetFinder15
[0c5bf12]73
74 TrackJetFinder02
75 TrackJetFinder04
76 TrackJetFinder08
[e57c062]77 TrackJetFinder15
[5348ed9]78
79 JetEnergyScale
80
81 JetFlavorAssociation
82
83 BTagging
84 CTagging
85 TauTagging
86
87 ScalarHT
88
89 UniqueObjectFinder
90
91 TreeWriter
92}
93
[46936ad]94#####################################
95# Track propagation to calorimeters
96#####################################
[5348ed9]97
98module ParticlePropagator ParticlePropagator {
99 set InputArray Delphes/stableParticles
100 set OutputArray stableParticles
101 set ChargedHadronOutputArray chargedHadrons
102 set ElectronOutputArray electrons
103 set MuonOutputArray muons
104
105 # radius of the magnetic field coverage, in m
106 set Radius 1.5
107 # half-length of the magnetic field coverage, in m
108 set HalfLength 5
109
110 # magnetic field
111 set Bz 4.0
112}
113
[46936ad]114
115##############
116# Track merger
117##############
118
119module Merger TrackMergerProp {
120# add InputArray InputArray
121 add InputArray ParticlePropagator/chargedHadrons
122 add InputArray ParticlePropagator/electrons
123 add InputArray ParticlePropagator/muons
124 set OutputArray tracks
125}
126
127
128####################################
129# Track propagation to pseudo-pixel
130####################################
131
132module ParticlePropagator DenseProp {
133
134 set InputArray TrackMergerProp/tracks
135
136 # radius of the magnetic field coverage, in m
137 set Radius 0.45
138 set RadiusMax 1.5
139 # half-length of the magnetic field coverage, in m
140 set HalfLength 0.8
141 set HalfLengthMax 5
142
143 # magnetic field
144 set Bz 4.0
145}
146
147#####################
148# Dense Track merger
149#####################
150
151module Merger DenseMergeTracks {
152# add InputArray InputArray
153 add InputArray DenseProp/chargedHadrons
154 add InputArray DenseProp/electrons
155 add InputArray DenseProp/muons
156 set OutputArray tracks
157}
158
159
160######################
161# Dense Track Filter
162######################
163
164module DenseTrackFilter DenseTrackFilter {
165
166 set TrackInputArray DenseMergeTracks/tracks
167
168 set TrackOutputArray tracks
169 set ChargedHadronOutputArray chargedHadrons
170 set ElectronOutputArray electrons
171 set MuonOutputArray muons
172
173 set EtaPhiRes 0.001
174 set EtaMax 6.0
175
176 set pi [expr {acos(-1)}]
177
178 set nbins_phi [expr {$pi/$EtaPhiRes} ]
179 set nbins_phi [expr {int($nbins_phi)} ]
180
181 set PhiBins {}
182 for {set i -$nbins_phi} {$i <= $nbins_phi} {incr i} {
183 add PhiBins [expr {$i * $pi/$nbins_phi}]
184 }
[e57c062]185
186 set nbins_eta [expr {$EtaMax/$EtaPhiRes} ]
187 set nbins_eta [expr {int($nbins_eta)} ]
188
189 for {set i -$nbins_eta} {$i <= $nbins_eta} {incr i} {
190 set eta [expr {$i * $EtaPhiRes}]
191 add EtaPhiBins $eta $PhiBins
192 }
[46936ad]193}
194
[5348ed9]195####################################
196# Charged hadron tracking efficiency
197####################################
198
199module Efficiency ChargedHadronTrackingEfficiency {
[46936ad]200 set InputArray DenseTrackFilter/chargedHadrons
[5348ed9]201 set OutputArray chargedHadrons
202
203 # TBC (which eta_max ? which pT min?)
204
205 # tracking efficiency formula for charged hadrons
206
207 set EfficiencyFormula { (pt <= 0.5) * (0.00) + \
[82b7a80]208(abs(eta) <= 2.5) * (pt > 0.5 && pt <= 1) * (0.90) + \
209(abs(eta) <= 2.5) * (pt > 1) * (0.95) + \
210(abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 0.5 && pt <= 1) * (0.85) + \
211(abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 1) * (0.90) + \
[5348ed9]212(abs(eta) > 4 && abs(eta) <= 6) * (pt > 0.5 && pt <= 1) * (0.80) + \
213(abs(eta) > 4 && abs(eta) <= 6) * (pt > 1.0) * (0.85) + \
214(abs(eta) > 6.0) * (0.00)}
215
216}
217
218##############################
219# Electron tracking efficiency
220##############################
221
222module Efficiency ElectronTrackingEfficiency {
[46936ad]223 set InputArray DenseTrackFilter/electrons
[5348ed9]224 set OutputArray electrons
225
226# TBC (which eta_max ?)
227# putting same as charged hadrons for now...
228
229 set EfficiencyFormula { (pt <= 0.5) * (0.00) + \
[82b7a80]230 (abs(eta) <= 2.5) * (pt > 0.5 && pt <= 1) * (0.90) + \
231 (abs(eta) <= 2.5) * (pt > 1) * (0.95) + \
232 (abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 0.5 && pt <= 1) * (0.85) + \
233 (abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 1) * (0.90) + \
[5348ed9]234 (abs(eta) > 4 && abs(eta) <= 6) * (pt > 0.5 && pt <= 1) * (0.80) + \
235 (abs(eta) > 4 && abs(eta) <= 6) * (pt > 1.0) * (0.85) + \
236 (abs(eta) > 6.0) * (0.00)}
237
238}
[46936ad]239
[5348ed9]240##########################
241# Muon tracking efficiency
242##########################
243
244module Efficiency MuonTrackingEfficiency {
[46936ad]245 set InputArray DenseTrackFilter/muons
[5348ed9]246 set OutputArray muons
247
248# TBC (which eta_max ? why eff = 0 for 4 < eta < 6 ? for now put the same as central)
249# what about high pT ?
250 # tracking efficiency formula for muons
251 set EfficiencyFormula { (pt <= 0.5) * (0.00) + \
252 (abs(eta) <= 6.0) * (pt > 0.5 && pt <= 1) * (0.90) + \
253 (abs(eta) <= 6.0) * (pt > 1) * (0.99) + \
254 (abs(eta) > 6.0) * (0.00)}
255
256}
257
258########################################
259# Momentum resolution for charged tracks
260########################################
261
262module MomentumSmearing ChargedHadronMomentumSmearing {
263 set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
264 set OutputArray chargedHadrons
265
266 source momentumResolutionVsP.tcl
267}
268
269
270###################################
271# Momentum resolution for electrons
272###################################
273
274module MomentumSmearing ElectronMomentumSmearing {
275 set InputArray ElectronTrackingEfficiency/electrons
276 set OutputArray electrons
277
278 source momentumResolutionVsP.tcl
279}
280
281
282###############################
283# Momentum resolution for muons
284###############################
285
286module MomentumSmearing MuonMomentumSmearing {
287 set InputArray MuonTrackingEfficiency/muons
288 set OutputArray muons
289
290 # TBC for just putting tracker resolution/ need to add improvement at high pT
291
292 source muonMomentumResolutionVsP.tcl
293}
294
295##############
296# Track merger
297##############
298
[46936ad]299module Merger TrackMerger {
[5348ed9]300# add InputArray InputArray
301 add InputArray ChargedHadronMomentumSmearing/chargedHadrons
302 add InputArray ElectronMomentumSmearing/electrons
303 add InputArray MuonMomentumSmearing/muons
304 set OutputArray tracks
305}
306
[27cd45c]307
[5348ed9]308#############
309# ECAL
310#############
311
312# TBC : calos seems ok, check eta max value though.
313
314module SimpleCalorimeter ECal {
315 set ParticleInputArray ParticlePropagator/stableParticles
316 set TrackInputArray TrackMerger/tracks
317
318 set TowerOutputArray ecalTowers
319 set EFlowTrackOutputArray eflowTracks
320 set EFlowTowerOutputArray eflowPhotons
321
322 set IsEcal true
323
324 set EnergyMin 0.5
325 set EnergySignificanceMin 2.0
326
327 set SmearTowerCenter true
328
329 set pi [expr {acos(-1)}]
330
331 # lists of the edges of each tower in eta and phi
332 # each list starts with the lower edge of the first tower
333 # the list ends with the higher edged of the last tower
334
[4b59725]335 # 0.012 rad towers up to eta = 2.5 (barrel)
[5348ed9]336 set PhiBins {}
337 for {set i -256} {$i <= 256} {incr i} {
338 add PhiBins [expr {$i * $pi/256.0}]
339 }
[4b59725]340
341 # 0.01 unit in eta up to eta = 2.5 (barrel)
342 for {set i -249} {$i <= 250} {incr i} {
343 set eta [expr {$i * 0.01}]
[5348ed9]344 add EtaPhiBins $eta $PhiBins
345 }
[4b59725]346
347 # 0.025 rad between 2.5 and 6.0
[5348ed9]348 set PhiBins {}
349 for {set i -128} {$i <= 128} {incr i} {
350 add PhiBins [expr {$i * $pi/128.0}]
351 }
[4b59725]352
353 # 0.025 unit in eta between 2.5 and 6.0
354 for {set i 0} {$i <= 140} {incr i} {
355 set eta [expr { -6.00 + $i * 0.025}]
[5348ed9]356 add EtaPhiBins $eta $PhiBins
357 }
358
[4b59725]359 for {set i 0} {$i <= 139} {incr i} {
360 set eta [expr { 2.525 + $i * 0.025}]
[5348ed9]361 add EtaPhiBins $eta $PhiBins
362 }
[4b59725]363
[5348ed9]364 # default energy fractions {abs(PDG code)} {fraction of energy deposited in ECAL}
365
366 add EnergyFraction {0} {0.0}
367 # energy fractions for e, gamma and pi0
368 add EnergyFraction {11} {1.0}
369 add EnergyFraction {22} {1.0}
370 add EnergyFraction {111} {1.0}
371 # energy fractions for muon, neutrinos and neutralinos
372 add EnergyFraction {12} {0.0}
373 add EnergyFraction {13} {0.0}
374 add EnergyFraction {14} {0.0}
375 add EnergyFraction {16} {0.0}
376 add EnergyFraction {1000022} {0.0}
377 add EnergyFraction {1000023} {0.0}
378 add EnergyFraction {1000025} {0.0}
379 add EnergyFraction {1000035} {0.0}
380 add EnergyFraction {1000045} {0.0}
381 # energy fractions for K0short and Lambda
382 # add EnergyFraction {310} {0.3}
383 # add EnergyFraction {3122} {0.3}
384
385 # set ECalResolutionFormula {resolution formula as a function of eta and energy}
[eb332c8]386 set ResolutionFormula { (abs(eta) <= 4.0) * sqrt(energy^2*0.007^2 + energy*0.10^2) + \
387 (abs(eta) > 4.0 && abs(eta) <= 6.0) * sqrt(energy^2*0.035^2 + energy*0.30^2)}
[5348ed9]388
389
390}
391
392#############
393# HCAL
394#############
395
396module SimpleCalorimeter HCal {
397 set ParticleInputArray ParticlePropagator/stableParticles
398 set TrackInputArray ECal/eflowTracks
399
400 set TowerOutputArray hcalTowers
401 set EFlowTrackOutputArray eflowTracks
402 set EFlowTowerOutputArray eflowNeutralHadrons
403
404 set IsEcal false
405
406 set EnergyMin 1.0
407 set EnergySignificanceMin 2.0
408
409 set SmearTowerCenter true
410
411 set pi [expr {acos(-1)}]
412
413 # lists of the edges of each tower in eta and phi
414 # each list starts with the lower edge of the first tower
415 # the list ends with the higher edged of the last tower
416
[4b59725]417 # 0.025 rad towers up to eta = 2.5 (barrel)
418 set PhiBins {}
419 for {set i -128} {$i <= 128} {incr i} {
420 add PhiBins [expr {$i * $pi/128.0}]
421 }
[5348ed9]422
[4b59725]423 # 0.025 unit in eta up to eta = 2.5 (barrel)
424 for {set i -99} {$i <= 100} {incr i} {
425 set eta [expr {$i * 0.025}]
[5348ed9]426 add EtaPhiBins $eta $PhiBins
427 }
428
[4b59725]429 # 0.05 rad between 2.5 and 6.0
[5348ed9]430 set PhiBins {}
[4b59725]431 for {set i -64} {$i <= 64} {incr i} {
432 add PhiBins [expr {$i * $pi/64.0}]
[5348ed9]433 }
[4b59725]434
435 # 0.05 unit in eta between 2.5 and 6.0
436 for {set i 0} {$i <= 70} {incr i} {
437 set eta [expr { -6.00 + $i * 0.05}]
[5348ed9]438 add EtaPhiBins $eta $PhiBins
439 }
440
[4b59725]441 for {set i 0} {$i <= 69} {incr i} {
442 set eta [expr { 2.55 + $i * 0.05}]
[5348ed9]443 add EtaPhiBins $eta $PhiBins
444 }
445
[4b59725]446
[5348ed9]447 # default energy fractions {abs(PDG code)} {Fecal Fhcal}
448 add EnergyFraction {0} {1.0}
449 # energy fractions for e, gamma and pi0
450 add EnergyFraction {11} {0.0}
451 add EnergyFraction {22} {0.0}
452 add EnergyFraction {111} {0.0}
453 # energy fractions for muon, neutrinos and neutralinos
454 add EnergyFraction {12} {0.0}
455 add EnergyFraction {13} {0.0}
456 add EnergyFraction {14} {0.0}
457 add EnergyFraction {16} {0.0}
458 add EnergyFraction {1000022} {0.0}
459 add EnergyFraction {1000023} {0.0}
460 add EnergyFraction {1000025} {0.0}
461 add EnergyFraction {1000035} {0.0}
462 add EnergyFraction {1000045} {0.0}
463 # energy fractions for K0short and Lambda
464 # add EnergyFraction {310} {0.7}
465 # add EnergyFraction {3122} {0.7}
466
467 # set HCalResolutionFormula {resolution formula as a function of eta and energy}
[4b59725]468 set ResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.03^2 + energy*0.50^2) + \
[eb332c8]469 (abs(eta) > 1.7 && abs(eta) <= 4.0) * sqrt(energy^2*0.03^2 + energy*0.60^2) + \
470 (abs(eta) > 4.0 && abs(eta) <= 6.0) * sqrt(energy^2*0.10^2 + energy*1.00^2)}
[5348ed9]471}
472
473#################
474# Electron filter
475#################
476
477module PdgCodeFilter ElectronFilter {
478 set InputArray HCal/eflowTracks
479 set OutputArray electrons
480 set Invert true
481 add PdgCode {11}
482 add PdgCode {-11}
483}
484
[bdcf74c]485
486######################
487# ChargedHadronFilter
488######################
489
490module PdgCodeFilter ChargedHadronFilter {
491 set InputArray HCal/eflowTracks
492 set OutputArray chargedHadrons
493
494 add PdgCode {11}
495 add PdgCode {-11}
496 add PdgCode {13}
497 add PdgCode {-13}
498}
499
500
[5348ed9]501###################################################
502# Tower Merger (in case not using e-flow algorithm)
503###################################################
504
505module Merger Calorimeter {
506# add InputArray InputArray
507 add InputArray ECal/ecalTowers
508 add InputArray HCal/hcalTowers
[0c5bf12]509 add InputArray MuonMomentumSmearing/muons
[5348ed9]510 set OutputArray towers
511}
512
513####################
514# Energy flow merger
515####################
516
517module Merger EFlowMerger {
518# add InputArray InputArray
519 add InputArray HCal/eflowTracks
520 add InputArray ECal/eflowPhotons
521 add InputArray HCal/eflowNeutralHadrons
522 set OutputArray eflow
523}
524
[93b4a8c]525######################
526# EFlowFilter
527######################
528
529module PdgCodeFilter EFlowFilter {
530 set InputArray EFlowMerger/eflow
531 set OutputArray eflow
532
533 add PdgCode {11}
534 add PdgCode {-11}
535 add PdgCode {13}
536 add PdgCode {-13}
537}
538
[5348ed9]539
540###################
541# Missing ET merger
542###################
543
544module Merger MissingET {
545# add InputArray InputArray
546 add InputArray EFlowMerger/eflow
547 set MomentumOutputArray momentum
548}
549
550
551
552##################
553# Scalar HT merger
554##################
555
556module Merger ScalarHT {
557# add InputArray InputArray
558 add InputArray EFlowMerger/eflow
559 set EnergyOutputArray energy
560}
561
562#################
563# Neutrino Filter
564#################
565
566module PdgCodeFilter NeutrinoFilter {
567
568 set InputArray Delphes/stableParticles
569 set OutputArray filteredParticles
570
571 set PTMin 0.0
572
573 add PdgCode {12}
574 add PdgCode {14}
575 add PdgCode {16}
576 add PdgCode {-12}
577 add PdgCode {-14}
578 add PdgCode {-16}
579
580}
581
582
[0c5bf12]583#########################
584# Gen Missing ET merger
585########################
586
587module Merger GenMissingET {
588
589# add InputArray InputArray
590 add InputArray NeutrinoFilter/filteredParticles
591 set MomentumOutputArray momentum
592}
593
594
[e57c062]595
[5348ed9]596#####################
597# MC truth jet finder
598#####################
599
600# TBC: is jet radius fine?
601
[0c5bf12]602module FastJetFinder GenJetFinder02 {
603 set InputArray NeutrinoFilter/filteredParticles
[5348ed9]604
605 set OutputArray jets
606
607 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
608 set JetAlgorithm 6
[0c5bf12]609 set ParameterR 0.2
610
611 set ComputeNsubjettiness 1
612 set Beta 1.0
613 set AxisMode 4
[5348ed9]614
[0c5bf12]615 set ComputeSoftDrop 1
616 set BetaSoftDrop 0.0
617 set SymmetryCutSoftDrop 0.1
618 set R0SoftDrop 0.2
619
620 set JetPTMin 25.0
[5348ed9]621}
622
623
[0c5bf12]624#####################
625# MC truth jet finder
626#####################
[5348ed9]627
[0c5bf12]628# TBC: is jet radius fine?
629
630module FastJetFinder GenJetFinder04 {
631 set InputArray NeutrinoFilter/filteredParticles
632
633 set OutputArray jets
634
635 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
636 set JetAlgorithm 6
637 set ParameterR 0.4
638
639 set ComputeNsubjettiness 1
640 set Beta 1.0
641 set AxisMode 4
642
643 set ComputeSoftDrop 1
644 set BetaSoftDrop 0.0
645 set SymmetryCutSoftDrop 0.1
646 set R0SoftDrop 0.4
647
648 set JetPTMin 25.0
[5348ed9]649}
[0c5bf12]650#####################
651# MC truth jet finder
652#####################
[5348ed9]653
[0c5bf12]654# TBC: is jet radius fine?
655
656module FastJetFinder GenJetFinder08 {
657 set InputArray NeutrinoFilter/filteredParticles
658
659 set OutputArray jets
660
661 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
662 set JetAlgorithm 6
663 set ParameterR 0.8
664
665 set ComputeNsubjettiness 1
666 set Beta 1.0
667 set AxisMode 4
668
669 set ComputeSoftDrop 1
670 set BetaSoftDrop 0.0
671 set SymmetryCutSoftDrop 0.1
672 set R0SoftDrop 0.8
[5348ed9]673
[0c5bf12]674 set JetPTMin 25.0
675}
[5348ed9]676
[e57c062]677#####################
678# MC truth jet finder
679#####################
680
681# TBC: is jet radius fine?
682
683module FastJetFinder GenJetFinder15 {
684 set InputArray NeutrinoFilter/filteredParticles
685
686 set OutputArray jets
687
688 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
689 set JetAlgorithm 6
690 set ParameterR 1.5
691
692 set ComputeNsubjettiness 1
693 set Beta 1.0
694 set AxisMode 4
695
696 set ComputeSoftDrop 1
697 set BetaSoftDrop 0.0
698 set SymmetryCutSoftDrop 0.1
699 set R0SoftDrop 1.5
700
701 set JetPTMin 25.0
702}
703
[5348ed9]704
[0c5bf12]705##################
706# Fast Jet finder
707##################
[5348ed9]708
[0c5bf12]709module FastJetFinder FastJetFinder02 {
[5348ed9]710 set InputArray EFlowMerger/eflow
711
712 set OutputArray jets
713
714 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
[0c5bf12]715 set JetAlgorithm 6
716 set ParameterR 0.2
717
718 set ComputeNsubjettiness 1
719 set Beta 1.0
720 set AxisMode 4
721
722 set ComputeSoftDrop 1
723 set BetaSoftDrop 0.0
724 set SymmetryCutSoftDrop 0.1
725 set R0SoftDrop 0.2
726
727 set JetPTMin 25.0
728}
729
730##################
731# Fast Jet finder
732##################
733
734module FastJetFinder FastJetFinder04 {
735 set InputArray EFlowMerger/eflow
736
737 set OutputArray jets
[5348ed9]738
[0c5bf12]739 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
[5348ed9]740 set JetAlgorithm 6
741 set ParameterR 0.4
742
[27cd45c]743 set ComputeNsubjettiness 1
744 set Beta 1.0
745 set AxisMode 4
746
[0c5bf12]747 set ComputeSoftDrop 1
748 set BetaSoftDrop 0.0
749 set SymmetryCutSoftDrop 0.1
750 set R0SoftDrop 0.4
751
752 set JetPTMin 25.0
753}
754
755
756##################
757# Fast Jet finder
758##################
759
760module FastJetFinder FastJetFinder08 {
761 set InputArray EFlowMerger/eflow
762
763 set OutputArray jets
[27cd45c]764
[0c5bf12]765 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
766 set JetAlgorithm 6
767 set ParameterR 0.8
768
769 set ComputeNsubjettiness 1
770 set Beta 1.0
771 set AxisMode 4
772
773 set ComputeSoftDrop 1
774 set BetaSoftDrop 0.0
775 set SymmetryCutSoftDrop 0.1
776 set R0SoftDrop 0.8
777
778 set JetPTMin 25.0
779}
780
[e57c062]781##################
782# Fast Jet finder
783##################
784
785module FastJetFinder FastJetFinder15 {
786 set InputArray EFlowMerger/eflow
787
788 set OutputArray jets
789
790 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
791 set JetAlgorithm 6
792 set ParameterR 1.5
793
794 set ComputeNsubjettiness 1
795 set Beta 1.0
796 set AxisMode 4
797
798 set ComputeSoftDrop 1
799 set BetaSoftDrop 0.0
800 set SymmetryCutSoftDrop 0.1
801 set R0SoftDrop 1.5
802
803 set JetPTMin 25.0
804}
[0c5bf12]805
806
807##################
808# Fast Jet finder
809##################
810
811module FastJetFinder CaloJetFinder02 {
812 set InputArray Calorimeter/towers
813
814 set OutputArray jets
815
816 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
817 set JetAlgorithm 6
818 set ParameterR 0.2
819
820 set ComputeNsubjettiness 1
821 set Beta 1.0
822 set AxisMode 4
823
824 set ComputeSoftDrop 1
825 set BetaSoftDrop 0.0
826 set SymmetryCutSoftDrop 0.1
827 set R0SoftDrop 0.2
828
829 set JetPTMin 25.0
830}
831
832##################
833# Fast Jet finder
834##################
835
836module FastJetFinder CaloJetFinder04 {
837 set InputArray Calorimeter/towers
838
839 set OutputArray jets
840
841 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
842 set JetAlgorithm 6
843 set ParameterR 0.4
844
845 set ComputeNsubjettiness 1
846 set Beta 1.0
847 set AxisMode 4
[27cd45c]848
849 set ComputeSoftDrop 1
850 set BetaSoftDrop 0.0
851 set SymmetryCutSoftDrop 0.1
[6d1fff5]852 set R0SoftDrop 0.4
[27cd45c]853
[0c5bf12]854 set JetPTMin 25.0
[5348ed9]855}
856
[0c5bf12]857
[96d6bcf]858##################
[0c5bf12]859# Fast Jet finder
[96d6bcf]860##################
861
[0c5bf12]862module FastJetFinder CaloJetFinder08 {
863 set InputArray Calorimeter/towers
[96d6bcf]864
865 set OutputArray jets
866
867 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
868 set JetAlgorithm 6
869 set ParameterR 0.8
870
871 set ComputeNsubjettiness 1
872 set Beta 1.0
873 set AxisMode 4
874
[0c5bf12]875 set ComputeSoftDrop 1
876 set BetaSoftDrop 0.0
877 set SymmetryCutSoftDrop 0.1
878 set R0SoftDrop 0.8
879
880 set JetPTMin 25.0
881}
882
[e57c062]883##################
884# Fast Jet finder
885##################
886
887module FastJetFinder CaloJetFinder15 {
888 set InputArray Calorimeter/towers
889
890 set OutputArray jets
891
892 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
893 set JetAlgorithm 6
894 set ParameterR 1.5
895
896 set ComputeNsubjettiness 1
897 set Beta 1.0
898 set AxisMode 4
899
900 set ComputeSoftDrop 1
901 set BetaSoftDrop 0.0
902 set SymmetryCutSoftDrop 0.1
903 set R0SoftDrop 1.5
904
905 set JetPTMin 25.0
906}
907
[0c5bf12]908
909##################
910# Fast Jet finder
911##################
912
913module FastJetFinder TrackJetFinder02 {
914 set InputArray TrackMerger/tracks
915
916 set OutputArray jets
917
918 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
919 set JetAlgorithm 6
920 set ParameterR 0.2
921
922 set ComputeNsubjettiness 1
923 set Beta 1.0
924 set AxisMode 4
925
926 set ComputeSoftDrop 1
927 set BetaSoftDrop 0.0
928 set SymmetryCutSoftDrop 0.1
929 set R0SoftDrop 0.2
930
931 set JetPTMin 25.0
932}
933
934##################
935# Fast Jet finder
936##################
937
938module FastJetFinder TrackJetFinder04 {
939 set InputArray TrackMerger/tracks
940
941 set OutputArray jets
942
943 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
944 set JetAlgorithm 6
945 set ParameterR 0.4
946
947 set ComputeNsubjettiness 1
948 set Beta 1.0
949 set AxisMode 4
950
951 set ComputeSoftDrop 1
952 set BetaSoftDrop 0.0
953 set SymmetryCutSoftDrop 0.1
954 set R0SoftDrop 0.4
955
956 set JetPTMin 25.0
957}
958
959
960##################
961# Fast Jet finder
962##################
963
964module FastJetFinder TrackJetFinder08 {
965 set InputArray TrackMerger/tracks
966
967 set OutputArray jets
968
969 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
970 set JetAlgorithm 6
971 set ParameterR 0.8
[96d6bcf]972
[0c5bf12]973 set ComputeNsubjettiness 1
974 set Beta 1.0
975 set AxisMode 4
[96d6bcf]976
977 set ComputeSoftDrop 1
978 set BetaSoftDrop 0.0
979 set SymmetryCutSoftDrop 0.1
980 set R0SoftDrop 0.8
981
[0c5bf12]982 set JetPTMin 25.0
[96d6bcf]983}
984
[e57c062]985##################
986# Fast Jet finder
987##################
988
989module FastJetFinder TrackJetFinder15 {
990 set InputArray TrackMerger/tracks
991
992 set OutputArray jets
993
994 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
995 set JetAlgorithm 6
996 set ParameterR 1.5
997
998 set ComputeNsubjettiness 1
999 set Beta 1.0
1000 set AxisMode 4
1001
1002 set ComputeSoftDrop 1
1003 set BetaSoftDrop 0.0
1004 set SymmetryCutSoftDrop 0.1
1005 set R0SoftDrop 1.5
1006
1007 set JetPTMin 25.0
1008}
[96d6bcf]1009
1010
[5348ed9]1011##################
1012# Jet Energy Scale
1013##################
1014
1015module EnergyScale JetEnergyScale {
[0c5bf12]1016 set InputArray FastJetFinder04/jets
[5348ed9]1017 set OutputArray jets
1018
1019 # scale formula for jets
1020 set ScaleFormula {1.00}
1021}
1022
1023
1024########################
1025# Jet Flavor Association
1026########################
1027
1028module JetFlavorAssociation JetFlavorAssociation {
1029
1030 set PartonInputArray Delphes/partons
1031 set ParticleInputArray Delphes/allParticles
1032 set ParticleLHEFInputArray Delphes/allParticlesLHEF
1033 set JetInputArray JetEnergyScale/jets
1034
1035 set DeltaR 0.5
1036 set PartonPTMin 5.0
1037 set PartonEtaMax 6.0
1038
1039}
1040
1041###################
1042# Photon efficiency
1043###################
1044
1045module Efficiency PhotonEfficiency {
1046 set InputArray ECal/eflowPhotons
1047 set OutputArray photons
1048
1049 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
1050
1051 set EfficiencyFormula {
[2b1e147]1052 (pt <= 1.0) * (0.00) + \
[2dfc52a]1053 (abs(eta) <= 2.5) * (pt > 1.0 && pt < 5.0) * (0.70) +
1054 (abs(eta) <= 2.5) * (pt > 5.0 && pt < 10.0) * (0.85) +
[be1a3be]1055 (abs(eta) <= 2.5) * (pt > 10.0) * (0.90) +
[2b1e147]1056
[2dfc52a]1057 (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 1.0 && pt < 5.0) * (0.60) +
1058 (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 5.0 && pt < 10.0) * (0.80) +
1059 (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.90) +
[2b1e147]1060
1061 (abs(eta) > 4.0 && abs(eta) <= 6.0) * (pt > 1.0 && pt < 5.0) * (0.50) + \
1062 (abs(eta) > 4.0 && abs(eta) <= 6.0) * (pt > 5.0 && pt < 10.0) * (0.70) + \
1063 (abs(eta) > 4.0 && abs(eta) <= 6.0) * (pt > 10.0) * (0.80) + \
[5348ed9]1064 (abs(eta) > 6.0) * (0.00)}
1065
1066}
1067
1068##################
1069# Photon isolation
1070##################
1071
1072# TBC: check values for iso cuts
1073
1074module Isolation PhotonIsolation {
1075 set CandidateInputArray PhotonEfficiency/photons
[93b4a8c]1076 set IsolationInputArray EFlowFilter/eflow
[5348ed9]1077
1078 set OutputArray photons
1079
1080 set DeltaRMax 0.3
1081
1082 set PTMin 0.5
1083
1084 set PTRatioMax 0.1
1085}
1086
1087
1088####################
1089# Electron isolation
1090####################
1091
1092# TBC: check values for iso cuts
1093
1094module Isolation ElectronIsolation {
1095 set CandidateInputArray ElectronFilter/electrons
[93b4a8c]1096 set IsolationInputArray EFlowFilter/eflow
[5348ed9]1097
1098 set OutputArray electrons
1099
1100 set DeltaRMax 0.3
1101
1102 set PTMin 0.5
1103
1104 set PTRatioMax 0.1
1105}
1106
1107
1108################
1109# Muon isolation
1110################
1111
1112# TBC: check values for iso cuts
1113
1114module Isolation MuonIsolation {
1115 set CandidateInputArray MuonMomentumSmearing/muons
[93b4a8c]1116 set IsolationInputArray EFlowFilter/eflow
[5348ed9]1117
1118 set OutputArray muons
1119
1120 set DeltaRMax 0.3
1121
1122 set PTMin 0.5
1123
1124 set PTRatioMax 0.2
1125}
1126
1127
[27cd45c]1128
[5348ed9]1129###########
1130# b-tagging
1131###########
1132
1133module BTagging BTagging {
1134 set JetInputArray JetEnergyScale/jets
1135
1136 set BitNumber 0
1137
1138 add EfficiencyFormula {0} {
1139
[82b7a80]1140 (pt <= 10.0) * (0.00) +
[7498fde]1141 (abs(eta) < 2.5) * (pt > 10.0 && pt < 500) * (0.01) + \
1142 (abs(eta) < 2.5) * (pt > 500.0 && pt < 15000.0) * (0.01)*(1.0 - pt/15000.) + \
1143 (abs(eta) < 2.5) * (pt > 15000.0) * (0.00) + \
[be1a3be]1144 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500) * (0.01) + \
1145 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.01)*(1.0 - pt/15000.) + \
[7498fde]1146 (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0) * (0.000) + \
[5348ed9]1147 (abs(eta) > 4.0) * (0.00)}
1148
1149 add EfficiencyFormula {4} {
1150
[82b7a80]1151 (pt <= 10.0) * (0.00) +
[be1a3be]1152 (abs(eta) < 2.5) * (pt > 10.0 && pt < 500) * (0.15) + \
1153 (abs(eta) < 2.5) * (pt > 500.0 && pt < 15000.0) * (0.15)*(1.0 - pt/15000.) + \
[7498fde]1154 (abs(eta) < 2.5) * (pt > 15000.0) * (0.000) + \
[be1a3be]1155 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500) * (0.10) + \
1156 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.10)*(1.0 - pt/15000.) + \
[7498fde]1157 (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0) * (0.000) + \
[5348ed9]1158 (abs(eta) > 4.0) * (0.00)}
1159
1160 add EfficiencyFormula {5} {
1161
[44b481d]1162 (pt <= 10.0) * (0.00) +
[be1a3be]1163 (abs(eta) < 2.5) * (pt > 10.0 && pt < 500) * (0.82) +
1164 (abs(eta) < 2.5) * (pt > 500.0 && pt < 15000.0) * (0.82)*(1.0 - pt/15000.) +
[7498fde]1165 (abs(eta) < 2.5) * (pt > 15000.0) * (0.000) +
[44b481d]1166 (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500) * (0.64) +
[7498fde]1167 (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.64)*(1.0 - pt/15000.) +
1168 (abs(eta) <= 2.5 && abs(eta) < 4.0) * (pt > 15000.0) * (0.000) +
[44b481d]1169 (abs(eta) >= 4.0) * (0.00)}
[5348ed9]1170
1171}
1172
1173###########
1174# c-tagging
1175###########
1176
1177module BTagging CTagging {
1178 set JetInputArray JetEnergyScale/jets
1179
1180 set BitNumber 1
1181
1182 add EfficiencyFormula {0} {
1183
1184 (pt <= 10.0) * (0.00) +
1185 (abs(eta) < 4.0) * (pt > 10.0) * (0.01) + \
1186 (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
1187
1188 add EfficiencyFormula {4} {
1189
1190 (pt <= 10.0) * (0.00) +
[5eda2de5]1191 (abs(eta) < 4.0) * (pt > 10.0) * (0.25) + \
[5348ed9]1192 (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
1193
1194 add EfficiencyFormula {5} {
1195
1196 (pt <= 10.0) * (0.00) +
[5eda2de5]1197 (abs(eta) < 4.0) * (pt > 10.0) * (0.03) + \
[5348ed9]1198 (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
1199
1200}
1201
1202
1203#############
1204# tau-tagging
1205#############
1206
1207
1208module TauTagging TauTagging {
1209 set ParticleInputArray Delphes/allParticles
1210 set PartonInputArray Delphes/partons
1211 set JetInputArray JetEnergyScale/jets
1212
1213 set DeltaR 0.5
1214
1215 set TauPTMin 1.0
1216
1217 set TauEtaMax 4.0
1218
1219 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
1220 add EfficiencyFormula {0} {
1221
[44b481d]1222 (pt <= 10.0) * (0.00) +
[be1a3be]1223 (abs(eta) < 2.5) * (pt > 10.0 && pt < 5000.0) * (0.02) + \
1224 (abs(eta) < 2.5) * (pt > 5000.0 && pt < 34000.0) * (0.02) *(8./9. - pt/30000.) + \
[44b481d]1225 (abs(eta) < 2.5) * (pt > 34000.0) * (0.000) + \
1226 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0) * (0.0075) + \
1227 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.0075)*(8./9. - pt/30000.) + \
1228 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0) * (0.00) + \
[82b7a80]1229 (abs(eta) > 4.0) * (0.00)}
[5348ed9]1230
1231 add EfficiencyFormula {11} {
1232
[44b481d]1233 (pt <= 10.0) * (0.00) +
[be1a3be]1234 (abs(eta) < 2.5) * (pt > 10.0 && pt < 5000.0) * (0.001) + \
1235 (abs(eta) < 2.5) * (pt > 5000.0 && pt < 34000.0) * (0.001) *(8./9. - pt/30000.) + \
[44b481d]1236 (abs(eta) < 2.5) * (pt > 34000.0) * (0.000) + \
[be1a3be]1237 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0) * (0.001) + \
1238 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.001)*(8./9. - pt/30000.) + \
[44b481d]1239 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0) * (0.00) + \
[82b7a80]1240 (abs(eta) > 4.0) * (0.00)}
[5348ed9]1241
1242 add EfficiencyFormula {15} {
1243
[44b481d]1244 (pt <= 10.0) * (0.00) +
[0453894]1245 (abs(eta) < 2.5) * (pt > 10.0 && pt < 5000.0) * (0.8) + \
1246 (abs(eta) < 2.5) * (pt > 5000.0 && pt < 34000.0) * (0.8) *(8./9. - pt/30000.) + \
[44b481d]1247 (abs(eta) < 2.5) * (pt > 34000.0) * (0.000) + \
[0453894]1248 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0) * (0.65) + \
1249 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.65)*(8./9. - pt/30000.) + \
[44b481d]1250 (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0) * (0.00) + \
1251 (abs(eta) > 4.0) * (0.00)}
[5348ed9]1252
1253}
1254
1255#####################################################
1256# Find uniquely identified photons/electrons/tau/jets
1257#####################################################
1258
1259module UniqueObjectFinder UniqueObjectFinder {
1260# earlier arrays take precedence over later ones
1261# add InputArray InputArray OutputArray
1262 add InputArray PhotonIsolation/photons photons
1263 add InputArray ElectronIsolation/electrons electrons
1264 add InputArray MuonIsolation/muons muons
1265 add InputArray JetEnergyScale/jets jets
1266
1267}
1268
1269
1270##################
1271# ROOT tree writer
1272##################
1273
1274module TreeWriter TreeWriter {
1275# add Branch InputArray BranchName BranchClass
1276 add Branch Delphes/allParticles Particle GenParticle
1277
1278 add Branch GenMissingET/momentum GenMissingET MissingET
[96c959a]1279 add Branch GenJetFinder02/jets GenJet Jet
[5348ed9]1280
1281 add Branch TrackMerger/tracks Track Track
1282 add Branch Calorimeter/towers Tower Tower
1283
1284 add Branch HCal/eflowTracks EFlowTrack Track
1285 add Branch ECal/eflowPhotons EFlowPhoton Tower
1286 add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
1287
1288 add Branch UniqueObjectFinder/photons Photon Photon
1289 add Branch UniqueObjectFinder/electrons Electron Electron
1290 add Branch UniqueObjectFinder/muons Muon Muon
1291 add Branch UniqueObjectFinder/jets Jet Jet
1292
[0c5bf12]1293 add Branch GenJetFinder02/jets GenJet02 Jet
1294 add Branch GenJetFinder04/jets GenJet04 Jet
1295 add Branch GenJetFinder08/jets GenJet08 Jet
[aa3c287]1296 add Branch GenJetFinder15/jets GenJet15 Jet
[0c5bf12]1297
1298 add Branch FastJetFinder02/jets ParticleFlowJet02 Jet
1299 add Branch FastJetFinder04/jets ParticleFlowJet04 Jet
1300 add Branch FastJetFinder08/jets ParticleFlowJet08 Jet
[aa3c287]1301 add Branch FastJetFinder15/jets ParticleFlowJet15 Jet
[0c5bf12]1302
1303 add Branch CaloJetFinder02/jets CaloJet02 Jet
1304 add Branch CaloJetFinder04/jets CaloJet04 Jet
1305 add Branch CaloJetFinder08/jets CaloJet08 Jet
[aa3c287]1306 add Branch CaloJetFinder15/jets CaloJet15 Jet
[0c5bf12]1307
1308 add Branch TrackJetFinder02/jets TrackJet02 Jet
1309 add Branch TrackJetFinder04/jets TrackJet04 Jet
1310 add Branch TrackJetFinder08/jets TrackJet08 Jet
[aa3c287]1311 add Branch TrackJetFinder15/jets TrackJet15 Jet
[96d6bcf]1312
[5348ed9]1313 add Branch MissingET/momentum MissingET MissingET
1314 add Branch ScalarHT/energy ScalarHT ScalarHT
1315}
1316
Note: See TracBrowser for help on using the repository browser.