Fork me on GitHub

source: git/cards/FCC/FCChh.tcl@ 800a168

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 800a168 was 96c959a, checked in by Michele Selvaggi <michele.selvaggi@…>, 7 years ago

fix etaphi res in DTF

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