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 | ElectronEnergySmearing
|
---|
14 | MuonMomentumSmearing
|
---|
15 |
|
---|
16 | TrackMerger
|
---|
17 | Calorimeter
|
---|
18 | EFlowMerger
|
---|
19 |
|
---|
20 | PhotonEfficiency
|
---|
21 | PhotonIsolation
|
---|
22 |
|
---|
23 | ElectronFilter
|
---|
24 | ElectronEfficiency
|
---|
25 | ElectronIsolation
|
---|
26 |
|
---|
27 | MuonEfficiency
|
---|
28 | MuonIsolation
|
---|
29 |
|
---|
30 | MissingET
|
---|
31 |
|
---|
32 | NeutrinoFilter
|
---|
33 | GenJetFinder
|
---|
34 | FastJetFinder
|
---|
35 |
|
---|
36 | JetFakeParticle
|
---|
37 | ElectronMerger
|
---|
38 | MuonMerger
|
---|
39 | PhotonMerger
|
---|
40 |
|
---|
41 | JetEnergyScale
|
---|
42 |
|
---|
43 | JetFlavorAssociation
|
---|
44 |
|
---|
45 | BTagging
|
---|
46 | TauTagging
|
---|
47 |
|
---|
48 | UniqueObjectFinder
|
---|
49 |
|
---|
50 | ScalarHT
|
---|
51 |
|
---|
52 | TreeWriter
|
---|
53 | }
|
---|
54 |
|
---|
55 | #################################
|
---|
56 | # Propagate particles in cylinder
|
---|
57 | #################################
|
---|
58 |
|
---|
59 | module ParticlePropagator ParticlePropagator {
|
---|
60 | set InputArray Delphes/stableParticles
|
---|
61 |
|
---|
62 | set OutputArray stableParticles
|
---|
63 | set ChargedHadronOutputArray chargedHadrons
|
---|
64 | set ElectronOutputArray electrons
|
---|
65 | set MuonOutputArray muons
|
---|
66 |
|
---|
67 | # radius of the magnetic field coverage, in m
|
---|
68 | set Radius 1.29
|
---|
69 | # half-length of the magnetic field coverage, in m
|
---|
70 | set HalfLength 3.00
|
---|
71 |
|
---|
72 | # magnetic field
|
---|
73 | set Bz 3.8
|
---|
74 | }
|
---|
75 |
|
---|
76 | ####################################
|
---|
77 | # Charged hadron tracking efficiency
|
---|
78 | ####################################
|
---|
79 |
|
---|
80 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
81 | set InputArray ParticlePropagator/chargedHadrons
|
---|
82 | set OutputArray chargedHadrons
|
---|
83 |
|
---|
84 | # add EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
85 |
|
---|
86 | # tracking efficiency formula for charged hadrons
|
---|
87 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
88 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
89 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) +
|
---|
90 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) +
|
---|
91 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) +
|
---|
92 | (abs(eta) > 2.5) * (0.00)}
|
---|
93 | }
|
---|
94 |
|
---|
95 | ##############################
|
---|
96 | # Electron tracking efficiency
|
---|
97 | ##############################
|
---|
98 |
|
---|
99 | module Efficiency ElectronTrackingEfficiency {
|
---|
100 | set InputArray ParticlePropagator/electrons
|
---|
101 | set OutputArray electrons
|
---|
102 |
|
---|
103 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
104 |
|
---|
105 | # tracking efficiency formula for electrons
|
---|
106 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
107 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) +
|
---|
108 | (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) +
|
---|
109 | (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) +
|
---|
110 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) +
|
---|
111 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) +
|
---|
112 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) +
|
---|
113 | (abs(eta) > 2.5) * (0.00)}
|
---|
114 | }
|
---|
115 |
|
---|
116 | ##########################
|
---|
117 | # Muon tracking efficiency
|
---|
118 | ##########################
|
---|
119 |
|
---|
120 | module Efficiency MuonTrackingEfficiency {
|
---|
121 | set InputArray ParticlePropagator/muons
|
---|
122 | set OutputArray muons
|
---|
123 |
|
---|
124 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
125 |
|
---|
126 | # tracking efficiency formula for muons
|
---|
127 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
128 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) +
|
---|
129 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) +
|
---|
130 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
131 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) +
|
---|
132 | (abs(eta) > 2.5) * (0.00)}
|
---|
133 | }
|
---|
134 |
|
---|
135 | ########################################
|
---|
136 | # Momentum resolution for charged tracks
|
---|
137 | ########################################
|
---|
138 |
|
---|
139 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
140 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
141 | set OutputArray chargedHadrons
|
---|
142 |
|
---|
143 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
144 |
|
---|
145 | # resolution formula for charged hadrons
|
---|
146 | set ResolutionFormula { (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.02) +
|
---|
147 | (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e1) * (0.01) +
|
---|
148 | (abs(eta) <= 1.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.03) +
|
---|
149 | (abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05) +
|
---|
150 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.03) +
|
---|
151 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e1) * (0.02) +
|
---|
152 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.04) +
|
---|
153 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05)}
|
---|
154 | }
|
---|
155 |
|
---|
156 | #################################
|
---|
157 | # Energy resolution for electrons
|
---|
158 | #################################
|
---|
159 |
|
---|
160 | module EnergySmearing ElectronEnergySmearing {
|
---|
161 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
162 | set OutputArray electrons
|
---|
163 |
|
---|
164 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
165 |
|
---|
166 | # resolution formula for electrons
|
---|
167 | set ResolutionFormula { (abs(eta) <= 2.5) * (energy > 0.1 && energy <= 2.0e1) * (energy*0.0225) +
|
---|
168 | (abs(eta) <= 2.5) * (energy > 2.0e1) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) +
|
---|
169 | (abs(eta) > 2.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) +
|
---|
170 | (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
|
---|
171 |
|
---|
172 | }
|
---|
173 |
|
---|
174 | ###############################
|
---|
175 | # Momentum resolution for muons
|
---|
176 | ###############################
|
---|
177 |
|
---|
178 | module MomentumSmearing MuonMomentumSmearing {
|
---|
179 | set InputArray MuonTrackingEfficiency/muons
|
---|
180 | set OutputArray muons
|
---|
181 |
|
---|
182 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
183 |
|
---|
184 | # resolution formula for muons
|
---|
185 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1 && pt <= 5.0) * (0.02) +
|
---|
186 | (abs(eta) <= 0.5) * (pt > 5.0 && pt <= 1.0e2) * (0.015) +
|
---|
187 | (abs(eta) <= 0.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.03) +
|
---|
188 | (abs(eta) <= 0.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) +
|
---|
189 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1 && pt <= 5.0) * (0.03) +
|
---|
190 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 5.0 && pt <= 1.0e2) * (0.02) +
|
---|
191 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.04) +
|
---|
192 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) +
|
---|
193 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 5.0) * (0.04) +
|
---|
194 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 5.0 && pt <= 1.0e2) * (0.035) +
|
---|
195 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.05) +
|
---|
196 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4)}
|
---|
197 | }
|
---|
198 |
|
---|
199 | ##############
|
---|
200 | # Track merger
|
---|
201 | ##############
|
---|
202 |
|
---|
203 | module Merger TrackMerger {
|
---|
204 | # add InputArray InputArray
|
---|
205 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
206 | add InputArray ElectronEnergySmearing/electrons
|
---|
207 | add InputArray MuonMomentumSmearing/muons
|
---|
208 | set OutputArray tracks
|
---|
209 | }
|
---|
210 |
|
---|
211 | #############
|
---|
212 | # Calorimeter
|
---|
213 | #############
|
---|
214 |
|
---|
215 | module Calorimeter Calorimeter {
|
---|
216 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
217 | set TrackInputArray TrackMerger/tracks
|
---|
218 |
|
---|
219 | set TowerOutputArray towers
|
---|
220 | set PhotonOutputArray photons
|
---|
221 |
|
---|
222 | set EFlowTrackOutputArray eflowTracks
|
---|
223 | set EFlowPhotonOutputArray eflowPhotons
|
---|
224 | set EFlowNeutralHadronOutputArray eflowNeutralHadrons
|
---|
225 |
|
---|
226 | set ECalEnergyMin 0.5
|
---|
227 | set HCalEnergyMin 1.0
|
---|
228 |
|
---|
229 | set ECalEnergySignificanceMin 1.0
|
---|
230 | set HCalEnergySignificanceMin 1.0
|
---|
231 |
|
---|
232 | set SmearTowerCenter true
|
---|
233 |
|
---|
234 | set pi [expr {acos(-1)}]
|
---|
235 |
|
---|
236 | # lists of the edges of each tower in eta and phi
|
---|
237 | # each list starts with the lower edge of the first tower
|
---|
238 | # the list ends with the higher edged of the last tower
|
---|
239 |
|
---|
240 | # 5 degrees towers
|
---|
241 | set PhiBins {}
|
---|
242 | for {set i -36} {$i <= 36} {incr i} {
|
---|
243 | add PhiBins [expr {$i * $pi/36.0}]
|
---|
244 | }
|
---|
245 | foreach eta {-1.566 -1.479 -1.392 -1.305 -1.218 -1.131 -1.044 -0.957 -0.87 -0.783 -0.696 -0.609 -0.522 -0.435 -0.348 -0.261 -0.174 -0.087 0 0.087 0.174 0.261 0.348 0.435 0.522 0.609 0.696 0.783 0.87 0.957 1.044 1.131 1.218 1.305 1.392 1.479 1.566 1.653} {
|
---|
246 | add EtaPhiBins $eta $PhiBins
|
---|
247 | }
|
---|
248 |
|
---|
249 | # 10 degrees towers
|
---|
250 | set PhiBins {}
|
---|
251 | for {set i -18} {$i <= 18} {incr i} {
|
---|
252 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
253 | }
|
---|
254 | foreach eta {-4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.95 -2.868 -2.65 -2.5 -2.322 -2.172 -2.043 -1.93 -1.83 -1.74 -1.653 1.74 1.83 1.93 2.043 2.172 2.322 2.5 2.65 2.868 2.95 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525} {
|
---|
255 | add EtaPhiBins $eta $PhiBins
|
---|
256 | }
|
---|
257 |
|
---|
258 | # 20 degrees towers
|
---|
259 | set PhiBins {}
|
---|
260 | for {set i -9} {$i <= 9} {incr i} {
|
---|
261 | add PhiBins [expr {$i * $pi/9.0}]
|
---|
262 | }
|
---|
263 | foreach eta {-5 -4.7 -4.525 4.7 5} {
|
---|
264 | add EtaPhiBins $eta $PhiBins
|
---|
265 | }
|
---|
266 |
|
---|
267 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
268 | add EnergyFraction {0} {0.0 1.0}
|
---|
269 | # energy fractions for e, gamma and pi0
|
---|
270 | add EnergyFraction {11} {1.0 0.0}
|
---|
271 | add EnergyFraction {22} {1.0 0.0}
|
---|
272 | add EnergyFraction {111} {1.0 0.0}
|
---|
273 | # energy fractions for muon, neutrinos and neutralinos
|
---|
274 | add EnergyFraction {12} {0.0 0.0}
|
---|
275 | add EnergyFraction {13} {0.0 0.0}
|
---|
276 | add EnergyFraction {14} {0.0 0.0}
|
---|
277 | add EnergyFraction {16} {0.0 0.0}
|
---|
278 | add EnergyFraction {1000022} {0.0 0.0}
|
---|
279 | add EnergyFraction {1000023} {0.0 0.0}
|
---|
280 | add EnergyFraction {1000025} {0.0 0.0}
|
---|
281 | add EnergyFraction {1000035} {0.0 0.0}
|
---|
282 | add EnergyFraction {1000045} {0.0 0.0}
|
---|
283 | # energy fractions for K0short and Lambda
|
---|
284 | add EnergyFraction {310} {0.3 0.7}
|
---|
285 | add EnergyFraction {3122} {0.3 0.7}
|
---|
286 |
|
---|
287 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
288 | set ECalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) +
|
---|
289 | (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
|
---|
290 |
|
---|
291 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
292 | set HCalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) +
|
---|
293 | (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.130^2 + energy*2.70^2)}
|
---|
294 | }
|
---|
295 |
|
---|
296 | ####################
|
---|
297 | # Energy flow merger
|
---|
298 | ####################
|
---|
299 |
|
---|
300 | module Merger EFlowMerger {
|
---|
301 | # add InputArray InputArray
|
---|
302 | add InputArray Calorimeter/eflowTracks
|
---|
303 | add InputArray Calorimeter/eflowPhotons
|
---|
304 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
305 | set OutputArray eflow
|
---|
306 | }
|
---|
307 |
|
---|
308 | ###################
|
---|
309 | # Photon efficiency
|
---|
310 | ###################
|
---|
311 |
|
---|
312 | module Efficiency PhotonEfficiency {
|
---|
313 | set InputArray Calorimeter/eflowPhotons
|
---|
314 | set OutputArray photons
|
---|
315 |
|
---|
316 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
317 |
|
---|
318 | # efficiency formula for photons
|
---|
319 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
320 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
321 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
322 | (abs(eta) > 2.5) * (0.00)}
|
---|
323 | }
|
---|
324 |
|
---|
325 | ##################
|
---|
326 | # Photon isolation
|
---|
327 | ##################
|
---|
328 |
|
---|
329 | module Isolation PhotonIsolation {
|
---|
330 | set CandidateInputArray PhotonEfficiency/photons
|
---|
331 | set IsolationInputArray EFlowMerger/eflow
|
---|
332 |
|
---|
333 | set OutputArray photons
|
---|
334 |
|
---|
335 | set DeltaRMax 0.5
|
---|
336 |
|
---|
337 | set PTMin 0.5
|
---|
338 |
|
---|
339 | set PTRatioMax 0.1
|
---|
340 | }
|
---|
341 |
|
---|
342 | #################
|
---|
343 | # Electron filter
|
---|
344 | #################
|
---|
345 |
|
---|
346 | module PdgCodeFilter ElectronFilter {
|
---|
347 | set InputArray Calorimeter/eflowTracks
|
---|
348 | set OutputArray electrons
|
---|
349 | set Invert true
|
---|
350 | add PdgCode {11}
|
---|
351 | add PdgCode {-11}
|
---|
352 | }
|
---|
353 |
|
---|
354 |
|
---|
355 | #####################
|
---|
356 | # Electron efficiency
|
---|
357 | #####################
|
---|
358 |
|
---|
359 | module Efficiency ElectronEfficiency {
|
---|
360 | set InputArray ElectronFilter/electrons
|
---|
361 | set OutputArray electrons
|
---|
362 |
|
---|
363 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
364 |
|
---|
365 | # efficiency formula for electrons
|
---|
366 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
367 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
368 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
369 | (abs(eta) > 2.5) * (0.00)}
|
---|
370 | }
|
---|
371 |
|
---|
372 | ####################
|
---|
373 | # Electron isolation
|
---|
374 | ####################
|
---|
375 |
|
---|
376 | module Isolation ElectronIsolation {
|
---|
377 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
378 | set IsolationInputArray EFlowMerger/eflow
|
---|
379 |
|
---|
380 | set OutputArray electrons
|
---|
381 |
|
---|
382 | set DeltaRMax 0.5
|
---|
383 |
|
---|
384 | set PTMin 0.5
|
---|
385 |
|
---|
386 | set PTRatioMax 0.1
|
---|
387 | }
|
---|
388 |
|
---|
389 | #################
|
---|
390 | # Muon efficiency
|
---|
391 | #################
|
---|
392 |
|
---|
393 | module Efficiency MuonEfficiency {
|
---|
394 | set InputArray MuonMomentumSmearing/muons
|
---|
395 | set OutputArray muons
|
---|
396 |
|
---|
397 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
398 |
|
---|
399 | # efficiency formula for muons
|
---|
400 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
401 | (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
402 | (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
403 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
404 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
405 | (abs(eta) > 2.4) * (0.00)}
|
---|
406 | }
|
---|
407 |
|
---|
408 | ################
|
---|
409 | # Muon isolation
|
---|
410 | ################
|
---|
411 |
|
---|
412 | module Isolation MuonIsolation {
|
---|
413 | set CandidateInputArray MuonEfficiency/muons
|
---|
414 | set IsolationInputArray EFlowMerger/eflow
|
---|
415 |
|
---|
416 | set OutputArray muons
|
---|
417 |
|
---|
418 | set DeltaRMax 0.5
|
---|
419 |
|
---|
420 | set PTMin 0.5
|
---|
421 |
|
---|
422 | set PTRatioMax 0.1
|
---|
423 | }
|
---|
424 |
|
---|
425 | ###################
|
---|
426 | # Missing ET merger
|
---|
427 | ###################
|
---|
428 |
|
---|
429 | module Merger MissingET {
|
---|
430 | # add InputArray InputArray
|
---|
431 | add InputArray EFlowMerger/eflow
|
---|
432 | set MomentumOutputArray momentum
|
---|
433 | }
|
---|
434 |
|
---|
435 | ##################
|
---|
436 | # Scalar HT merger
|
---|
437 | ##################
|
---|
438 |
|
---|
439 | module Merger ScalarHT {
|
---|
440 | # add InputArray InputArray
|
---|
441 | add InputArray UniqueObjectFinder/jets
|
---|
442 | add InputArray UniqueObjectFinder/electrons
|
---|
443 | add InputArray UniqueObjectFinder/photons
|
---|
444 | add InputArray UniqueObjectFinder/muons
|
---|
445 | set EnergyOutputArray energy
|
---|
446 | }
|
---|
447 |
|
---|
448 |
|
---|
449 | #####################
|
---|
450 | # Neutrino Filter
|
---|
451 | #####################
|
---|
452 |
|
---|
453 | module PdgCodeFilter NeutrinoFilter {
|
---|
454 |
|
---|
455 | set InputArray Delphes/stableParticles
|
---|
456 | set OutputArray filteredParticles
|
---|
457 |
|
---|
458 | set PTMin 0.0
|
---|
459 |
|
---|
460 | add PdgCode {12}
|
---|
461 | add PdgCode {14}
|
---|
462 | add PdgCode {16}
|
---|
463 | add PdgCode {-12}
|
---|
464 | add PdgCode {-14}
|
---|
465 | add PdgCode {-16}
|
---|
466 |
|
---|
467 | }
|
---|
468 |
|
---|
469 |
|
---|
470 | #####################
|
---|
471 | # MC truth jet finder
|
---|
472 | #####################
|
---|
473 |
|
---|
474 | module FastJetFinder GenJetFinder {
|
---|
475 | set InputArray NeutrinoFilter/filteredParticles
|
---|
476 |
|
---|
477 | set OutputArray jets
|
---|
478 |
|
---|
479 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
480 | set JetAlgorithm 6
|
---|
481 | set ParameterR 0.5
|
---|
482 |
|
---|
483 | set JetPTMin 20.0
|
---|
484 | }
|
---|
485 |
|
---|
486 |
|
---|
487 | ############
|
---|
488 | # Jet finder
|
---|
489 | ############
|
---|
490 |
|
---|
491 | module FastJetFinder FastJetFinder {
|
---|
492 | # set InputArray Calorimeter/towers
|
---|
493 | set InputArray EFlowMerger/eflow
|
---|
494 |
|
---|
495 | set OutputArray jets
|
---|
496 |
|
---|
497 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
498 | set JetAlgorithm 6
|
---|
499 | set ParameterR 0.5
|
---|
500 |
|
---|
501 | set JetPTMin 20.0
|
---|
502 | }
|
---|
503 |
|
---|
504 | ###############
|
---|
505 | # Jet Fakes
|
---|
506 | ###############
|
---|
507 |
|
---|
508 |
|
---|
509 | module JetFakeParticle JetFakeParticle {
|
---|
510 | set InputArray FastJetFinder/jets
|
---|
511 |
|
---|
512 |
|
---|
513 | set PhotonOutputArray photons
|
---|
514 | set ElectronOutputArray electrons
|
---|
515 | set MuonOutputArray muons
|
---|
516 |
|
---|
517 | set OutputArray jets
|
---|
518 |
|
---|
519 | # {PID out} {formula}
|
---|
520 | # make sure output particles are only electrons, muons or photons
|
---|
521 |
|
---|
522 | add EfficiencyFormula {11} { (eta <= 2.5) * (pt > 20.0) * (0.00)}
|
---|
523 | add EfficiencyFormula {13} { (eta <= 2.5) * (pt > 20.0) * (0.00)}
|
---|
524 | add EfficiencyFormula {22} { (eta <= 2.5) * (pt > 20.0) * (0.00)}
|
---|
525 |
|
---|
526 | }
|
---|
527 |
|
---|
528 | ##################
|
---|
529 | # Electron merger
|
---|
530 | ##################
|
---|
531 |
|
---|
532 | module Merger ElectronMerger {
|
---|
533 | # add InputArray InputArray
|
---|
534 | add InputArray ElectronIsolation/electrons
|
---|
535 | add InputArray JetFakeParticle/electrons
|
---|
536 | set OutputArray electrons
|
---|
537 | }
|
---|
538 |
|
---|
539 | ##################
|
---|
540 | # Muon merger
|
---|
541 | ##################
|
---|
542 |
|
---|
543 | module Merger MuonMerger {
|
---|
544 | # add InputArray InputArray
|
---|
545 | add InputArray MuonIsolation/muons
|
---|
546 | add InputArray JetFakeParticle/muons
|
---|
547 | set OutputArray muons
|
---|
548 | }
|
---|
549 |
|
---|
550 | ##################
|
---|
551 | # Photon merger
|
---|
552 | ##################
|
---|
553 |
|
---|
554 | module Merger PhotonMerger {
|
---|
555 | # add InputArray InputArray
|
---|
556 | add InputArray PhotonIsolation/photons
|
---|
557 | add InputArray JetFakeParticle/photons
|
---|
558 | set OutputArray photons
|
---|
559 | }
|
---|
560 |
|
---|
561 |
|
---|
562 |
|
---|
563 | ##################
|
---|
564 | # Jet Energy Scale
|
---|
565 | ##################
|
---|
566 |
|
---|
567 | module EnergyScale JetEnergyScale {
|
---|
568 | set InputArray JetFakeParticle/jets
|
---|
569 | set OutputArray jets
|
---|
570 |
|
---|
571 | # scale formula for jets
|
---|
572 | set ScaleFormula {sqrt( (2.5 - 0.15*(abs(eta)))^2 / pt + 1.0 )}
|
---|
573 | }
|
---|
574 |
|
---|
575 | ########################
|
---|
576 | # Jet Flavor Association
|
---|
577 | ########################
|
---|
578 |
|
---|
579 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
580 |
|
---|
581 | set PartonInputArray Delphes/partons
|
---|
582 | set ParticleInputArray Delphes/allParticles
|
---|
583 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
584 | set JetInputArray JetEnergyScale/jets
|
---|
585 |
|
---|
586 | set DeltaR 0.5
|
---|
587 | set PartonPTMin 1.0
|
---|
588 | set PartonEtaMax 2.5
|
---|
589 |
|
---|
590 | }
|
---|
591 |
|
---|
592 | ###########
|
---|
593 | # b-tagging
|
---|
594 | ###########
|
---|
595 |
|
---|
596 | module BTagging BTagging {
|
---|
597 | set JetInputArray JetEnergyScale/jets
|
---|
598 |
|
---|
599 | set BitNumber 0
|
---|
600 |
|
---|
601 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
602 | # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
|
---|
603 | # gluon's PDG code has the lowest priority
|
---|
604 |
|
---|
605 | # https://twiki.cern.ch/twiki/bin/view/CMSPublic/PhysicsResultsBTV
|
---|
606 | # default efficiency formula (misidentification rate)
|
---|
607 | add EfficiencyFormula {0} {0.001}
|
---|
608 |
|
---|
609 | # efficiency formula for c-jets (misidentification rate)
|
---|
610 | add EfficiencyFormula {4} { (pt <= 15.0) * (0.000) +
|
---|
611 | (abs(eta) <= 1.2) * (pt > 15.0) * (0.2*tanh(pt*0.03 - 0.4)) +
|
---|
612 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.1*tanh(pt*0.03 - 0.4)) +
|
---|
613 | (abs(eta) > 2.5) * (0.000)}
|
---|
614 |
|
---|
615 | # efficiency formula for b-jets
|
---|
616 | add EfficiencyFormula {5} { (pt <= 15.0) * (0.000) +
|
---|
617 | (abs(eta) <= 1.2) * (pt > 15.0) * (0.5*tanh(pt*0.03 - 0.4)) +
|
---|
618 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.4*tanh(pt*0.03 - 0.4)) +
|
---|
619 | (abs(eta) > 2.5) * (0.000)}
|
---|
620 | }
|
---|
621 |
|
---|
622 | #############
|
---|
623 | # tau-tagging
|
---|
624 | #############
|
---|
625 |
|
---|
626 | module TauTagging TauTagging {
|
---|
627 | set ParticleInputArray Delphes/allParticles
|
---|
628 | set PartonInputArray Delphes/partons
|
---|
629 | set JetInputArray JetEnergyScale/jets
|
---|
630 |
|
---|
631 | set DeltaR 0.5
|
---|
632 |
|
---|
633 | set TauPTMin 1.0
|
---|
634 |
|
---|
635 | set TauEtaMax 2.5
|
---|
636 |
|
---|
637 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
638 |
|
---|
639 | # default efficiency formula (misidentification rate)
|
---|
640 | add EfficiencyFormula {0} {0.00}
|
---|
641 | # efficiency formula for tau-jets
|
---|
642 | add EfficiencyFormula {15} {1.00}
|
---|
643 | }
|
---|
644 |
|
---|
645 | #####################################################
|
---|
646 | # Find uniquely identified photons/electrons/tau/jets
|
---|
647 | #####################################################
|
---|
648 |
|
---|
649 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
650 | # earlier arrays take precedence over later ones
|
---|
651 | # add InputArray InputArray OutputArray
|
---|
652 | add InputArray PhotonMerger/photons photons
|
---|
653 | add InputArray ElectronMerger/electrons electrons
|
---|
654 | add InputArray MuonMerger/muons muons
|
---|
655 | add InputArray JetEnergyScale/jets jets
|
---|
656 | }
|
---|
657 |
|
---|
658 | ##################
|
---|
659 | # ROOT tree writer
|
---|
660 | ##################
|
---|
661 |
|
---|
662 | # tracks, towers and eflow objects are not stored by default in the output.
|
---|
663 | # if needed (for jet constituent or other studies), uncomment the relevant
|
---|
664 | # "add Branch ..." lines.
|
---|
665 |
|
---|
666 | module TreeWriter TreeWriter {
|
---|
667 | # add Branch InputArray BranchName BranchClass
|
---|
668 | add Branch Delphes/allParticles Particle GenParticle
|
---|
669 |
|
---|
670 | add Branch TrackMerger/tracks Track Track
|
---|
671 | add Branch Calorimeter/towers Tower Tower
|
---|
672 |
|
---|
673 | add Branch Calorimeter/eflowTracks EFlowTrack Track
|
---|
674 | add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
|
---|
675 | add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
676 |
|
---|
677 | add Branch GenJetFinder/jets GenJet Jet
|
---|
678 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
679 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
680 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
681 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
682 | add Branch MissingET/momentum MissingET MissingET
|
---|
683 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
684 | }
|
---|