Fork me on GitHub

source: git/cards/FCC/FCChh.tcl@ 1a8ef08

Last change on this file since 1a8ef08 was 0453894, checked in by Michele Selvaggi <michele.selvaggi@…>, 6 years ago

put more realistic tau eff for FCChh

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