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