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