Fork me on GitHub

source: git/cards/delphes_card_CLICdet.tcl@ 197fed7

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 197fed7 was d85c7c5, checked in by Ulrike Schnoor <schnooru@…>, 7 years ago

added various combinations of R param and Njets (excl. clustering) to CLICdet card

  • Property mode set to 100644
File size: 30.5 KB
Line 
1#######################################
2# CLICdet model
3# based on CLICdp-Note-2017-001
4# Ulrike Schnoor ulrike.schnoor@cern.ch
5#
6# Jet finding with Valencia algorithm:
7# use exclusive clustering with njets
8# according to final state
9#
10#######################################
11# Order of execution of various modules
12#######################################
13
14set ExecutionPath {
15 ParticlePropagator
16
17 ChargedHadronTrackingEfficiency
18 ElectronTrackingEfficiency
19 MuonTrackingEfficiency
20
21 ChargedHadronMomentumSmearing
22 ElectronMomentumSmearing
23 MuonMomentumSmearing
24
25 TrackMerger
26
27 ECal
28 HCal
29
30 Calorimeter
31 EFlowMerger
32 EFlowFilter
33
34 PhotonEfficiency
35 PhotonIsolation
36
37 ElectronFilter
38 ElectronEfficiency
39 ElectronIsolation
40
41 ChargedHadronFilter
42
43 MuonEfficiency
44 MuonIsolation
45
46 NeutrinoFilter
47 GenJetFinder
48 FastJetFinderKt
49 FastJetFinderVLC_R05_N2
50 FastJetFinderVLC_R05_N3
51 FastJetFinderVLC_R05_N4
52 FastJetFinderVLC_R05_N5
53 FastJetFinderVLC_R05_N6
54 FastJetFinderVLC_R07_N2
55 FastJetFinderVLC_R07_N3
56 FastJetFinderVLC_R07_N4
57 FastJetFinderVLC_R07_N5
58 FastJetFinderVLC_R07_N6
59 FastJetFinderVLC_R10_N2
60 FastJetFinderVLC_R10_N3
61 FastJetFinderVLC_R10_N4
62 FastJetFinderVLC_R10_N5
63 FastJetFinderVLC_R10_N6
64 FastJetFinderVLC_R12_N2
65 FastJetFinderVLC_R12_N3
66 FastJetFinderVLC_R12_N4
67 FastJetFinderVLC_R12_N5
68 FastJetFinderVLC_R12_N6
69 FastJetFinderVLC_R15_N2
70 FastJetFinderVLC_R15_N3
71 FastJetFinderVLC_R15_N4
72 FastJetFinderVLC_R15_N5
73 FastJetFinderVLC_R15_N6
74
75
76
77 MissingET
78 GenMissingET
79
80 JetEnergyScale
81
82 JetFlavorAssociation
83
84 BTagging
85
86 TauTagging
87
88 ScalarHT
89
90 UniqueObjectFinder
91
92 TreeWriter
93}
94
95#################################
96# Propagate particles in cylinder
97#################################
98
99module ParticlePropagator ParticlePropagator {
100 set InputArray Delphes/stableParticles
101
102 set OutputArray stableParticles
103 set ChargedHadronOutputArray chargedHadrons
104 set ElectronOutputArray electrons
105 set MuonOutputArray muons
106
107 # radius of the magnetic field coverage in the calorimeter, in m
108 set Radius 1.5
109 # half-length of the magnetic field coverage in the calorimeter, in m
110 set HalfLength 2.31
111
112 # magnetic field, in T
113 set Bz 4.0
114}
115
116####################################
117# Charged hadron tracking efficiency
118####################################
119
120module Efficiency ChargedHadronTrackingEfficiency {
121 set InputArray ParticlePropagator/chargedHadrons
122 set OutputArray chargedHadrons
123
124 # FIXME currently uses tracking efficiency from muon simulation
125 set EfficiencyFormula {
126 (abs(eta) > 2.66) * (0.000) +
127 (abs(eta) < 2.66 && abs(eta) > 2.44) * (pt > 0.1) * (0.997) +
128 (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.1 && pt < 0.174) * (0.997) +
129 (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.174) * (1.000) +
130 (abs(eta) < 2.25) * (pt > 0.1) * (1.000) }
131}
132
133##############################
134# Electron tracking efficiency
135##############################
136
137module Efficiency ElectronTrackingEfficiency {
138 set InputArray ParticlePropagator/electrons
139 set OutputArray electrons
140
141 # FIXME currently uses tracking efficiency from muon simulation
142 set EfficiencyFormula {
143 (abs(eta) > 2.66) * (0.000) +
144 (abs(eta) < 2.66 && abs(eta) > 2.44) * (pt > 0.1) * (0.997) +
145 (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.1 && pt < 0.174) * (0.997) +
146 (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.174) * (1.000) +
147 (abs(eta) < 2.25) * (pt > 0.1) * (1.000)
148 }
149}
150
151##########################
152# Muon tracking efficiency
153##########################
154
155module Efficiency MuonTrackingEfficiency {
156 set InputArray ParticlePropagator/muons
157 set OutputArray muons
158
159 # Current full simulation with CLICdet provides for muons:
160 set EfficiencyFormula {
161 (abs(eta) > 2.66) * (0.000) +
162 (abs(eta) < 2.66 && abs(eta) > 2.44) * (pt > 0.1) * (0.997) +
163 (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.1 && pt < 0.174) * (0.997) +
164 (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.174) * (1.000) +
165 (abs(eta) < 2.25) * (pt > 0.1) * (1.000)
166 }
167}
168
169########################################
170# Momentum resolution for charged tracks
171########################################
172
173module MomentumSmearing ChargedHadronMomentumSmearing {
174 set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
175 set OutputArray chargedHadrons
176
177 # Using eta mid-points between evaluated resolutions from full simulation
178 # Resolution given in dpT/pT.
179 # FIXME: currently uses momentum resolution from single muon simulation!
180 set ResolutionFormula {
181 (abs(eta) <= 0.26) * (pt > 0.1) * sqrt(0.0162^2 + pt^2*5.863e-4^2) +
182 (abs(eta) > 0.26 && abs(eta) <= 0.45) * (pt > 0.1) * sqrt(0.0065^2 + pt^2*5.949e-5^2) +
183 (abs(eta) > 0.45 && abs(eta) <= 0.65) * (pt > 0.1) * sqrt(0.0041^2 + pt^2*3.014e-5^2) +
184 (abs(eta) > 0.65 && abs(eta) <= 2.75) * (pt > 0.1) * sqrt(0.0036^2 + pt^2*2.977e-5^2) +
185 (abs(eta) > 2.75) * (pt > 0.1) * sqrt(0.0021^2 + pt^2*2.189e-5^2)
186 }
187}
188
189###################################
190# Momentum resolution for electrons
191###################################
192
193module MomentumSmearing ElectronMomentumSmearing {
194 set InputArray ElectronTrackingEfficiency/electrons
195 set OutputArray electrons
196
197 # Using eta mid-points between evaluated resolutions from full simulation
198 # Resolution given in dpT/pT.
199 # FIXME: currently uses momentum resolution from single muon simulation!
200 set ResolutionFormula {
201 (abs(eta) <= 0.26) * (pt > 0.1) * sqrt(0.0162^2 + pt^2*5.863e-4^2) +
202 (abs(eta) > 0.26 && abs(eta) <= 0.45) * (pt > 0.1) * sqrt(0.0065^2 + pt^2*5.949e-5^2) +
203 (abs(eta) > 0.45 && abs(eta) <= 0.65) * (pt > 0.1) * sqrt(0.0041^2 + pt^2*3.014e-5^2) +
204 (abs(eta) > 0.65 && abs(eta) <= 2.75) * (pt > 0.1) * sqrt(0.0036^2 + pt^2*2.977e-5^2) +
205 (abs(eta) > 2.75) * (pt > 0.1) * sqrt(0.0021^2 + pt^2*2.189e-5^2)
206 }
207}
208
209###############################
210# Momentum resolution for muons
211###############################
212
213module MomentumSmearing MuonMomentumSmearing {
214 set InputArray MuonTrackingEfficiency/muons
215 set OutputArray muons
216
217 # Using eta mid-points between evaluated resolutions from full simulation
218 # Resolution given in dpT/pT.
219 set ResolutionFormula {
220 (abs(eta) <= 0.26) * (pt > 0.1) * sqrt(0.0162^2 + pt^2*5.863e-4^2) +
221 (abs(eta) > 0.26 && abs(eta) <= 0.45) * (pt > 0.1) * sqrt(0.0065^2 + pt^2*5.949e-5^2) +
222 (abs(eta) > 0.45 && abs(eta) <= 0.65) * (pt > 0.1) * sqrt(0.0041^2 + pt^2*3.014e-5^2) +
223 (abs(eta) > 0.65 && abs(eta) <= 2.75) * (pt > 0.1) * sqrt(0.0036^2 + pt^2*2.977e-5^2) +
224 (abs(eta) > 2.75) * (pt > 0.1) * sqrt(0.0021^2 + pt^2*2.189e-5^2)
225 }
226}
227
228##############
229# Track merger
230##############
231
232module Merger TrackMerger {
233 # add InputArray InputArray
234 add InputArray ChargedHadronMomentumSmearing/chargedHadrons
235 add InputArray ElectronMomentumSmearing/electrons
236 add InputArray MuonMomentumSmearing/muons
237 set OutputArray tracks
238}
239
240#############
241# ECAL
242#############
243
244module SimpleCalorimeter ECal {
245 set ParticleInputArray ParticlePropagator/stableParticles
246 set TrackInputArray TrackMerger/tracks
247
248 set TowerOutputArray ecalTowers
249 set EFlowTrackOutputArray eflowTracks
250 set EFlowTowerOutputArray eflowPhotons
251
252 set IsEcal true
253
254 set EnergyMin 0.5
255 set EnergySignificanceMin 1.0
256
257 set SmearTowerCenter true
258
259 set pi [expr {acos(-1)}]
260
261 # lists of the edges of each tower in eta and phi
262 # each list starts with the lower edge of the first tower
263 # the list ends with the higher edged of the last tower
264
265 #ECAL barrel: dphi = 0.2 degree, deta=0.003 towers up to |eta| <=1.2
266 #ECAL endcaps: dphi = 0.8 degree, deta=0.02 towers up to |eta| <=2.5
267 #ECAL plug: dphi = 1 degree, deta = 0.02 up to |eta| <=3
268 #ECAL cell sizes always 5x5 mm^2
269
270 #barrel:
271 #dphi = 0.2 degree towers up to eta <=1.2
272 set PhiBins {}
273 for {set i -900} {$i <= 900} {incr i} {
274 add PhiBins [expr {$i * $pi/900.0 }]
275 }
276 # 0.003 unit (5x5 mm^2) in eta up to eta <=1.2
277 for {set i -400} {$i <=400} {incr i} {
278 set eta [expr {$i * 0.003}]
279 add EtaPhiBins $eta $PhiBins
280 }
281
282 #endcaps:
283 #dphi = 0.8 degree towers for 1.2 < eta <=2.5
284 set PhiBins {}
285 for {set i -225} {$i <= 225} {incr i} {
286 add PhiBins [expr {$i * $pi/225.}]
287 }
288 #deta=0.02 units for 1.2 < |eta| <=2.5
289 #first, from -2.5 to -1.2, there will be (1.3/0.02=)65 segments
290 for {set i 1} {$i <=66} {incr i} {
291 set eta [expr {-2.52 + $i * 0.02}]
292 add EtaPhiBins $eta $PhiBins
293 }
294 #same for 1.2 to 2.5
295 for {set i 1} {$i <=66} {incr i} {
296 set eta [expr {1.18 + $i*0.02}]
297 add EtaPhiBins $eta $PhiBins
298 }
299
300 #plug:
301 #dphi = 1 degree for 2.5 < eta <=3
302 set PhiBins {}
303 for {set i -180} {$i <= 180} {incr i} {
304 add PhiBins [expr {$i * $pi/180.}]
305 }
306 # deta = 0.02 for 2.5 < |eta| <=3
307 # from -3 to -2.5, there will be 25 segments
308 for {set i 1} {$i <= 26} {incr i} {
309 set eta [expr {-3.02 + $i * 0.02}]
310 add EtaPhiBins $eta $PhiBins
311 }
312 #same for 2.5 to 3
313 for {set i 1} {$i <= 26} {incr i} {
314 set eta [expr {2.48 + $i*0.02}]
315 add EtaPhiBins $eta $PhiBins
316 }
317
318
319
320 # default energy fractions {abs(PDG code)} {fraction of energy deposited in ECAL}
321
322 add EnergyFraction {0} {0.0}
323 # energy fractions for e, gamma and pi0
324 add EnergyFraction {11} {1.0}
325 add EnergyFraction {22} {1.0}
326 add EnergyFraction {111} {1.0}
327 # energy fractions for muon, neutrinos and neutralinos
328 add EnergyFraction {12} {0.0}
329 add EnergyFraction {13} {0.0}
330 add EnergyFraction {14} {0.0}
331 add EnergyFraction {16} {0.0}
332 add EnergyFraction {1000022} {0.0}
333 add EnergyFraction {1000023} {0.0}
334 add EnergyFraction {1000025} {0.0}
335 add EnergyFraction {1000035} {0.0}
336 add EnergyFraction {1000045} {0.0}
337 # energy fractions for K0short and Lambda
338 add EnergyFraction {310} {0.3}
339 add EnergyFraction {3122} {0.3}
340
341 # set ECalResolutionFormula {resolution formula as a function of eta and energy}
342
343 set ResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.01^2 + energy*0.15^2) }
344
345}
346
347#############
348# HCAL
349#############
350
351module SimpleCalorimeter HCal {
352 set ParticleInputArray ParticlePropagator/stableParticles
353 set TrackInputArray ECal/eflowTracks
354
355 set TowerOutputArray hcalTowers
356 set EFlowTrackOutputArray eflowTracks
357 set EFlowTowerOutputArray eflowNeutralHadrons
358
359 set IsEcal false
360
361 set EnergyMin 1.0
362 set EnergySignificanceMin 1.0
363
364 set SmearTowerCenter true
365
366 set pi [expr {acos(-1)}]
367
368 # lists of the edges of each tower in eta and phi
369 # each list starts with the lower edge of the first tower
370 # the list ends with the higher edged of the last tower
371
372
373 #HCAL barrel: dphi = 1 degree, deta= 0.02 towers up to |eta| <=0.8
374 #HCAL ring: dphi = 1 degree, deta= 0.02 towers up to |eta| <=0.9
375 #HCAL endcaps: dphi = 6 degree, deta = 0.1 up to |eta| <=3.5
376 #HCAL cell sizes always 30x30 mm^2
377
378 #barrel and ring:
379 #dphi = 1 degree up to |eta| <=0.9
380 set PhiBins {}
381 for {set i -180} {$i <=180} {incr i} {
382 add PhiBins [expr {$i * $pi/180.0}]
383 }
384 #deta= 0.02 towers up to |eta| <=0.9
385 for {set i -45} {$i <=45} {incr i} {
386 set eta [expr {$i * 0.02}]
387 add EtaPhiBins $eta $PhiBins
388 }
389
390 #endcaps:
391 # dphi = 6 degree
392 set PhiBins {}
393 for {set i -30} {$i <=30} {incr i} {
394 add PhiBins [expr {$i * $pi/30.0}]
395 }
396 # deta =0.1 for 0.9 < |eta| <=3.5
397 #for -3.5 to -0.9, 26 segments
398 for {set i 1} {$i <=27} {incr i} {
399 set eta [expr {-3.6 + $i * 0.1}]
400 add EtaPhiBins $eta $PhiBins
401 }
402 #same for 0.9 to 3.5
403 for {set i 1} {$i <=27} {incr i} {
404 set eta [expr {0.8 + $i * 0.1 }]
405 add EtaPhiBins $eta $PhiBins
406 }
407
408 # default energy fractions {abs(PDG code)} {Fecal Fhcal}
409 add EnergyFraction {0} {1.0}
410 # energy fractions for e, gamma and pi0
411 add EnergyFraction {11} {0.0}
412 add EnergyFraction {22} {0.0}
413 add EnergyFraction {111} {0.0}
414 # energy fractions for muon, neutrinos and neutralinos
415 add EnergyFraction {12} {0.0}
416 add EnergyFraction {13} {0.0}
417 add EnergyFraction {14} {0.0}
418 add EnergyFraction {16} {0.0}
419 add EnergyFraction {1000022} {0.0}
420 add EnergyFraction {1000023} {0.0}
421 add EnergyFraction {1000025} {0.0}
422 add EnergyFraction {1000035} {0.0}
423 add EnergyFraction {1000045} {0.0}
424 # energy fractions for K0short and Lambda
425 add EnergyFraction {310} {0.7}
426 add EnergyFraction {3122} {0.7}
427
428 # set HCalResolutionFormula {resolution formula as a function of eta and energy}
429
430 set ResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.015^2 + energy*0.50^2)}
431
432}
433
434#################
435# Electron filter
436#################
437
438module PdgCodeFilter ElectronFilter {
439 set InputArray HCal/eflowTracks
440 set OutputArray electrons
441 set Invert true
442 add PdgCode {11}
443 add PdgCode {-11}
444}
445
446######################
447# ChargedHadronFilter
448######################
449
450module PdgCodeFilter ChargedHadronFilter {
451 set InputArray HCal/eflowTracks
452 set OutputArray chargedHadrons
453
454 add PdgCode {11}
455 add PdgCode {-11}
456 add PdgCode {13}
457 add PdgCode {-13}
458}
459
460
461
462###################################################
463# Tower Merger (in case not using e-flow algorithm)
464###################################################
465
466module Merger Calorimeter {
467 # add InputArray InputArray
468 add InputArray ECal/ecalTowers
469 add InputArray HCal/hcalTowers
470 set OutputArray towers
471}
472
473
474####################
475# Energy flow merger
476####################
477
478module Merger EFlowMerger {
479 # add InputArray InputArray
480 add InputArray HCal/eflowTracks
481 add InputArray ECal/eflowPhotons
482 add InputArray HCal/eflowNeutralHadrons
483 set OutputArray eflow
484}
485
486######################
487# EFlowFilter
488######################
489
490module PdgCodeFilter EFlowFilter {
491 set InputArray EFlowMerger/eflow
492 set OutputArray eflow
493
494 add PdgCode {11}
495 add PdgCode {-11}
496 add PdgCode {13}
497 add PdgCode {-13}
498}
499
500
501###################
502# Missing ET merger
503###################
504
505module Merger MissingET {
506 # add InputArray InputArray
507 add InputArray EFlowMerger/eflow
508 set MomentumOutputArray momentum
509}
510
511
512##################
513# Scalar HT merger
514##################
515
516module Merger ScalarHT {
517 # add InputArray InputArray
518 add InputArray EFlowMerger/eflow
519 set EnergyOutputArray energy
520}
521
522#################
523# Neutrino Filter
524#################
525
526module PdgCodeFilter NeutrinoFilter {
527
528 set InputArray Delphes/stableParticles
529 set OutputArray filteredParticles
530
531 set PTMin 0.0
532
533 add PdgCode {12}
534 add PdgCode {14}
535 add PdgCode {16}
536 add PdgCode {-12}
537 add PdgCode {-14}
538 add PdgCode {-16}
539
540}
541
542
543#####################
544# MC truth jet finder
545#####################
546
547module FastJetFinder GenJetFinder {
548 set InputArray NeutrinoFilter/filteredParticles
549
550 set OutputArray jets
551
552 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
553 set JetAlgorithm 9
554 set ParameterR 0.5
555
556 set JetPTMin 20.0
557}
558
559#########################
560# Gen Missing ET merger
561########################
562
563module Merger GenMissingET {
564 # add InputArray InputArray
565 add InputArray NeutrinoFilter/filteredParticles
566 set MomentumOutputArray momentum
567}
568
569
570
571############
572# Jet finder
573############
574
575module FastJetFinder FastJetFinderKt {
576 # set InputArray Calorimeter/towers
577 set InputArray EFlowMerger/eflow
578
579 set OutputArray KTjets
580
581 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
582 set JetAlgorithm 4
583 set ParameterR 0.5
584
585 set JetPTMin 20.0
586}
587
588############
589# Jet finder VLC
590############
591#R05 N2
592module FastJetFinder FastJetFinderVLC_R05_N2 {
593 # set InputArray Calorimeter/towers
594 set InputArray EFlowMerger/eflow
595
596 set OutputArray VLCjetsR05N2
597
598 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt, 7 anti-kt with winner-take-all axis (for N-subjettiness), 8 N-jettiness, 9 Valencia
599 set NJets 2
600 set ExclusiveClustering true
601 set JetAlgorithm 9
602 set ParameterR 0.5
603 set Beta 1.0
604 set Gamma 1.0
605
606 set JetPTMin 20.0
607}
608#R05 N3
609module FastJetFinder FastJetFinderVLC_R05_N3 {
610 set InputArray EFlowMerger/eflow
611 set OutputArray VLCjetsR05N3
612 set NJets 3
613 set ExclusiveClustering true
614 set JetAlgorithm 9
615 set ParameterR 0.5
616 set Beta 1.0
617 set Gamma 1.0
618 set JetPTMin 20.0
619}
620#R05 N4
621module FastJetFinder FastJetFinderVLC_R05_N4 {
622 set InputArray EFlowMerger/eflow
623 set OutputArray VLCjetsR05N4
624 set NJets 4
625 set ExclusiveClustering true
626 set JetAlgorithm 9
627 set ParameterR 0.5
628 set Beta 1.0
629 set Gamma 1.0
630 set JetPTMin 20.0
631}
632#R05 N5
633module FastJetFinder FastJetFinderVLC_R05_N5 {
634 set InputArray EFlowMerger/eflow
635 set OutputArray VLCjetsR05N5
636 set NJets 5
637 set ExclusiveClustering true
638 set JetAlgorithm 9
639 set ParameterR 0.5
640 set Beta 1.0
641 set Gamma 1.0
642 set JetPTMin 20.0
643}
644#R05 N6
645module FastJetFinder FastJetFinderVLC_R05_N6 {
646 set InputArray EFlowMerger/eflow
647 set OutputArray VLCjetsR05N6
648 set NJets 6
649 set ExclusiveClustering true
650 set JetAlgorithm 9
651 set ParameterR 0.5
652 set Beta 1.0
653 set Gamma 1.0
654 set JetPTMin 20.0
655}
656#R07 N2
657module FastJetFinder FastJetFinderVLC_R07_N2 {
658 set InputArray EFlowMerger/eflow
659 set OutputArray VLCjetsR07N2
660 set NJets 2
661 set ExclusiveClustering true
662 set JetAlgorithm 9
663 set ParameterR 0.7
664 set Beta 1.0
665 set Gamma 1.0
666 set JetPTMin 20.0
667}
668#R07 N3
669module FastJetFinder FastJetFinderVLC_R07_N3 {
670 set InputArray EFlowMerger/eflow
671 set OutputArray VLCjetsR07N3
672 set NJets 3
673 set ExclusiveClustering true
674 set JetAlgorithm 9
675 set ParameterR 0.7
676 set Beta 1.0
677 set Gamma 1.0
678 set JetPTMin 20.0
679}
680#R07 N4
681module FastJetFinder FastJetFinderVLC_R07_N4 {
682 set InputArray EFlowMerger/eflow
683 set OutputArray VLCjetsR07N4
684 set NJets 4
685 set ExclusiveClustering true
686 set JetAlgorithm 9
687 set ParameterR 0.7
688 set Beta 1.0
689 set Gamma 1.0
690 set JetPTMin 20.0
691}
692#R07 N5
693module FastJetFinder FastJetFinderVLC_R07_N5 {
694 set InputArray EFlowMerger/eflow
695 set OutputArray VLCjetsR07N5
696 set NJets 5
697 set ExclusiveClustering true
698 set JetAlgorithm 9
699 set ParameterR 0.7
700 set Beta 1.0
701 set Gamma 1.0
702 set JetPTMin 20.0
703}
704#R07 N6
705module FastJetFinder FastJetFinderVLC_R07_N6 {
706 set InputArray EFlowMerger/eflow
707 set OutputArray VLCjetsR07N6
708 set NJets 6
709 set ExclusiveClustering true
710 set JetAlgorithm 9
711 set ParameterR 0.7
712 set Beta 1.0
713 set Gamma 1.0
714 set JetPTMin 20.0
715}
716
717#R10N2
718module FastJetFinder FastJetFinderVLC_R10_N2 {
719 set InputArray EFlowMerger/eflow
720 set OutputArray VLCjetsR10N2
721 set NJets 2
722 set ExclusiveClustering true
723 set JetAlgorithm 9
724 set ParameterR 1.0
725 set Beta 1.0
726 set Gamma 1.0
727 set JetPTMin 20.0
728}
729#R10 N3
730module FastJetFinder FastJetFinderVLC_R10_N3 {
731 set InputArray EFlowMerger/eflow
732 set OutputArray VLCjetsR10N3
733 set NJets 3
734 set ExclusiveClustering true
735 set JetAlgorithm 9
736 set ParameterR 1.0
737 set Beta 1.0
738 set Gamma 1.0
739 set JetPTMin 20.0
740}
741#R10 N4
742module FastJetFinder FastJetFinderVLC_R10_N4 {
743 set InputArray EFlowMerger/eflow
744 set OutputArray VLCjetsR10N4
745 set NJets 4
746 set ExclusiveClustering true
747 set JetAlgorithm 9
748 set ParameterR 1.0
749 set Beta 1.0
750 set Gamma 1.0
751 set JetPTMin 20.0
752}
753#R10 N5
754module FastJetFinder FastJetFinderVLC_R10_N5 {
755 set InputArray EFlowMerger/eflow
756 set OutputArray VLCjetsR10N5
757 set NJets 5
758 set ExclusiveClustering true
759 set JetAlgorithm 9
760 set ParameterR 1.0
761 set Beta 1.0
762 set Gamma 1.0
763 set JetPTMin 20.0
764}
765#R10 N6
766module FastJetFinder FastJetFinderVLC_R10_N6 {
767 set InputArray EFlowMerger/eflow
768 set OutputArray VLCjetsR10N6
769 set NJets 6
770 set ExclusiveClustering true
771 set JetAlgorithm 9
772 set ParameterR 1.0
773 set Beta 1.0
774 set Gamma 1.0
775 set JetPTMin 20.0
776}
777
778#R12 N2
779module FastJetFinder FastJetFinderVLC_R12_N2 {
780 set InputArray EFlowMerger/eflow
781 set OutputArray VLCjetsR12N2
782 set NJets 2
783 set ExclusiveClustering true
784 set JetAlgorithm 9
785 set ParameterR 1.2
786 set Beta 1.0
787 set Gamma 1.0
788 set JetPTMin 20.0
789}
790#R12 N3
791module FastJetFinder FastJetFinderVLC_R12_N3 {
792 set InputArray EFlowMerger/eflow
793 set OutputArray VLCjetsR12N3
794 set NJets 3
795 set ExclusiveClustering true
796 set JetAlgorithm 9
797 set ParameterR 1.2
798 set Beta 1.0
799 set Gamma 1.0
800 set JetPTMin 20.0
801}
802#R12 N4
803module FastJetFinder FastJetFinderVLC_R12_N4 {
804 set InputArray EFlowMerger/eflow
805 set OutputArray VLCjetsR12N4
806 set NJets 4
807 set ExclusiveClustering true
808 set JetAlgorithm 9
809 set ParameterR 1.2
810 set Beta 1.0
811 set Gamma 1.0
812 set JetPTMin 20.0
813}
814#R12 N5
815module FastJetFinder FastJetFinderVLC_R12_N5 {
816 set InputArray EFlowMerger/eflow
817 set OutputArray VLCjetsR12N5
818 set NJets 5
819 set ExclusiveClustering true
820 set JetAlgorithm 9
821 set ParameterR 1.2
822 set Beta 1.0
823 set Gamma 1.0
824 set JetPTMin 20.0
825}
826#R12 N6
827module FastJetFinder FastJetFinderVLC_R12_N6 {
828 set InputArray EFlowMerger/eflow
829 set OutputArray VLCjetsR12N6
830 set NJets 6
831 set ExclusiveClustering true
832 set JetAlgorithm 9
833 set ParameterR 1.2
834 set Beta 1.0
835 set Gamma 1.0
836 set JetPTMin 20.0
837}
838
839
840#R15 N2
841module FastJetFinder FastJetFinderVLC_R15_N2 {
842 set InputArray EFlowMerger/eflow
843 set OutputArray VLCjetsR15N2
844 set NJets 2
845 set ExclusiveClustering true
846 set JetAlgorithm 9
847 set ParameterR 1.5
848 set Beta 1.0
849 set Gamma 1.0
850 set JetPTMin 20.0
851}
852#R15 N3
853module FastJetFinder FastJetFinderVLC_R15_N3 {
854 set InputArray EFlowMerger/eflow
855 set OutputArray VLCjetsR15N3
856 set NJets 3
857 set ExclusiveClustering true
858 set JetAlgorithm 9
859 set ParameterR 1.5
860 set Beta 1.0
861 set Gamma 1.0
862 set JetPTMin 20.0
863}
864#R15 N4
865module FastJetFinder FastJetFinderVLC_R15_N4 {
866 set InputArray EFlowMerger/eflow
867 set OutputArray VLCjetsR15N4
868 set NJets 4
869 set ExclusiveClustering true
870 set JetAlgorithm 9
871 set ParameterR 1.5
872 set Beta 1.0
873 set Gamma 1.0
874 set JetPTMin 20.0
875}
876#R15 N5
877module FastJetFinder FastJetFinderVLC_R15_N5 {
878 set InputArray EFlowMerger/eflow
879 set OutputArray VLCjetsR15N5
880 set NJets 5
881 set ExclusiveClustering true
882 set JetAlgorithm 9
883 set ParameterR 1.5
884 set Beta 1.0
885 set Gamma 1.0
886 set JetPTMin 20.0
887}
888#R15 N6
889module FastJetFinder FastJetFinderVLC_R15_N6 {
890 set InputArray EFlowMerger/eflow
891 set OutputArray VLCjetsR15N6
892 set NJets 6
893 set ExclusiveClustering true
894 set JetAlgorithm 9
895 set ParameterR 1.5
896 set Beta 1.0
897 set Gamma 1.0
898 set JetPTMin 20.0
899}
900##################
901# Jet Energy Scale
902##################
903
904module EnergyScale JetEnergyScale {
905 set InputArray FastJetFinderKt/KTjets
906 set OutputArray jets
907
908 # scale formula for jets
909 set ScaleFormula {1.00}
910}
911
912
913########################
914# Jet Flavor Association
915########################
916
917module JetFlavorAssociation JetFlavorAssociation {
918
919 set PartonInputArray Delphes/partons
920 set ParticleInputArray Delphes/allParticles
921 set ParticleLHEFInputArray Delphes/allParticlesLHEF
922 set JetInputArray JetEnergyScale/jets
923
924 set DeltaR 0.5
925 set PartonPTMin 1.0
926 set PartonEtaMax 2.5
927
928}
929
930###################
931# Photon efficiency
932###################
933
934module Efficiency PhotonEfficiency {
935 set InputArray ECal/eflowPhotons
936 set OutputArray photons
937
938 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
939
940 # efficiency formula for photons
941 set EfficiencyFormula { (pt <= 10.0) * (0.00) +
942 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
943 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.95) +
944 (abs(eta) > 2.5) * (0.00)}
945}
946
947##################
948# Photon isolation
949##################
950
951module Isolation PhotonIsolation {
952 set CandidateInputArray PhotonEfficiency/photons
953 set IsolationInputArray EFlowFilter/eflow
954
955 set OutputArray photons
956
957 set DeltaRMax 0.5
958
959 set PTMin 0.5
960
961 set PTRatioMax 0.12
962}
963
964#####################
965# Electron efficiency
966#####################
967
968module Efficiency ElectronEfficiency {
969 set InputArray ElectronFilter/electrons
970 set OutputArray electrons
971
972 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
973
974 # efficiency formula for electrons
975 set EfficiencyFormula { (pt <= 10.0) * (0.00) +
976 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
977 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.95) +
978 (abs(eta) > 2.5) * (0.00)}
979}
980
981####################
982# Electron isolation
983####################
984
985module Isolation ElectronIsolation {
986 set CandidateInputArray ElectronEfficiency/electrons
987 set IsolationInputArray EFlowFilter/eflow
988
989 set OutputArray electrons
990
991 set DeltaRMax 0.5
992
993 set PTMin 0.5
994
995 set PTRatioMax 0.12
996}
997
998#################
999# Muon efficiency
1000#################
1001
1002module Efficiency MuonEfficiency {
1003 set InputArray MuonMomentumSmearing/muons
1004 set OutputArray muons
1005
1006 # set EfficiencyFormula {efficiency as a function of eta and pt}
1007
1008 # efficiency formula for muons
1009 set EfficiencyFormula { (pt <= 10.0) * (0.00) +
1010 (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
1011 (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
1012 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
1013 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
1014 (abs(eta) > 2.4) * (0.00)}
1015}
1016
1017################
1018# Muon isolation
1019################
1020
1021module Isolation MuonIsolation {
1022 set CandidateInputArray MuonEfficiency/muons
1023 set IsolationInputArray EFlowFilter/eflow
1024
1025 set OutputArray muons
1026
1027 set DeltaRMax 0.5
1028
1029 set PTMin 0.5
1030
1031 set PTRatioMax 0.25
1032}
1033
1034
1035###########
1036# b-tagging
1037###########
1038
1039module BTagging BTagging {
1040 set JetInputArray JetEnergyScale/jets
1041
1042 set BitNumber 0
1043
1044 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
1045 # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
1046 # gluon's PDG code has the lowest priority
1047
1048 # based on arXiv:1211.4462
1049
1050 # default efficiency formula (misidentification rate)
1051 add EfficiencyFormula {0} {0.01+0.000038*pt}
1052
1053 # efficiency formula for c-jets (misidentification rate)
1054 add EfficiencyFormula {4} {0.25*tanh(0.018*pt)*(1/(1+ 0.0013*pt))}
1055
1056 # efficiency formula for b-jets
1057 add EfficiencyFormula {5} {0.85*tanh(0.0025*pt)*(25.0/(1+0.063*pt))}
1058}
1059
1060#############
1061# tau-tagging
1062#############
1063
1064
1065module TauTagging TauTagging {
1066 set ParticleInputArray Delphes/allParticles
1067 set PartonInputArray Delphes/partons
1068 set JetInputArray JetEnergyScale/jets
1069
1070 set DeltaR 0.5
1071
1072 set TauPTMin 1.0
1073
1074 set TauEtaMax 4.0
1075
1076 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
1077
1078 # default efficiency formula (misidentification rate)
1079 add EfficiencyFormula {0} {0.001}
1080 # efficiency formula for tau-jets
1081 add EfficiencyFormula {15} {0.4}
1082}
1083
1084#####################################################
1085# Find uniquely identified photons/electrons/tau/jets
1086#####################################################
1087
1088module UniqueObjectFinder UniqueObjectFinder {
1089 # earlier arrays take precedence over later ones
1090 # add InputArray InputArray OutputArray
1091 add InputArray PhotonIsolation/photons photons
1092 add InputArray ElectronIsolation/electrons electrons
1093 add InputArray MuonIsolation/muons muons
1094 add InputArray JetEnergyScale/jets jets
1095}
1096
1097
1098##################
1099# ROOT tree writer
1100##################
1101
1102module TreeWriter TreeWriter {
1103 # add Branch InputArray BranchName BranchClass
1104 add Branch Delphes/allParticles Particle GenParticle
1105
1106 add Branch GenJetFinder/jets GenJet Jet
1107
1108 add Branch FastJetFinderKt/KTjets KTjet Jet
1109 add Branch FastJetFinderVLC_R05_N2/VLCjetsR05N2 VLCjetR05N2 Jet
1110 add Branch FastJetFinderVLC_R05_N3/VLCjetsR05N3 VLCjetR05N3 Jet
1111 add Branch FastJetFinderVLC_R05_N4/VLCjetsR05N4 VLCjetR05N4 Jet
1112 add Branch FastJetFinderVLC_R05_N5/VLCjetsR05N5 VLCjetR05N5 Jet
1113 add Branch FastJetFinderVLC_R05_N6/VLCjetsR05N6 VLCjetR05N6 Jet
1114
1115 add Branch FastJetFinderVLC_R07_N2/VLCjetsR07N2 VLCjetR07N2 Jet
1116 add Branch FastJetFinderVLC_R07_N3/VLCjetsR07N3 VLCjetR07N3 Jet
1117 add Branch FastJetFinderVLC_R07_N4/VLCjetsR07N4 VLCjetR07N4 Jet
1118 add Branch FastJetFinderVLC_R07_N5/VLCjetsR07N5 VLCjetR07N5 Jet
1119 add Branch FastJetFinderVLC_R07_N6/VLCjetsR07N6 VLCjetR07N6 Jet
1120
1121 add Branch FastJetFinderVLC_R10_N2/VLCjetsR10N2 VLCjetR10N2 Jet
1122 add Branch FastJetFinderVLC_R10_N3/VLCjetsR10N3 VLCjetR10N3 Jet
1123 add Branch FastJetFinderVLC_R10_N4/VLCjetsR10N4 VLCjetR10N4 Jet
1124 add Branch FastJetFinderVLC_R10_N5/VLCjetsR10N5 VLCjetR10N5 Jet
1125 add Branch FastJetFinderVLC_R10_N6/VLCjetsR10N6 VLCjetR10N6 Jet
1126
1127 add Branch FastJetFinderVLC_R12_N2/VLCjetsR12N2 VLCjetR12N2 Jet
1128 add Branch FastJetFinderVLC_R12_N3/VLCjetsR12N3 VLCjetR12N3 Jet
1129 add Branch FastJetFinderVLC_R12_N4/VLCjetsR12N4 VLCjetR12N4 Jet
1130 add Branch FastJetFinderVLC_R12_N5/VLCjetsR12N5 VLCjetR12N5 Jet
1131 add Branch FastJetFinderVLC_R12_N6/VLCjetsR12N6 VLCjetR12N6 Jet
1132
1133 add Branch FastJetFinderVLC_R15_N2/VLCjetsR15N2 VLCjetR15N2 Jet
1134 add Branch FastJetFinderVLC_R15_N3/VLCjetsR15N3 VLCjetR15N3 Jet
1135 add Branch FastJetFinderVLC_R15_N4/VLCjetsR15N4 VLCjetR15N4 Jet
1136 add Branch FastJetFinderVLC_R15_N5/VLCjetsR15N5 VLCjetR15N5 Jet
1137 add Branch FastJetFinderVLC_R15_N6/VLCjetsR15N6 VLCjetR15N6 Jet
1138
1139
1140 add Branch GenMissingET/momentum GenMissingET MissingET
1141
1142 add Branch TrackMerger/tracks Track Track
1143 add Branch Calorimeter/towers Tower Tower
1144
1145 add Branch HCal/eflowTracks EFlowTrack Track
1146 add Branch ECal/eflowPhotons EFlowPhoton Tower
1147 add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
1148
1149 add Branch UniqueObjectFinder/photons Photon Photon
1150 add Branch UniqueObjectFinder/electrons Electron Electron
1151 add Branch UniqueObjectFinder/muons Muon Muon
1152 add Branch UniqueObjectFinder/jets Jet Jet
1153
1154 add Branch MissingET/momentum MissingET MissingET
1155 add Branch ScalarHT/energy ScalarHT ScalarHT
1156}
1157
Note: See TracBrowser for help on using the repository browser.