1 | #######################################
|
---|
2 | # Order of execution of various modules
|
---|
3 | #######################################
|
---|
4 |
|
---|
5 | set ExecutionPath {
|
---|
6 |
|
---|
7 | PileUpMerger
|
---|
8 | ParticlePropagator
|
---|
9 |
|
---|
10 | ChargedHadronTrackingEfficiency
|
---|
11 | ElectronTrackingEfficiency
|
---|
12 | MuonTrackingEfficiency
|
---|
13 |
|
---|
14 | ChargedHadronMomentumSmearing
|
---|
15 | ElectronMomentumSmearing
|
---|
16 | MuonMomentumSmearing
|
---|
17 |
|
---|
18 | TrackMerger
|
---|
19 | Calorimeter
|
---|
20 | ElectronFilter
|
---|
21 | TrackPileUpSubtractor
|
---|
22 | NeutralTowerMerger
|
---|
23 | EFlowMergerAllTracks
|
---|
24 | EFlowMerger
|
---|
25 |
|
---|
26 | NeutrinoFilter
|
---|
27 | GenJetFinder
|
---|
28 | GenMissingET
|
---|
29 |
|
---|
30 | Rho
|
---|
31 | FastJetFinder
|
---|
32 | JetPileUpSubtractor
|
---|
33 |
|
---|
34 | JetEnergyScale
|
---|
35 |
|
---|
36 | PhotonEfficiency
|
---|
37 | PhotonIsolation
|
---|
38 |
|
---|
39 | ElectronEfficiency
|
---|
40 | ElectronIsolation
|
---|
41 |
|
---|
42 | MuonEfficiency
|
---|
43 | MuonIsolation
|
---|
44 |
|
---|
45 | MissingET
|
---|
46 |
|
---|
47 | JetFlavorAssociation
|
---|
48 |
|
---|
49 | BTagging
|
---|
50 | TauTagging
|
---|
51 |
|
---|
52 | UniqueObjectFinder
|
---|
53 |
|
---|
54 | ScalarHT
|
---|
55 |
|
---|
56 | TreeWriter
|
---|
57 | }
|
---|
58 |
|
---|
59 | ###############
|
---|
60 | # PileUp Merger
|
---|
61 | ###############
|
---|
62 |
|
---|
63 | module PileUpMerger PileUpMerger {
|
---|
64 | set InputArray Delphes/stableParticles
|
---|
65 |
|
---|
66 | set ParticleOutputArray stableParticles
|
---|
67 | set VertexOutputArray vertices
|
---|
68 |
|
---|
69 | # pre-generated minbias input file
|
---|
70 | set PileUpFile MinBias.pileup
|
---|
71 |
|
---|
72 | # average expected pile up
|
---|
73 | set MeanPileUp 50
|
---|
74 |
|
---|
75 | # maximum spread in the beam direction in m
|
---|
76 | set ZVertexSpread 0.25
|
---|
77 |
|
---|
78 | # maximum spread in time in s
|
---|
79 | set TVertexSpread 800E-12
|
---|
80 |
|
---|
81 | # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s)
|
---|
82 | set VertexDistributionFormula {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))}
|
---|
83 |
|
---|
84 |
|
---|
85 | }
|
---|
86 |
|
---|
87 | #################################
|
---|
88 | # Propagate particles in cylinder
|
---|
89 | #################################
|
---|
90 |
|
---|
91 | module ParticlePropagator ParticlePropagator {
|
---|
92 | set InputArray PileUpMerger/stableParticles
|
---|
93 |
|
---|
94 | set OutputArray stableParticles
|
---|
95 | set ChargedHadronOutputArray chargedHadrons
|
---|
96 | set ElectronOutputArray electrons
|
---|
97 | set MuonOutputArray muons
|
---|
98 |
|
---|
99 | # radius of the magnetic field coverage, in m
|
---|
100 | set Radius 1.15
|
---|
101 | # half-length of the magnetic field coverage, in m
|
---|
102 | set HalfLength 3.51
|
---|
103 |
|
---|
104 | # magnetic field
|
---|
105 | set Bz 2.0
|
---|
106 | }
|
---|
107 |
|
---|
108 | ####################################
|
---|
109 | # Charged hadron tracking efficiency
|
---|
110 | ####################################
|
---|
111 |
|
---|
112 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
113 | set InputArray ParticlePropagator/chargedHadrons
|
---|
114 | set OutputArray chargedHadrons
|
---|
115 |
|
---|
116 | # add EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
117 |
|
---|
118 | # tracking efficiency formula for charged hadrons
|
---|
119 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
120 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
121 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) +
|
---|
122 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) +
|
---|
123 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) +
|
---|
124 | (abs(eta) > 2.5) * (0.00)}
|
---|
125 | }
|
---|
126 |
|
---|
127 | ##############################
|
---|
128 | # Electron tracking efficiency
|
---|
129 | ##############################
|
---|
130 |
|
---|
131 | module Efficiency ElectronTrackingEfficiency {
|
---|
132 | set InputArray ParticlePropagator/electrons
|
---|
133 | set OutputArray electrons
|
---|
134 |
|
---|
135 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
136 |
|
---|
137 | # tracking efficiency formula for electrons
|
---|
138 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
139 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) +
|
---|
140 | (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) +
|
---|
141 | (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) +
|
---|
142 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) +
|
---|
143 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) +
|
---|
144 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) +
|
---|
145 | (abs(eta) > 2.5) * (0.00)}
|
---|
146 | }
|
---|
147 |
|
---|
148 | ##########################
|
---|
149 | # Muon tracking efficiency
|
---|
150 | ##########################
|
---|
151 |
|
---|
152 | module Efficiency MuonTrackingEfficiency {
|
---|
153 | set InputArray ParticlePropagator/muons
|
---|
154 | set OutputArray muons
|
---|
155 |
|
---|
156 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
157 |
|
---|
158 | # tracking efficiency formula for muons
|
---|
159 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
160 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) +
|
---|
161 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) +
|
---|
162 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
163 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) +
|
---|
164 | (abs(eta) > 2.5) * (0.00)}
|
---|
165 | }
|
---|
166 |
|
---|
167 | ########################################
|
---|
168 | # Momentum resolution for charged tracks
|
---|
169 | ########################################
|
---|
170 |
|
---|
171 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
172 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
173 | set OutputArray chargedHadrons
|
---|
174 |
|
---|
175 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
176 |
|
---|
177 | # resolution formula for charged hadrons
|
---|
178 | # based on arXiv:1405.6569
|
---|
179 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.06^2 + pt^2*1.3e-3^2) +
|
---|
180 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.10^2 + pt^2*1.7e-3^2) +
|
---|
181 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.25^2 + pt^2*3.1e-3^2)}
|
---|
182 | }
|
---|
183 |
|
---|
184 | ###################################
|
---|
185 | # Momentum resolution for electrons
|
---|
186 | ###################################
|
---|
187 |
|
---|
188 | module MomentumSmearing ElectronMomentumSmearing {
|
---|
189 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
190 | set OutputArray electrons
|
---|
191 |
|
---|
192 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
193 |
|
---|
194 | # resolution formula for electrons
|
---|
195 | # based on arXiv:1405.6569
|
---|
196 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.03^2 + pt^2*1.3e-3^2) +
|
---|
197 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.05^2 + pt^2*1.7e-3^2) +
|
---|
198 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.15^2 + pt^2*3.1e-3^2)}
|
---|
199 | }
|
---|
200 |
|
---|
201 | ###############################
|
---|
202 | # Momentum resolution for muons
|
---|
203 | ###############################
|
---|
204 |
|
---|
205 | module MomentumSmearing MuonMomentumSmearing {
|
---|
206 | set InputArray MuonTrackingEfficiency/muons
|
---|
207 | set OutputArray muons
|
---|
208 |
|
---|
209 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
210 |
|
---|
211 | # resolution formula for muons
|
---|
212 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.0e-4^2) +
|
---|
213 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*1.5e-4^2) +
|
---|
214 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*3.5e-4^2)}
|
---|
215 | }
|
---|
216 |
|
---|
217 | ##############
|
---|
218 | # Track merger
|
---|
219 | ##############
|
---|
220 |
|
---|
221 | module Merger TrackMerger {
|
---|
222 | # add InputArray InputArray
|
---|
223 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
224 | add InputArray ElectronMomentumSmearing/electrons
|
---|
225 | add InputArray MuonMomentumSmearing/muons
|
---|
226 | set OutputArray tracks
|
---|
227 | }
|
---|
228 |
|
---|
229 | #############
|
---|
230 | # Calorimeter
|
---|
231 | #############
|
---|
232 |
|
---|
233 | module Calorimeter Calorimeter {
|
---|
234 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
235 | set TrackInputArray TrackMerger/tracks
|
---|
236 |
|
---|
237 | set TowerOutputArray towers
|
---|
238 | set PhotonOutputArray photons
|
---|
239 |
|
---|
240 | set EFlowTrackOutputArray eflowTracks
|
---|
241 | set EFlowPhotonOutputArray eflowPhotons
|
---|
242 | set EFlowNeutralHadronOutputArray eflowNeutralHadrons
|
---|
243 |
|
---|
244 | set ECalEnergyMin 0.5
|
---|
245 | set HCalEnergyMin 1.0
|
---|
246 |
|
---|
247 | set ECalEnergySignificanceMin 1.0
|
---|
248 | set HCalEnergySignificanceMin 1.0
|
---|
249 |
|
---|
250 | set SmearTowerCenter true
|
---|
251 |
|
---|
252 | set pi [expr {acos(-1)}]
|
---|
253 |
|
---|
254 | # lists of the edges of each tower in eta and phi
|
---|
255 | # each list starts with the lower edge of the first tower
|
---|
256 | # the list ends with the higher edged of the last tower
|
---|
257 |
|
---|
258 | # 10 degrees towers
|
---|
259 | set PhiBins {}
|
---|
260 | for {set i -18} {$i <= 18} {incr i} {
|
---|
261 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
262 | }
|
---|
263 | foreach eta {-3.2 -2.5 -2.4 -2.3 -2.2 -2.1 -2 -1.9 -1.8 -1.7 -1.6 -1.5 -1.4 -1.3 -1.2 -1.1 -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 3.3} {
|
---|
264 | add EtaPhiBins $eta $PhiBins
|
---|
265 | }
|
---|
266 |
|
---|
267 | # 20 degrees towers
|
---|
268 | set PhiBins {}
|
---|
269 | for {set i -9} {$i <= 9} {incr i} {
|
---|
270 | add PhiBins [expr {$i * $pi/9.0}]
|
---|
271 | }
|
---|
272 | foreach eta {-4.9 -4.7 -4.5 -4.3 -4.1 -3.9 -3.7 -3.5 -3.3 -3 -2.8 -2.6 2.8 3 3.2 3.5 3.7 3.9 4.1 4.3 4.5 4.7 4.9} {
|
---|
273 | add EtaPhiBins $eta $PhiBins
|
---|
274 | }
|
---|
275 |
|
---|
276 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
277 | add EnergyFraction {0} {0.0 1.0}
|
---|
278 | # energy fractions for e, gamma and pi0
|
---|
279 | add EnergyFraction {11} {1.0 0.0}
|
---|
280 | add EnergyFraction {22} {1.0 0.0}
|
---|
281 | add EnergyFraction {111} {1.0 0.0}
|
---|
282 | # energy fractions for muon, neutrinos and neutralinos
|
---|
283 | add EnergyFraction {12} {0.0 0.0}
|
---|
284 | add EnergyFraction {13} {0.0 0.0}
|
---|
285 | add EnergyFraction {14} {0.0 0.0}
|
---|
286 | add EnergyFraction {16} {0.0 0.0}
|
---|
287 | add EnergyFraction {1000022} {0.0 0.0}
|
---|
288 | add EnergyFraction {1000023} {0.0 0.0}
|
---|
289 | add EnergyFraction {1000025} {0.0 0.0}
|
---|
290 | add EnergyFraction {1000035} {0.0 0.0}
|
---|
291 | add EnergyFraction {1000045} {0.0 0.0}
|
---|
292 | # energy fractions for K0short and Lambda
|
---|
293 | add EnergyFraction {310} {0.3 0.7}
|
---|
294 | add EnergyFraction {3122} {0.3 0.7}
|
---|
295 |
|
---|
296 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
297 | # http://arxiv.org/pdf/physics/0608012v1 jinst8_08_s08003
|
---|
298 | # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
|
---|
299 | # http://www.physics.utoronto.ca/~krieger/procs/ComoProceedings.pdf
|
---|
300 | set ECalResolutionFormula { (abs(eta) <= 3.2) * sqrt(energy^2*0.0017^2 + energy*0.101^2) +
|
---|
301 | (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.0350^2 + energy*0.285^2)}
|
---|
302 |
|
---|
303 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
304 | # http://arxiv.org/pdf/hep-ex/0004009v1
|
---|
305 | # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf
|
---|
306 | set HCalResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.0302^2 + energy*0.5205^2 + 1.59^2) +
|
---|
307 | (abs(eta) > 1.7 && abs(eta) <= 3.2) * sqrt(energy^2*0.0500^2 + energy*0.706^2) +
|
---|
308 | (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.09420^2 + energy*1.00^2)}
|
---|
309 | }
|
---|
310 |
|
---|
311 | #################
|
---|
312 | # Electron filter
|
---|
313 | #################
|
---|
314 |
|
---|
315 | module PdgCodeFilter ElectronFilter {
|
---|
316 | set InputArray Calorimeter/eflowTracks
|
---|
317 | set OutputArray electrons
|
---|
318 | set Invert true
|
---|
319 | add PdgCode {11}
|
---|
320 | add PdgCode {-11}
|
---|
321 | }
|
---|
322 |
|
---|
323 | ##########################
|
---|
324 | # Track pile-up subtractor
|
---|
325 | ##########################
|
---|
326 |
|
---|
327 | module TrackPileUpSubtractor TrackPileUpSubtractor {
|
---|
328 | # add InputArray InputArray OutputArray
|
---|
329 | add InputArray Calorimeter/eflowTracks eflowTracks
|
---|
330 | add InputArray ElectronFilter/electrons electrons
|
---|
331 | add InputArray MuonMomentumSmearing/muons muons
|
---|
332 |
|
---|
333 | # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
|
---|
334 | # Z vertex resolution in m
|
---|
335 | set ZVertexResolution 0.0001
|
---|
336 | }
|
---|
337 |
|
---|
338 | ####################
|
---|
339 | # Neutral tower merger
|
---|
340 | ####################
|
---|
341 |
|
---|
342 | module Merger NeutralTowerMerger {
|
---|
343 | # add InputArray InputArray
|
---|
344 | add InputArray Calorimeter/eflowPhotons
|
---|
345 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
346 | set OutputArray eflowTowers
|
---|
347 | }
|
---|
348 |
|
---|
349 | ##################################
|
---|
350 | # Energy flow merger (all tracks)
|
---|
351 | ##################################
|
---|
352 |
|
---|
353 | module Merger EFlowMergerAllTracks {
|
---|
354 | # add InputArray InputArray
|
---|
355 | add InputArray TrackMerger/tracks
|
---|
356 | add InputArray Calorimeter/eflowPhotons
|
---|
357 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
358 | set OutputArray eflow
|
---|
359 | }
|
---|
360 |
|
---|
361 |
|
---|
362 | ####################
|
---|
363 | # Energy flow merger
|
---|
364 | ####################
|
---|
365 |
|
---|
366 | module Merger EFlowMerger {
|
---|
367 | # add InputArray InputArray
|
---|
368 | add InputArray Calorimeter/eflowTracks
|
---|
369 | add InputArray Calorimeter/eflowPhotons
|
---|
370 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
371 | set OutputArray eflow
|
---|
372 | }
|
---|
373 |
|
---|
374 | #############
|
---|
375 | # Rho pile-up
|
---|
376 | #############
|
---|
377 |
|
---|
378 | module FastJetGridMedianEstimator Rho {
|
---|
379 |
|
---|
380 | set InputArray Calorimeter/towers
|
---|
381 | set RhoOutputArray rho
|
---|
382 |
|
---|
383 | # add GridRange rapmin rapmax drap dphi
|
---|
384 | # rapmin - the minimum rapidity extent of the grid
|
---|
385 | # rapmax - the maximum rapidity extent of the grid
|
---|
386 | # drap - the grid spacing in rapidity
|
---|
387 | # dphi - the grid spacing in azimuth
|
---|
388 |
|
---|
389 | add GridRange -5.0 -2.5 1.0 1.0
|
---|
390 | add GridRange -2.5 2.5 0.5 0.5
|
---|
391 | add GridRange 2.5 5.0 1.0 1.0
|
---|
392 |
|
---|
393 | }
|
---|
394 |
|
---|
395 |
|
---|
396 | #####################
|
---|
397 | # Neutrino Filter
|
---|
398 | #####################
|
---|
399 |
|
---|
400 | module PdgCodeFilter NeutrinoFilter {
|
---|
401 |
|
---|
402 | set InputArray Delphes/stableParticles
|
---|
403 | set OutputArray filteredParticles
|
---|
404 |
|
---|
405 | set PTMin 0.0
|
---|
406 |
|
---|
407 | add PdgCode {12}
|
---|
408 | add PdgCode {14}
|
---|
409 | add PdgCode {16}
|
---|
410 | add PdgCode {-12}
|
---|
411 | add PdgCode {-14}
|
---|
412 | add PdgCode {-16}
|
---|
413 |
|
---|
414 | }
|
---|
415 |
|
---|
416 | #####################
|
---|
417 | # MC truth jet finder
|
---|
418 | #####################
|
---|
419 |
|
---|
420 | module FastJetFinder GenJetFinder {
|
---|
421 | set InputArray NeutrinoFilter/filteredParticles
|
---|
422 |
|
---|
423 | set OutputArray jets
|
---|
424 |
|
---|
425 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
426 | set JetAlgorithm 6
|
---|
427 | set ParameterR 0.6
|
---|
428 |
|
---|
429 | set JetPTMin 20.0
|
---|
430 | }
|
---|
431 |
|
---|
432 | #########################
|
---|
433 | # Gen Missing ET merger
|
---|
434 | ########################
|
---|
435 |
|
---|
436 | module Merger GenMissingET {
|
---|
437 | # add InputArray InputArray
|
---|
438 | add InputArray NeutrinoFilter/filteredParticles
|
---|
439 | set MomentumOutputArray momentum
|
---|
440 | }
|
---|
441 |
|
---|
442 |
|
---|
443 | ############
|
---|
444 | # Jet finder
|
---|
445 | ############
|
---|
446 |
|
---|
447 | module FastJetFinder FastJetFinder {
|
---|
448 | set InputArray Calorimeter/towers
|
---|
449 |
|
---|
450 | set OutputArray jets
|
---|
451 |
|
---|
452 | # area algorithm: 0 Do not compute area, 1 Active area explicit ghosts, 2 One ghost passive area, 3 Passive area, 4 Voronoi, 5 Active area
|
---|
453 | set AreaAlgorithm 5
|
---|
454 |
|
---|
455 | # jet algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
456 | set JetAlgorithm 6
|
---|
457 | set ParameterR 0.6
|
---|
458 |
|
---|
459 | set JetPTMin 20.0
|
---|
460 | }
|
---|
461 |
|
---|
462 | ###########################
|
---|
463 | # Jet Pile-Up Subtraction
|
---|
464 | ###########################
|
---|
465 |
|
---|
466 | module JetPileUpSubtractor JetPileUpSubtractor {
|
---|
467 | set JetInputArray FastJetFinder/jets
|
---|
468 | set RhoInputArray Rho/rho
|
---|
469 |
|
---|
470 | set OutputArray jets
|
---|
471 |
|
---|
472 | set JetPTMin 20.0
|
---|
473 | }
|
---|
474 |
|
---|
475 | ##################
|
---|
476 | # Jet Energy Scale
|
---|
477 | ##################
|
---|
478 |
|
---|
479 | module EnergyScale JetEnergyScale {
|
---|
480 | set InputArray JetPileUpSubtractor/jets
|
---|
481 | set OutputArray jets
|
---|
482 |
|
---|
483 | # scale formula for jets
|
---|
484 | set ScaleFormula {1.0}
|
---|
485 | }
|
---|
486 |
|
---|
487 | ###################
|
---|
488 | # Photon efficiency
|
---|
489 | ###################
|
---|
490 |
|
---|
491 | module Efficiency PhotonEfficiency {
|
---|
492 | set InputArray Calorimeter/eflowPhotons
|
---|
493 | set OutputArray photons
|
---|
494 |
|
---|
495 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
496 |
|
---|
497 | # efficiency formula for photons
|
---|
498 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
499 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
500 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
501 | (abs(eta) > 2.5) * (0.00)}
|
---|
502 | }
|
---|
503 |
|
---|
504 | ##################
|
---|
505 | # Photon isolation
|
---|
506 | ##################
|
---|
507 |
|
---|
508 | module Isolation PhotonIsolation {
|
---|
509 | set CandidateInputArray PhotonEfficiency/photons
|
---|
510 | set IsolationInputArray EFlowMergerAllTracks/eflow
|
---|
511 | set RhoInputArray Rho/rho
|
---|
512 |
|
---|
513 | set OutputArray photons
|
---|
514 |
|
---|
515 | set DeltaRMax 0.5
|
---|
516 |
|
---|
517 | set PTMin 0.5
|
---|
518 |
|
---|
519 | set PTRatioMax 0.12
|
---|
520 | }
|
---|
521 |
|
---|
522 | #####################
|
---|
523 | # Electron efficiency
|
---|
524 | #####################
|
---|
525 |
|
---|
526 | module Efficiency ElectronEfficiency {
|
---|
527 | set InputArray TrackPileUpSubtractor/electrons
|
---|
528 | set OutputArray electrons
|
---|
529 |
|
---|
530 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
531 |
|
---|
532 | # efficiency formula for electrons
|
---|
533 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
534 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
535 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
536 | (abs(eta) > 2.5) * (0.00)}
|
---|
537 | }
|
---|
538 |
|
---|
539 | ####################
|
---|
540 | # Electron isolation
|
---|
541 | ####################
|
---|
542 |
|
---|
543 | module Isolation ElectronIsolation {
|
---|
544 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
545 | set IsolationInputArray EFlowMergerAllTracks/eflow
|
---|
546 | set RhoInputArray Rho/rho
|
---|
547 |
|
---|
548 | set OutputArray electrons
|
---|
549 |
|
---|
550 | set DeltaRMax 0.5
|
---|
551 |
|
---|
552 | set PTMin 0.5
|
---|
553 |
|
---|
554 | set PTRatioMax 0.12
|
---|
555 | }
|
---|
556 |
|
---|
557 | #################
|
---|
558 | # Muon efficiency
|
---|
559 | #################
|
---|
560 |
|
---|
561 | module Efficiency MuonEfficiency {
|
---|
562 | set InputArray TrackPileUpSubtractor/muons
|
---|
563 | set OutputArray muons
|
---|
564 |
|
---|
565 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
566 |
|
---|
567 | # efficiency formula for muons
|
---|
568 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
569 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
570 | (abs(eta) > 1.5 && abs(eta) <= 2.7) * (pt > 10.0) * (0.85) +
|
---|
571 | (abs(eta) > 2.7) * (0.00)}
|
---|
572 | }
|
---|
573 |
|
---|
574 | ################
|
---|
575 | # Muon isolation
|
---|
576 | ################
|
---|
577 |
|
---|
578 | module Isolation MuonIsolation {
|
---|
579 | set CandidateInputArray MuonEfficiency/muons
|
---|
580 | set IsolationInputArray EFlowMergerAllTracks/eflow
|
---|
581 | set RhoInputArray Rho/rho
|
---|
582 |
|
---|
583 | set OutputArray muons
|
---|
584 |
|
---|
585 | set DeltaRMax 0.5
|
---|
586 |
|
---|
587 | set PTMin 0.5
|
---|
588 |
|
---|
589 | set PTRatioMax 0.25
|
---|
590 | }
|
---|
591 |
|
---|
592 | ###################
|
---|
593 | # Missing ET merger
|
---|
594 | ###################
|
---|
595 |
|
---|
596 | module Merger MissingET {
|
---|
597 | # add InputArray InputArray
|
---|
598 | add InputArray EFlowMergerAllTracks/eflow
|
---|
599 | set MomentumOutputArray momentum
|
---|
600 | }
|
---|
601 |
|
---|
602 |
|
---|
603 | ##################
|
---|
604 | # Scalar HT merger
|
---|
605 | ##################
|
---|
606 |
|
---|
607 | module Merger ScalarHT {
|
---|
608 | # add InputArray InputArray
|
---|
609 | add InputArray UniqueObjectFinder/jets
|
---|
610 | add InputArray UniqueObjectFinder/electrons
|
---|
611 | add InputArray UniqueObjectFinder/photons
|
---|
612 | add InputArray UniqueObjectFinder/muons
|
---|
613 | set EnergyOutputArray energy
|
---|
614 | }
|
---|
615 |
|
---|
616 | ########################
|
---|
617 | # Jet Flavor Association
|
---|
618 | ########################
|
---|
619 |
|
---|
620 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
621 |
|
---|
622 | set PartonInputArray Delphes/partons
|
---|
623 | set ParticleInputArray Delphes/allParticles
|
---|
624 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
625 | set JetInputArray JetEnergyScale/jets
|
---|
626 |
|
---|
627 | set DeltaR 0.5
|
---|
628 | set PartonPTMin 1.0
|
---|
629 | set PartonEtaMax 2.5
|
---|
630 |
|
---|
631 | }
|
---|
632 |
|
---|
633 | ###########
|
---|
634 | # b-tagging
|
---|
635 | ###########
|
---|
636 |
|
---|
637 | module BTagging BTagging {
|
---|
638 | set JetInputArray JetEnergyScale/jets
|
---|
639 |
|
---|
640 | set BitNumber 0
|
---|
641 |
|
---|
642 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
643 | # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
|
---|
644 | # gluon's PDG code has the lowest priority
|
---|
645 |
|
---|
646 | # based on ATL-PHYS-PUB-2015-022
|
---|
647 |
|
---|
648 | # default efficiency formula (misidentification rate)
|
---|
649 | add EfficiencyFormula {0} {0.002+7.3e-06*pt}
|
---|
650 |
|
---|
651 | # efficiency formula for c-jets (misidentification rate)
|
---|
652 | add EfficiencyFormula {4} {0.20*tanh(0.02*pt)*(1/(1+0.0034*pt))}
|
---|
653 |
|
---|
654 | # efficiency formula for b-jets
|
---|
655 | add EfficiencyFormula {5} {0.80*tanh(0.003*pt)*(30/(1+0.086*pt))}
|
---|
656 | }
|
---|
657 |
|
---|
658 | #############
|
---|
659 | # tau-tagging
|
---|
660 | #############
|
---|
661 |
|
---|
662 | module TrackCountingTauTagging TauTagging {
|
---|
663 |
|
---|
664 | set ParticleInputArray Delphes/allParticles
|
---|
665 | set PartonInputArray Delphes/partons
|
---|
666 | set TrackInputArray TrackMerger/tracks
|
---|
667 | set JetInputArray JetEnergyScale/jets
|
---|
668 |
|
---|
669 | set DeltaR 0.2
|
---|
670 | set DeltaRTrack 0.2
|
---|
671 |
|
---|
672 | set TrackPTMin 1.0
|
---|
673 |
|
---|
674 | set TauPTMin 1.0
|
---|
675 | set TauEtaMax 2.5
|
---|
676 |
|
---|
677 | # instructions: {n-prongs} {eff}
|
---|
678 |
|
---|
679 | # 1 - one prong efficiency
|
---|
680 | # 2 - two or more efficiency
|
---|
681 | # -1 - one prong mistag rate
|
---|
682 | # -2 - two or more mistag rate
|
---|
683 |
|
---|
684 | set BitNumber 0
|
---|
685 |
|
---|
686 | # taken from ATL-PHYS-PUB-2015-045 (medium working point)
|
---|
687 | add EfficiencyFormula {1} {0.70}
|
---|
688 | add EfficiencyFormula {2} {0.60}
|
---|
689 | add EfficiencyFormula {-1} {0.02}
|
---|
690 | add EfficiencyFormula {-2} {0.01}
|
---|
691 |
|
---|
692 | }
|
---|
693 |
|
---|
694 | #####################################################
|
---|
695 | # Find uniquely identified photons/electrons/tau/jets
|
---|
696 | #####################################################
|
---|
697 |
|
---|
698 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
699 | # earlier arrays take precedence over later ones
|
---|
700 | # add InputArray InputArray OutputArray
|
---|
701 | add InputArray PhotonIsolation/photons photons
|
---|
702 | add InputArray ElectronIsolation/electrons electrons
|
---|
703 | add InputArray MuonIsolation/muons muons
|
---|
704 | add InputArray JetEnergyScale/jets jets
|
---|
705 | }
|
---|
706 |
|
---|
707 | ##################
|
---|
708 | # ROOT tree writer
|
---|
709 | ##################
|
---|
710 |
|
---|
711 | # tracks, towers and eflow objects are not stored by default in the output.
|
---|
712 | # if needed (for jet constituent or other studies), uncomment the relevant
|
---|
713 | # "add Branch ..." lines.
|
---|
714 |
|
---|
715 | module TreeWriter TreeWriter {
|
---|
716 | # add Branch InputArray BranchName BranchClass
|
---|
717 | add Branch Delphes/allParticles Particle GenParticle
|
---|
718 |
|
---|
719 | # add Branch TrackMerger/tracks Track Track
|
---|
720 | add Branch Calorimeter/towers Tower Tower
|
---|
721 |
|
---|
722 | # add Branch Calorimeter/eflowTracks EFlowTrack Track
|
---|
723 | # add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
|
---|
724 | # add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
725 |
|
---|
726 | add Branch GenJetFinder/jets GenJet Jet
|
---|
727 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
728 |
|
---|
729 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
730 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
731 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
732 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
733 | add Branch MissingET/momentum MissingET MissingET
|
---|
734 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
735 | add Branch Rho/rho Rho Rho
|
---|
736 | add Branch PileUpMerger/vertices Vertex Vertex
|
---|
737 |
|
---|
738 | }
|
---|