1 | #######################################
|
---|
2 | # Order of execution of various modules
|
---|
3 | #######################################
|
---|
4 |
|
---|
5 | set ExecutionPath {
|
---|
6 | ParticlePropagator
|
---|
7 |
|
---|
8 | ChargedHadronTrackingEfficiency
|
---|
9 | ElectronTrackingEfficiency
|
---|
10 | MuonTrackingEfficiency
|
---|
11 |
|
---|
12 | ChargedHadronMomentumSmearing
|
---|
13 | ElectronMomentumSmearing
|
---|
14 | MuonMomentumSmearing
|
---|
15 |
|
---|
16 | TrackMerger
|
---|
17 |
|
---|
18 | ECal
|
---|
19 | HCal
|
---|
20 |
|
---|
21 | Calorimeter
|
---|
22 | EFlowMerger
|
---|
23 | EFlowFilter
|
---|
24 |
|
---|
25 | PhotonEfficiency
|
---|
26 | PhotonIsolation
|
---|
27 |
|
---|
28 | ElectronFilter
|
---|
29 | ElectronEfficiency
|
---|
30 | ElectronIsolation
|
---|
31 |
|
---|
32 | ChargedHadronFilter
|
---|
33 |
|
---|
34 | MuonEfficiency
|
---|
35 | MuonIsolation
|
---|
36 |
|
---|
37 | NeutrinoFilter
|
---|
38 | GenJetFinder
|
---|
39 | FastJetFinderKt
|
---|
40 | FastJetFinderVLC_05_2
|
---|
41 | FastJetFinderVLC_05_3
|
---|
42 |
|
---|
43 |
|
---|
44 | MissingET
|
---|
45 | GenMissingET
|
---|
46 |
|
---|
47 | JetEnergyScale
|
---|
48 |
|
---|
49 | JetFlavorAssociation
|
---|
50 |
|
---|
51 | BTagging
|
---|
52 |
|
---|
53 | TauTagging
|
---|
54 |
|
---|
55 | ScalarHT
|
---|
56 |
|
---|
57 | UniqueObjectFinder
|
---|
58 |
|
---|
59 | TreeWriter
|
---|
60 | }
|
---|
61 |
|
---|
62 | #################################
|
---|
63 | # Propagate particles in cylinder
|
---|
64 | #################################
|
---|
65 |
|
---|
66 | module ParticlePropagator ParticlePropagator {
|
---|
67 | set InputArray Delphes/stableParticles
|
---|
68 |
|
---|
69 | set OutputArray stableParticles
|
---|
70 | set ChargedHadronOutputArray chargedHadrons
|
---|
71 | set ElectronOutputArray electrons
|
---|
72 | set MuonOutputArray muons
|
---|
73 |
|
---|
74 | # radius of the magnetic field coverage in the calorimeter, in m
|
---|
75 | set Radius 1.5
|
---|
76 | # half-length of the magnetic field coverage in the calorimeter, in m
|
---|
77 | set HalfLength 2.31
|
---|
78 |
|
---|
79 | # magnetic field, in T
|
---|
80 | set Bz 4.0
|
---|
81 | }
|
---|
82 |
|
---|
83 | ####################################
|
---|
84 | # Charged hadron tracking efficiency
|
---|
85 | ####################################
|
---|
86 |
|
---|
87 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
88 | set InputArray ParticlePropagator/chargedHadrons
|
---|
89 | set OutputArray chargedHadrons
|
---|
90 |
|
---|
91 | # FIXME currently uses tracking efficiency from muon simulation
|
---|
92 | set EfficiencyFormula {
|
---|
93 | (abs(eta) > 2.66) * (0.000) +
|
---|
94 | (abs(eta) < 2.66 && abs(eta) > 2.44) * (pt > 0.1) * (0.997) +
|
---|
95 | (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.1 && pt < 0.174) * (0.997) +
|
---|
96 | (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.174) * (1.000) +
|
---|
97 | (abs(eta) < 2.25) * (pt > 0.1) * (1.000) }
|
---|
98 | }
|
---|
99 |
|
---|
100 | ##############################
|
---|
101 | # Electron tracking efficiency
|
---|
102 | ##############################
|
---|
103 |
|
---|
104 | module Efficiency ElectronTrackingEfficiency {
|
---|
105 | set InputArray ParticlePropagator/electrons
|
---|
106 | set OutputArray electrons
|
---|
107 |
|
---|
108 | # FIXME currently uses tracking efficiency from muon simulation
|
---|
109 | set EfficiencyFormula {
|
---|
110 | (abs(eta) > 2.66) * (0.000) +
|
---|
111 | (abs(eta) < 2.66 && abs(eta) > 2.44) * (pt > 0.1) * (0.997) +
|
---|
112 | (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.1 && pt < 0.174) * (0.997) +
|
---|
113 | (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.174) * (1.000) +
|
---|
114 | (abs(eta) < 2.25) * (pt > 0.1) * (1.000)
|
---|
115 | }
|
---|
116 | }
|
---|
117 |
|
---|
118 | ##########################
|
---|
119 | # Muon tracking efficiency
|
---|
120 | ##########################
|
---|
121 |
|
---|
122 | module Efficiency MuonTrackingEfficiency {
|
---|
123 | set InputArray ParticlePropagator/muons
|
---|
124 | set OutputArray muons
|
---|
125 |
|
---|
126 | # Current full simulation with CLICdet provides for muons:
|
---|
127 | set EfficiencyFormula {
|
---|
128 | (abs(eta) > 2.66) * (0.000) +
|
---|
129 | (abs(eta) < 2.66 && abs(eta) > 2.44) * (pt > 0.1) * (0.997) +
|
---|
130 | (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.1 && pt < 0.174) * (0.997) +
|
---|
131 | (abs(eta) < 2.44 && abs(eta) > 2.25) * (pt > 0.174) * (1.000) +
|
---|
132 | (abs(eta) < 2.25) * (pt > 0.1) * (1.000)
|
---|
133 | }
|
---|
134 | }
|
---|
135 |
|
---|
136 | ########################################
|
---|
137 | # Momentum resolution for charged tracks
|
---|
138 | ########################################
|
---|
139 |
|
---|
140 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
141 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
142 | set OutputArray chargedHadrons
|
---|
143 |
|
---|
144 | # Using eta mid-points between evaluated resolutions from full simulation
|
---|
145 | # Resolution given in dpT/pT.
|
---|
146 | # FIXME: currently uses momentum resolution from single muon simulation!
|
---|
147 | set ResolutionFormula {
|
---|
148 | (abs(eta) <= 0.26) * (pt > 0.1) * sqrt(0.0162^2 + pt^2*5.863e-4^2) +
|
---|
149 | (abs(eta) > 0.26 && abs(eta) <= 0.45) * (pt > 0.1) * sqrt(0.0065^2 + pt^2*5.949e-5^2) +
|
---|
150 | (abs(eta) > 0.45 && abs(eta) <= 0.65) * (pt > 0.1) * sqrt(0.0041^2 + pt^2*3.014e-5^2) +
|
---|
151 | (abs(eta) > 0.65 && abs(eta) <= 2.75) * (pt > 0.1) * sqrt(0.0036^2 + pt^2*2.977e-5^2) +
|
---|
152 | (abs(eta) > 2.75) * (pt > 0.1) * sqrt(0.0021^2 + pt^2*2.189e-5^2)
|
---|
153 | }
|
---|
154 | }
|
---|
155 |
|
---|
156 | ###################################
|
---|
157 | # Momentum resolution for electrons
|
---|
158 | ###################################
|
---|
159 |
|
---|
160 | module MomentumSmearing ElectronMomentumSmearing {
|
---|
161 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
162 | set OutputArray electrons
|
---|
163 |
|
---|
164 | # Using eta mid-points between evaluated resolutions from full simulation
|
---|
165 | # Resolution given in dpT/pT.
|
---|
166 | # FIXME: currently uses momentum resolution from single muon simulation!
|
---|
167 | set ResolutionFormula {
|
---|
168 | (abs(eta) <= 0.26) * (pt > 0.1) * sqrt(0.0162^2 + pt^2*5.863e-4^2) +
|
---|
169 | (abs(eta) > 0.26 && abs(eta) <= 0.45) * (pt > 0.1) * sqrt(0.0065^2 + pt^2*5.949e-5^2) +
|
---|
170 | (abs(eta) > 0.45 && abs(eta) <= 0.65) * (pt > 0.1) * sqrt(0.0041^2 + pt^2*3.014e-5^2) +
|
---|
171 | (abs(eta) > 0.65 && abs(eta) <= 2.75) * (pt > 0.1) * sqrt(0.0036^2 + pt^2*2.977e-5^2) +
|
---|
172 | (abs(eta) > 2.75) * (pt > 0.1) * sqrt(0.0021^2 + pt^2*2.189e-5^2)
|
---|
173 | }
|
---|
174 | }
|
---|
175 |
|
---|
176 | ###############################
|
---|
177 | # Momentum resolution for muons
|
---|
178 | ###############################
|
---|
179 |
|
---|
180 | module MomentumSmearing MuonMomentumSmearing {
|
---|
181 | set InputArray MuonTrackingEfficiency/muons
|
---|
182 | set OutputArray muons
|
---|
183 |
|
---|
184 | # Using eta mid-points between evaluated resolutions from full simulation
|
---|
185 | # Resolution given in dpT/pT.
|
---|
186 | set ResolutionFormula {
|
---|
187 | (abs(eta) <= 0.26) * (pt > 0.1) * sqrt(0.0162^2 + pt^2*5.863e-4^2) +
|
---|
188 | (abs(eta) > 0.26 && abs(eta) <= 0.45) * (pt > 0.1) * sqrt(0.0065^2 + pt^2*5.949e-5^2) +
|
---|
189 | (abs(eta) > 0.45 && abs(eta) <= 0.65) * (pt > 0.1) * sqrt(0.0041^2 + pt^2*3.014e-5^2) +
|
---|
190 | (abs(eta) > 0.65 && abs(eta) <= 2.75) * (pt > 0.1) * sqrt(0.0036^2 + pt^2*2.977e-5^2) +
|
---|
191 | (abs(eta) > 2.75) * (pt > 0.1) * sqrt(0.0021^2 + pt^2*2.189e-5^2)
|
---|
192 | }
|
---|
193 | }
|
---|
194 |
|
---|
195 | ##############
|
---|
196 | # Track merger
|
---|
197 | ##############
|
---|
198 |
|
---|
199 | module Merger TrackMerger {
|
---|
200 | # add InputArray InputArray
|
---|
201 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
202 | add InputArray ElectronMomentumSmearing/electrons
|
---|
203 | add InputArray MuonMomentumSmearing/muons
|
---|
204 | set OutputArray tracks
|
---|
205 | }
|
---|
206 |
|
---|
207 | #############
|
---|
208 | # ECAL
|
---|
209 | #############
|
---|
210 |
|
---|
211 | module SimpleCalorimeter ECal {
|
---|
212 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
213 | set TrackInputArray TrackMerger/tracks
|
---|
214 |
|
---|
215 | set TowerOutputArray ecalTowers
|
---|
216 | set EFlowTrackOutputArray eflowTracks
|
---|
217 | set EFlowTowerOutputArray eflowPhotons
|
---|
218 |
|
---|
219 | set IsEcal true
|
---|
220 |
|
---|
221 | set EnergyMin 0.5
|
---|
222 | set EnergySignificanceMin 1.0
|
---|
223 |
|
---|
224 | set SmearTowerCenter true
|
---|
225 |
|
---|
226 | set pi [expr {acos(-1)}]
|
---|
227 |
|
---|
228 | # lists of the edges of each tower in eta and phi
|
---|
229 | # each list starts with the lower edge of the first tower
|
---|
230 | # the list ends with the higher edged of the last tower
|
---|
231 |
|
---|
232 | #ECAL barrel: dphi = 0.2 degree, deta=0.003 towers up to |eta| <=1.2
|
---|
233 | #ECAL endcaps: dphi = 0.8 degree, deta=0.02 towers up to |eta| <=2.5
|
---|
234 | #ECAL plug: dphi = 1 degree, deta = 0.02 up to |eta| <=3
|
---|
235 | #ECAL cell sizes always 5x5 mm^2
|
---|
236 |
|
---|
237 | #barrel:
|
---|
238 | #dphi = 0.2 degree towers up to eta <=1.2
|
---|
239 | set PhiBins {}
|
---|
240 | for {set i -900} {$i <= 900} {incr i} {
|
---|
241 | add PhiBins [expr {$i * $pi/900.0 }]
|
---|
242 | }
|
---|
243 | # 0.003 unit (5x5 mm^2) in eta up to eta <=1.2
|
---|
244 | for {set i -400} {$i <=400} {incr i} {
|
---|
245 | set eta [expr {$i * 0.003}]
|
---|
246 | add EtaPhiBins $eta $PhiBins
|
---|
247 | }
|
---|
248 |
|
---|
249 | #endcaps:
|
---|
250 | #dphi = 0.8 degree towers for 1.2 < eta <=2.5
|
---|
251 | set PhiBins {}
|
---|
252 | for {set i -225} {$i <= 225} {incr i} {
|
---|
253 | add PhiBins [expr {$i * $pi/225.}]
|
---|
254 | }
|
---|
255 | #deta=0.02 units for 1.2 < |eta| <=2.5
|
---|
256 | #first, from -2.5 to -1.2, there will be (1.3/0.02=)65 segments
|
---|
257 | for {set i 1} {$i <=66} {incr i} {
|
---|
258 | set eta [expr {-2.52 + $i * 0.02}]
|
---|
259 | add EtaPhiBins $eta $PhiBins
|
---|
260 | }
|
---|
261 | #same for 1.2 to 2.5
|
---|
262 | for {set i 1} {$i <=66} {incr i} {
|
---|
263 | set eta [expr {1.18 + $i*0.02}]
|
---|
264 | add EtaPhiBins $eta $PhiBins
|
---|
265 | }
|
---|
266 |
|
---|
267 | #plug:
|
---|
268 | #dphi = 1 degree for 2.5 < eta <=3
|
---|
269 | set PhiBins {}
|
---|
270 | for {set i -180} {$i <= 180} {incr i} {
|
---|
271 | add PhiBins [expr {$i * $pi/180.}]
|
---|
272 | }
|
---|
273 | # deta = 0.02 for 2.5 < |eta| <=3
|
---|
274 | # from -3 to -2.5, there will be 25 segments
|
---|
275 | for {set i 1} {$i <= 26} {incr i} {
|
---|
276 | set eta [expr {-3.02 + $i * 0.02}]
|
---|
277 | add EtaPhiBins $eta $PhiBins
|
---|
278 | }
|
---|
279 | #same for 2.5 to 3
|
---|
280 | for {set i 1} {$i <= 26} {incr i} {
|
---|
281 | set eta [expr {2.48 + $i*0.02}]
|
---|
282 | add EtaPhiBins $eta $PhiBins
|
---|
283 | }
|
---|
284 |
|
---|
285 |
|
---|
286 |
|
---|
287 | # default energy fractions {abs(PDG code)} {fraction of energy deposited in ECAL}
|
---|
288 |
|
---|
289 | add EnergyFraction {0} {0.0}
|
---|
290 | # energy fractions for e, gamma and pi0
|
---|
291 | add EnergyFraction {11} {1.0}
|
---|
292 | add EnergyFraction {22} {1.0}
|
---|
293 | add EnergyFraction {111} {1.0}
|
---|
294 | # energy fractions for muon, neutrinos and neutralinos
|
---|
295 | add EnergyFraction {12} {0.0}
|
---|
296 | add EnergyFraction {13} {0.0}
|
---|
297 | add EnergyFraction {14} {0.0}
|
---|
298 | add EnergyFraction {16} {0.0}
|
---|
299 | add EnergyFraction {1000022} {0.0}
|
---|
300 | add EnergyFraction {1000023} {0.0}
|
---|
301 | add EnergyFraction {1000025} {0.0}
|
---|
302 | add EnergyFraction {1000035} {0.0}
|
---|
303 | add EnergyFraction {1000045} {0.0}
|
---|
304 | # energy fractions for K0short and Lambda
|
---|
305 | add EnergyFraction {310} {0.3}
|
---|
306 | add EnergyFraction {3122} {0.3}
|
---|
307 |
|
---|
308 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
309 |
|
---|
310 | set ResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.01^2 + energy*0.15^2) }
|
---|
311 |
|
---|
312 | }
|
---|
313 |
|
---|
314 | #############
|
---|
315 | # HCAL
|
---|
316 | #############
|
---|
317 |
|
---|
318 | module SimpleCalorimeter HCal {
|
---|
319 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
320 | set TrackInputArray ECal/eflowTracks
|
---|
321 |
|
---|
322 | set TowerOutputArray hcalTowers
|
---|
323 | set EFlowTrackOutputArray eflowTracks
|
---|
324 | set EFlowTowerOutputArray eflowNeutralHadrons
|
---|
325 |
|
---|
326 | set IsEcal false
|
---|
327 |
|
---|
328 | set EnergyMin 1.0
|
---|
329 | set EnergySignificanceMin 1.0
|
---|
330 |
|
---|
331 | set SmearTowerCenter true
|
---|
332 |
|
---|
333 | set pi [expr {acos(-1)}]
|
---|
334 |
|
---|
335 | # lists of the edges of each tower in eta and phi
|
---|
336 | # each list starts with the lower edge of the first tower
|
---|
337 | # the list ends with the higher edged of the last tower
|
---|
338 |
|
---|
339 |
|
---|
340 | #HCAL barrel: dphi = 1 degree, deta= 0.02 towers up to |eta| <=0.8
|
---|
341 | #HCAL ring: dphi = 1 degree, deta= 0.02 towers up to |eta| <=0.9
|
---|
342 | #HCAL endcaps: dphi = 6 degree, deta = 0.1 up to |eta| <=3.5
|
---|
343 | #HCAL cell sizes always 30x30 mm^2
|
---|
344 |
|
---|
345 | #barrel and ring:
|
---|
346 | #dphi = 1 degree up to |eta| <=0.9
|
---|
347 | set PhiBins {}
|
---|
348 | for {set i -180} {$i <=180} {incr i} {
|
---|
349 | add PhiBins [expr {$i * $pi/180.0}]
|
---|
350 | }
|
---|
351 | #deta= 0.02 towers up to |eta| <=0.9
|
---|
352 | for {set i -45} {$i <=45} {incr i} {
|
---|
353 | set eta [expr {$i * 0.02}]
|
---|
354 | add EtaPhiBins $eta $PhiBins
|
---|
355 | }
|
---|
356 |
|
---|
357 | #endcaps:
|
---|
358 | # dphi = 6 degree
|
---|
359 | set PhiBins {}
|
---|
360 | for {set i -30} {$i <=30} {incr i} {
|
---|
361 | add PhiBins [expr {$i * $pi/30.0}]
|
---|
362 | }
|
---|
363 | # deta =0.1 for 0.9 < |eta| <=3.5
|
---|
364 | #for -3.5 to -0.9, 26 segments
|
---|
365 | for {set i 1} {$i <=27} {incr i} {
|
---|
366 | set eta [expr {-3.6 + $i * 0.1}]
|
---|
367 | add EtaPhiBins $eta $PhiBins
|
---|
368 | }
|
---|
369 | #same for 0.9 to 3.5
|
---|
370 | for {set i 1} {$i <=27} {incr i} {
|
---|
371 | set eta [expr {0.8 + $i * 0.1 }]
|
---|
372 | add EtaPhiBins $eta $PhiBins
|
---|
373 | }
|
---|
374 |
|
---|
375 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
376 | add EnergyFraction {0} {1.0}
|
---|
377 | # energy fractions for e, gamma and pi0
|
---|
378 | add EnergyFraction {11} {0.0}
|
---|
379 | add EnergyFraction {22} {0.0}
|
---|
380 | add EnergyFraction {111} {0.0}
|
---|
381 | # energy fractions for muon, neutrinos and neutralinos
|
---|
382 | add EnergyFraction {12} {0.0}
|
---|
383 | add EnergyFraction {13} {0.0}
|
---|
384 | add EnergyFraction {14} {0.0}
|
---|
385 | add EnergyFraction {16} {0.0}
|
---|
386 | add EnergyFraction {1000022} {0.0}
|
---|
387 | add EnergyFraction {1000023} {0.0}
|
---|
388 | add EnergyFraction {1000025} {0.0}
|
---|
389 | add EnergyFraction {1000035} {0.0}
|
---|
390 | add EnergyFraction {1000045} {0.0}
|
---|
391 | # energy fractions for K0short and Lambda
|
---|
392 | add EnergyFraction {310} {0.7}
|
---|
393 | add EnergyFraction {3122} {0.7}
|
---|
394 |
|
---|
395 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
396 |
|
---|
397 | set ResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.015^2 + energy*0.50^2)}
|
---|
398 |
|
---|
399 | }
|
---|
400 |
|
---|
401 | #################
|
---|
402 | # Electron filter
|
---|
403 | #################
|
---|
404 |
|
---|
405 | module PdgCodeFilter ElectronFilter {
|
---|
406 | set InputArray HCal/eflowTracks
|
---|
407 | set OutputArray electrons
|
---|
408 | set Invert true
|
---|
409 | add PdgCode {11}
|
---|
410 | add PdgCode {-11}
|
---|
411 | }
|
---|
412 |
|
---|
413 | ######################
|
---|
414 | # ChargedHadronFilter
|
---|
415 | ######################
|
---|
416 |
|
---|
417 | module PdgCodeFilter ChargedHadronFilter {
|
---|
418 | set InputArray HCal/eflowTracks
|
---|
419 | set OutputArray chargedHadrons
|
---|
420 |
|
---|
421 | add PdgCode {11}
|
---|
422 | add PdgCode {-11}
|
---|
423 | add PdgCode {13}
|
---|
424 | add PdgCode {-13}
|
---|
425 | }
|
---|
426 |
|
---|
427 |
|
---|
428 |
|
---|
429 | ###################################################
|
---|
430 | # Tower Merger (in case not using e-flow algorithm)
|
---|
431 | ###################################################
|
---|
432 |
|
---|
433 | module Merger Calorimeter {
|
---|
434 | # add InputArray InputArray
|
---|
435 | add InputArray ECal/ecalTowers
|
---|
436 | add InputArray HCal/hcalTowers
|
---|
437 | set OutputArray towers
|
---|
438 | }
|
---|
439 |
|
---|
440 |
|
---|
441 | ####################
|
---|
442 | # Energy flow merger
|
---|
443 | ####################
|
---|
444 |
|
---|
445 | module Merger EFlowMerger {
|
---|
446 | # add InputArray InputArray
|
---|
447 | add InputArray HCal/eflowTracks
|
---|
448 | add InputArray ECal/eflowPhotons
|
---|
449 | add InputArray HCal/eflowNeutralHadrons
|
---|
450 | set OutputArray eflow
|
---|
451 | }
|
---|
452 |
|
---|
453 | ######################
|
---|
454 | # EFlowFilter
|
---|
455 | ######################
|
---|
456 |
|
---|
457 | module PdgCodeFilter EFlowFilter {
|
---|
458 | set InputArray EFlowMerger/eflow
|
---|
459 | set OutputArray eflow
|
---|
460 |
|
---|
461 | add PdgCode {11}
|
---|
462 | add PdgCode {-11}
|
---|
463 | add PdgCode {13}
|
---|
464 | add PdgCode {-13}
|
---|
465 | }
|
---|
466 |
|
---|
467 |
|
---|
468 | ###################
|
---|
469 | # Missing ET merger
|
---|
470 | ###################
|
---|
471 |
|
---|
472 | module Merger MissingET {
|
---|
473 | # add InputArray InputArray
|
---|
474 | add InputArray EFlowMerger/eflow
|
---|
475 | set MomentumOutputArray momentum
|
---|
476 | }
|
---|
477 |
|
---|
478 |
|
---|
479 | ##################
|
---|
480 | # Scalar HT merger
|
---|
481 | ##################
|
---|
482 |
|
---|
483 | module Merger ScalarHT {
|
---|
484 | # add InputArray InputArray
|
---|
485 | add InputArray EFlowMerger/eflow
|
---|
486 | set EnergyOutputArray energy
|
---|
487 | }
|
---|
488 |
|
---|
489 | #################
|
---|
490 | # Neutrino Filter
|
---|
491 | #################
|
---|
492 |
|
---|
493 | module PdgCodeFilter NeutrinoFilter {
|
---|
494 |
|
---|
495 | set InputArray Delphes/stableParticles
|
---|
496 | set OutputArray filteredParticles
|
---|
497 |
|
---|
498 | set PTMin 0.0
|
---|
499 |
|
---|
500 | add PdgCode {12}
|
---|
501 | add PdgCode {14}
|
---|
502 | add PdgCode {16}
|
---|
503 | add PdgCode {-12}
|
---|
504 | add PdgCode {-14}
|
---|
505 | add PdgCode {-16}
|
---|
506 |
|
---|
507 | }
|
---|
508 |
|
---|
509 |
|
---|
510 | #####################
|
---|
511 | # MC truth jet finder
|
---|
512 | #####################
|
---|
513 |
|
---|
514 | module FastJetFinder GenJetFinder {
|
---|
515 | set InputArray NeutrinoFilter/filteredParticles
|
---|
516 |
|
---|
517 | set OutputArray jets
|
---|
518 |
|
---|
519 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
520 | set JetAlgorithm 9
|
---|
521 | set ParameterR 0.5
|
---|
522 |
|
---|
523 | set JetPTMin 20.0
|
---|
524 | }
|
---|
525 |
|
---|
526 | #########################
|
---|
527 | # Gen Missing ET merger
|
---|
528 | ########################
|
---|
529 |
|
---|
530 | module Merger GenMissingET {
|
---|
531 | # add InputArray InputArray
|
---|
532 | add InputArray NeutrinoFilter/filteredParticles
|
---|
533 | set MomentumOutputArray momentum
|
---|
534 | }
|
---|
535 |
|
---|
536 |
|
---|
537 |
|
---|
538 | ############
|
---|
539 | # Jet finder
|
---|
540 | ############
|
---|
541 |
|
---|
542 | module FastJetFinder FastJetFinderKt {
|
---|
543 | # set InputArray Calorimeter/towers
|
---|
544 | set InputArray EFlowMerger/eflow
|
---|
545 |
|
---|
546 | set OutputArray KTjets
|
---|
547 |
|
---|
548 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
549 | set JetAlgorithm 4
|
---|
550 | set ParameterR 0.5
|
---|
551 |
|
---|
552 | set JetPTMin 20.0
|
---|
553 | }
|
---|
554 |
|
---|
555 | ############
|
---|
556 | # Jet finder VLC
|
---|
557 | ############
|
---|
558 |
|
---|
559 | module FastJetFinder FastJetFinderVLC_05_2 {
|
---|
560 | # set InputArray Calorimeter/towers
|
---|
561 | set InputArray EFlowMerger/eflow
|
---|
562 |
|
---|
563 | set OutputArray VLCjets052
|
---|
564 |
|
---|
565 | # 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
|
---|
566 | set NJets 2
|
---|
567 | set ExclusiveClustering true
|
---|
568 | set JetAlgorithm 9
|
---|
569 | set ParameterR 0.5
|
---|
570 | set Beta 1.0
|
---|
571 | set Gamma 1.0
|
---|
572 |
|
---|
573 | set JetPTMin 20.0
|
---|
574 | }
|
---|
575 |
|
---|
576 |
|
---|
577 | module FastJetFinder FastJetFinderVLC_05_3 {
|
---|
578 | # set InputArray Calorimeter/towers
|
---|
579 | set InputArray EFlowMerger/eflow
|
---|
580 |
|
---|
581 | set OutputArray VLCjets053
|
---|
582 |
|
---|
583 | set NJets 3
|
---|
584 | set ExclusiveClustering true
|
---|
585 | set JetAlgorithm 9
|
---|
586 | set ParameterR 0.5
|
---|
587 | set Beta 1.0
|
---|
588 | set Gamma 1.0
|
---|
589 |
|
---|
590 | set JetPTMin 20.0
|
---|
591 | }
|
---|
592 |
|
---|
593 | ##################
|
---|
594 | # Jet Energy Scale
|
---|
595 | ##################
|
---|
596 |
|
---|
597 | module EnergyScale JetEnergyScale {
|
---|
598 | set InputArray FastJetFinderKt/KTjets
|
---|
599 | set OutputArray jets
|
---|
600 |
|
---|
601 | # scale formula for jets
|
---|
602 | set ScaleFormula {1.00}
|
---|
603 | }
|
---|
604 |
|
---|
605 |
|
---|
606 | ########################
|
---|
607 | # Jet Flavor Association
|
---|
608 | ########################
|
---|
609 |
|
---|
610 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
611 |
|
---|
612 | set PartonInputArray Delphes/partons
|
---|
613 | set ParticleInputArray Delphes/allParticles
|
---|
614 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
615 | set JetInputArray JetEnergyScale/jets
|
---|
616 |
|
---|
617 | set DeltaR 0.5
|
---|
618 | set PartonPTMin 1.0
|
---|
619 | set PartonEtaMax 2.5
|
---|
620 |
|
---|
621 | }
|
---|
622 |
|
---|
623 | ###################
|
---|
624 | # Photon efficiency
|
---|
625 | ###################
|
---|
626 |
|
---|
627 | module Efficiency PhotonEfficiency {
|
---|
628 | set InputArray ECal/eflowPhotons
|
---|
629 | set OutputArray photons
|
---|
630 |
|
---|
631 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
632 |
|
---|
633 | # efficiency formula for photons
|
---|
634 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
635 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
636 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.95) +
|
---|
637 | (abs(eta) > 2.5) * (0.00)}
|
---|
638 | }
|
---|
639 |
|
---|
640 | ##################
|
---|
641 | # Photon isolation
|
---|
642 | ##################
|
---|
643 |
|
---|
644 | module Isolation PhotonIsolation {
|
---|
645 | set CandidateInputArray PhotonEfficiency/photons
|
---|
646 | set IsolationInputArray EFlowFilter/eflow
|
---|
647 |
|
---|
648 | set OutputArray photons
|
---|
649 |
|
---|
650 | set DeltaRMax 0.5
|
---|
651 |
|
---|
652 | set PTMin 0.5
|
---|
653 |
|
---|
654 | set PTRatioMax 0.12
|
---|
655 | }
|
---|
656 |
|
---|
657 | #####################
|
---|
658 | # Electron efficiency
|
---|
659 | #####################
|
---|
660 |
|
---|
661 | module Efficiency ElectronEfficiency {
|
---|
662 | set InputArray ElectronFilter/electrons
|
---|
663 | set OutputArray electrons
|
---|
664 |
|
---|
665 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
666 |
|
---|
667 | # efficiency formula for electrons
|
---|
668 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
669 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
670 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.95) +
|
---|
671 | (abs(eta) > 2.5) * (0.00)}
|
---|
672 | }
|
---|
673 |
|
---|
674 | ####################
|
---|
675 | # Electron isolation
|
---|
676 | ####################
|
---|
677 |
|
---|
678 | module Isolation ElectronIsolation {
|
---|
679 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
680 | set IsolationInputArray EFlowFilter/eflow
|
---|
681 |
|
---|
682 | set OutputArray electrons
|
---|
683 |
|
---|
684 | set DeltaRMax 0.5
|
---|
685 |
|
---|
686 | set PTMin 0.5
|
---|
687 |
|
---|
688 | set PTRatioMax 0.12
|
---|
689 | }
|
---|
690 |
|
---|
691 | #################
|
---|
692 | # Muon efficiency
|
---|
693 | #################
|
---|
694 |
|
---|
695 | module Efficiency MuonEfficiency {
|
---|
696 | set InputArray MuonMomentumSmearing/muons
|
---|
697 | set OutputArray muons
|
---|
698 |
|
---|
699 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
700 |
|
---|
701 | # efficiency formula for muons
|
---|
702 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
703 | (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
704 | (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
705 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
706 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
707 | (abs(eta) > 2.4) * (0.00)}
|
---|
708 | }
|
---|
709 |
|
---|
710 | ################
|
---|
711 | # Muon isolation
|
---|
712 | ################
|
---|
713 |
|
---|
714 | module Isolation MuonIsolation {
|
---|
715 | set CandidateInputArray MuonEfficiency/muons
|
---|
716 | set IsolationInputArray EFlowFilter/eflow
|
---|
717 |
|
---|
718 | set OutputArray muons
|
---|
719 |
|
---|
720 | set DeltaRMax 0.5
|
---|
721 |
|
---|
722 | set PTMin 0.5
|
---|
723 |
|
---|
724 | set PTRatioMax 0.25
|
---|
725 | }
|
---|
726 |
|
---|
727 |
|
---|
728 | ###########
|
---|
729 | # b-tagging
|
---|
730 | ###########
|
---|
731 |
|
---|
732 | module BTagging BTagging {
|
---|
733 | set JetInputArray JetEnergyScale/jets
|
---|
734 |
|
---|
735 | set BitNumber 0
|
---|
736 |
|
---|
737 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
738 | # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
|
---|
739 | # gluon's PDG code has the lowest priority
|
---|
740 |
|
---|
741 | # based on arXiv:1211.4462
|
---|
742 |
|
---|
743 | # default efficiency formula (misidentification rate)
|
---|
744 | add EfficiencyFormula {0} {0.01+0.000038*pt}
|
---|
745 |
|
---|
746 | # efficiency formula for c-jets (misidentification rate)
|
---|
747 | add EfficiencyFormula {4} {0.25*tanh(0.018*pt)*(1/(1+ 0.0013*pt))}
|
---|
748 |
|
---|
749 | # efficiency formula for b-jets
|
---|
750 | add EfficiencyFormula {5} {0.85*tanh(0.0025*pt)*(25.0/(1+0.063*pt))}
|
---|
751 | }
|
---|
752 |
|
---|
753 | #############
|
---|
754 | # tau-tagging
|
---|
755 | #############
|
---|
756 |
|
---|
757 |
|
---|
758 | module TauTagging TauTagging {
|
---|
759 | set ParticleInputArray Delphes/allParticles
|
---|
760 | set PartonInputArray Delphes/partons
|
---|
761 | set JetInputArray JetEnergyScale/jets
|
---|
762 |
|
---|
763 | set DeltaR 0.5
|
---|
764 |
|
---|
765 | set TauPTMin 1.0
|
---|
766 |
|
---|
767 | set TauEtaMax 4.0
|
---|
768 |
|
---|
769 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
770 |
|
---|
771 | # default efficiency formula (misidentification rate)
|
---|
772 | add EfficiencyFormula {0} {0.001}
|
---|
773 | # efficiency formula for tau-jets
|
---|
774 | add EfficiencyFormula {15} {0.4}
|
---|
775 | }
|
---|
776 |
|
---|
777 | #####################################################
|
---|
778 | # Find uniquely identified photons/electrons/tau/jets
|
---|
779 | #####################################################
|
---|
780 |
|
---|
781 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
782 | # earlier arrays take precedence over later ones
|
---|
783 | # add InputArray InputArray OutputArray
|
---|
784 | add InputArray PhotonIsolation/photons photons
|
---|
785 | add InputArray ElectronIsolation/electrons electrons
|
---|
786 | add InputArray MuonIsolation/muons muons
|
---|
787 | add InputArray JetEnergyScale/jets jets
|
---|
788 | }
|
---|
789 |
|
---|
790 |
|
---|
791 | ##################
|
---|
792 | # ROOT tree writer
|
---|
793 | ##################
|
---|
794 |
|
---|
795 | module TreeWriter TreeWriter {
|
---|
796 | # add Branch InputArray BranchName BranchClass
|
---|
797 | add Branch Delphes/allParticles Particle GenParticle
|
---|
798 |
|
---|
799 | add Branch GenJetFinder/jets GenJet Jet
|
---|
800 |
|
---|
801 | add Branch FastJetFinderKt/KTjets KTjet Jet
|
---|
802 | add Branch FastJetFinderVLC_05_2/VLCjets052 VLCjet052 Jet
|
---|
803 | add Branch FastJetFinderVLC_05_3/VLCjets053 VLCjet053 Jet
|
---|
804 |
|
---|
805 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
806 |
|
---|
807 | add Branch TrackMerger/tracks Track Track
|
---|
808 | add Branch Calorimeter/towers Tower Tower
|
---|
809 |
|
---|
810 | add Branch HCal/eflowTracks EFlowTrack Track
|
---|
811 | add Branch ECal/eflowPhotons EFlowPhoton Tower
|
---|
812 | add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
813 |
|
---|
814 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
815 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
816 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
817 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
818 |
|
---|
819 | add Branch MissingET/momentum MissingET MissingET
|
---|
820 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
821 | }
|
---|
822 |
|
---|