1 | #
|
---|
2 | # Main authors: Michele Selvaggi (UCL)
|
---|
3 | #
|
---|
4 | # Released on: Jun 26 - 2007
|
---|
5 | #
|
---|
6 | # Version: v02
|
---|
7 | #
|
---|
8 | #
|
---|
9 | #######################################
|
---|
10 | # Order of execution of various modules
|
---|
11 | #######################################
|
---|
12 |
|
---|
13 | set ExecutionPath {
|
---|
14 |
|
---|
15 | PileUpMerger
|
---|
16 |
|
---|
17 | DenseProp
|
---|
18 | DenseMergeTracks
|
---|
19 | DenseFilter
|
---|
20 | DenseMergeTracksNeutrals
|
---|
21 |
|
---|
22 | ParticlePropagator
|
---|
23 |
|
---|
24 | ChargedHadronTrackingEfficiency
|
---|
25 | ElectronTrackingEfficiency
|
---|
26 | MuonTrackingEfficiency
|
---|
27 |
|
---|
28 | ChargedHadronMomentumSmearing
|
---|
29 | ElectronEnergySmearing
|
---|
30 | MuonMomentumSmearing
|
---|
31 |
|
---|
32 | TrackMerger
|
---|
33 |
|
---|
34 | ECal
|
---|
35 | HCal
|
---|
36 |
|
---|
37 | PhotonEnergySmearing
|
---|
38 | ElectronFilter
|
---|
39 |
|
---|
40 | TrackPileUpSubtractor
|
---|
41 | RecoPuFilter
|
---|
42 |
|
---|
43 | TowerMerger
|
---|
44 | NeutralEFlowMerger
|
---|
45 |
|
---|
46 | EFlowMerger
|
---|
47 | EFlowMergerCHS
|
---|
48 | Rho
|
---|
49 |
|
---|
50 | LeptonFilterNoLep
|
---|
51 | LeptonFilterLep
|
---|
52 | RunPUPPIBase
|
---|
53 | RunPUPPIMerger
|
---|
54 | RunPUPPI
|
---|
55 |
|
---|
56 | PhotonFilter
|
---|
57 |
|
---|
58 | PhotonCloner
|
---|
59 | PhotonIsolation
|
---|
60 | PhotonIsolationCHS
|
---|
61 | PhotonEfficiency
|
---|
62 | PhotonEfficiencyCHS
|
---|
63 |
|
---|
64 | ElectronCloner
|
---|
65 | ElectronIsolation
|
---|
66 | ElectronIsolationCHS
|
---|
67 |
|
---|
68 | ElectronEfficiency
|
---|
69 | ElectronEfficiencyCHS
|
---|
70 |
|
---|
71 | MuonCloner
|
---|
72 | MuonIsolation
|
---|
73 | MuonIsolationCHS
|
---|
74 |
|
---|
75 | MuonLooseIdEfficiency
|
---|
76 | MuonTightIdEfficiency
|
---|
77 |
|
---|
78 | MuonLooseIdEfficiencyCHS
|
---|
79 | MuonTightIdEfficiencyCHS
|
---|
80 |
|
---|
81 | NeutrinoFilter
|
---|
82 |
|
---|
83 | MissingET
|
---|
84 | PuppiMissingET
|
---|
85 | GenMissingET
|
---|
86 | GenPileUpMissingET
|
---|
87 |
|
---|
88 | GenJetFinder
|
---|
89 | GenJetFinderAK8
|
---|
90 | FastJetFinder
|
---|
91 | FastJetFinderAK8
|
---|
92 | JetPileUpSubtractor
|
---|
93 | JetPileUpSubtractorAK8
|
---|
94 | FastJetFinderPUPPI
|
---|
95 | FastJetFinderPUPPIAK8
|
---|
96 |
|
---|
97 | ScalarHT
|
---|
98 |
|
---|
99 | JetEnergyScale
|
---|
100 | JetEnergyScaleAK8
|
---|
101 | JetEnergyScalePUPPI
|
---|
102 | JetEnergyScalePUPPIAK8
|
---|
103 |
|
---|
104 | JetFlavorAssociation
|
---|
105 | JetFlavorAssociationAK8
|
---|
106 | JetFlavorAssociationPUPPI
|
---|
107 | JetFlavorAssociationPUPPIAK8
|
---|
108 |
|
---|
109 | BTagging
|
---|
110 | BTaggingAK8
|
---|
111 | BTaggingPUPPI
|
---|
112 | BTaggingPUPPIAK8
|
---|
113 |
|
---|
114 | TauTagging
|
---|
115 |
|
---|
116 | GenParticleFilter
|
---|
117 |
|
---|
118 | TreeWriter
|
---|
119 | }
|
---|
120 |
|
---|
121 |
|
---|
122 | ###############
|
---|
123 | # PileUp Merger
|
---|
124 | ###############
|
---|
125 |
|
---|
126 | module PileUpMerger PileUpMerger {
|
---|
127 | set InputArray Delphes/stableParticles
|
---|
128 |
|
---|
129 | set ParticleOutputArray stableParticles
|
---|
130 | set VertexOutputArray vertices
|
---|
131 |
|
---|
132 | # pre-generated minbias input file
|
---|
133 | set PileUpFile /eos/cms/store/group/upgrade/delphes/PhaseII/MinBias_100k.pileup
|
---|
134 | #set PileUpFile MinBias.pileup
|
---|
135 |
|
---|
136 | # average expected pile up
|
---|
137 | set MeanPileUp 200
|
---|
138 |
|
---|
139 | # maximum spread in the beam direction in m
|
---|
140 | set ZVertexSpread 0.25
|
---|
141 |
|
---|
142 | # maximum spread in time in s
|
---|
143 | set TVertexSpread 800E-12
|
---|
144 |
|
---|
145 | # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s) - {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))}
|
---|
146 | set VertexDistributionFormula {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))}
|
---|
147 |
|
---|
148 | }
|
---|
149 |
|
---|
150 |
|
---|
151 | #################################
|
---|
152 | # Dense Track propagation
|
---|
153 | #################################
|
---|
154 |
|
---|
155 | module ParticlePropagator DenseProp {
|
---|
156 | #set InputArray PileUpMerger/stableParticles
|
---|
157 | set InputArray Delphes/stableParticles
|
---|
158 |
|
---|
159 | set OutputArray stableParticles
|
---|
160 | set NeutralOutputArray neutralParticles
|
---|
161 | set ChargedHadronOutputArray chargedHadrons
|
---|
162 | set ElectronOutputArray electrons
|
---|
163 | set MuonOutputArray muons
|
---|
164 |
|
---|
165 | # radius of the first pixel layer
|
---|
166 | set Radius 0.03
|
---|
167 | # half-length of the magnetic field coverage, in m
|
---|
168 | set HalfLength 0.7
|
---|
169 |
|
---|
170 | # magnetic field
|
---|
171 | set Bz 3.8
|
---|
172 | }
|
---|
173 |
|
---|
174 | ####################
|
---|
175 | # Dense Track merger
|
---|
176 | ###################
|
---|
177 |
|
---|
178 | module Merger DenseMergeTracks {
|
---|
179 | # add InputArray InputArray
|
---|
180 | add InputArray DenseProp/chargedHadrons
|
---|
181 | add InputArray DenseProp/electrons
|
---|
182 | add InputArray DenseProp/muons
|
---|
183 | set OutputArray tracks
|
---|
184 | }
|
---|
185 |
|
---|
186 | ######################
|
---|
187 | # Dense Track Filter
|
---|
188 | ######################
|
---|
189 |
|
---|
190 | module DenseTrackFilter DenseFilter {
|
---|
191 | set TrackInputArray DenseMergeTracks/tracks
|
---|
192 | set TrackOutputArray tracks
|
---|
193 |
|
---|
194 | set EtaPhiRes 0.003
|
---|
195 | set EtaMax 4.0
|
---|
196 |
|
---|
197 | set pi [expr {acos(-1)}]
|
---|
198 |
|
---|
199 | set nbins_phi [expr {$pi/$EtaPhiRes} ]
|
---|
200 | set nbins_phi [expr {int($nbins_phi)} ]
|
---|
201 |
|
---|
202 | set PhiBins {}
|
---|
203 | for {set i -$nbins_phi} {$i <= $nbins_phi} {incr i} {
|
---|
204 | add PhiBins [expr {$i * $pi/$nbins_phi}]
|
---|
205 | }
|
---|
206 |
|
---|
207 | set nbins_eta [expr {$EtaMax/$EtaPhiRes} ]
|
---|
208 | set nbins_eta [expr {int($nbins_eta)} ]
|
---|
209 |
|
---|
210 | for {set i -$nbins_eta} {$i <= $nbins_eta} {incr i} {
|
---|
211 | set eta [expr {$i * $EtaPhiRes}]
|
---|
212 | add EtaPhiBins $eta $PhiBins
|
---|
213 | }
|
---|
214 |
|
---|
215 | }
|
---|
216 |
|
---|
217 |
|
---|
218 | ####################
|
---|
219 | # DenseMergeTracksNeutrals
|
---|
220 | ###################
|
---|
221 |
|
---|
222 | module Merger DenseMergeTracksNeutrals {
|
---|
223 | # add InputArray InputArray
|
---|
224 | add InputArray DenseProp/neutralParticles
|
---|
225 | add InputArray DenseFilter/tracks
|
---|
226 | #add InputArray DenseMergeTracks/tracks
|
---|
227 | set OutputArray stableParticles
|
---|
228 | }
|
---|
229 |
|
---|
230 |
|
---|
231 | #################################
|
---|
232 | # Dense Track propagation calo
|
---|
233 | #################################
|
---|
234 |
|
---|
235 | module ParticlePropagator ParticlePropagator {
|
---|
236 | set InputArray DenseMergeTracksNeutrals/stableParticles
|
---|
237 |
|
---|
238 | set OutputArray stableParticles
|
---|
239 | set NeutralOutputArray neutralParticles
|
---|
240 | set ChargedHadronOutputArray chargedHadrons
|
---|
241 | set ElectronOutputArray electrons
|
---|
242 | set MuonOutputArray muons
|
---|
243 |
|
---|
244 | # radius of the magnetic field coverage, in m
|
---|
245 | set Radius 1.29
|
---|
246 | # half-length of the magnetic field coverage, in m
|
---|
247 | set HalfLength 3.0
|
---|
248 |
|
---|
249 | # magnetic field
|
---|
250 | set Bz 3.8
|
---|
251 | }
|
---|
252 |
|
---|
253 | ####################################
|
---|
254 | # Charged hadron tracking efficiency
|
---|
255 | ####################################
|
---|
256 |
|
---|
257 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
258 | ## particles after propagation
|
---|
259 | set InputArray ParticlePropagator/chargedHadrons
|
---|
260 | set OutputArray chargedHadrons
|
---|
261 | # tracking efficiency formula for charged hadrons
|
---|
262 | set EfficiencyFormula {
|
---|
263 | (pt <= 0.2) * (0.00) + \
|
---|
264 | (abs(eta) <= 1.2) * (pt > 0.2 && pt <= 1.0) * (pt * 0.96) + \
|
---|
265 | (abs(eta) <= 1.2) * (pt > 1.0) * (0.97) + \
|
---|
266 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 0.2 && pt <= 1.0) * (pt*0.85) + \
|
---|
267 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 1.0) * (0.87) + \
|
---|
268 | (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 0.2 && pt <= 1.0) * (pt*0.8) + \
|
---|
269 | (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 1.0) * (0.82) + \
|
---|
270 | (abs(eta) > 4.0) * (0.00)
|
---|
271 | }
|
---|
272 | }
|
---|
273 |
|
---|
274 |
|
---|
275 | #####################################
|
---|
276 | # Electron tracking efficiency - ID
|
---|
277 | ####################################
|
---|
278 |
|
---|
279 | module Efficiency ElectronTrackingEfficiency {
|
---|
280 | set InputArray ParticlePropagator/electrons
|
---|
281 | set OutputArray electrons
|
---|
282 | # tracking efficiency formula for electrons
|
---|
283 | set EfficiencyFormula {
|
---|
284 | (pt <= 0.2) * (0.00) + \
|
---|
285 | (abs(eta) <= 1.2) * (pt > 0.2 && pt <= 1.0) * (pt * 0.96) + \
|
---|
286 | (abs(eta) <= 1.2) * (pt > 1.0) * (0.97) + \
|
---|
287 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 0.2 && pt <= 1.0) * (pt*0.85) + \
|
---|
288 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 10.0) * (0.82+pt*0.01) + \
|
---|
289 | (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 10.0) * (0.90) + \
|
---|
290 | (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 0.2 && pt <= 1.0) * (pt*0.8) + \
|
---|
291 | (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 1.0 && pt <= 10.0) * (0.8+pt*0.01) + \
|
---|
292 | (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.85) + \
|
---|
293 | (abs(eta) > 4.0) * (0.00)
|
---|
294 |
|
---|
295 | }
|
---|
296 | }
|
---|
297 |
|
---|
298 | ##########################
|
---|
299 | # Muon tracking efficiency
|
---|
300 | ##########################
|
---|
301 |
|
---|
302 | module Efficiency MuonTrackingEfficiency {
|
---|
303 | set InputArray ParticlePropagator/muons
|
---|
304 | set OutputArray muons
|
---|
305 | # tracking efficiency formula for muons
|
---|
306 | set EfficiencyFormula {
|
---|
307 | (pt <= 0.2) * (0.00) + \
|
---|
308 | (abs(eta) <= 1.2) * (pt > 0.2 && pt <= 1.0) * (pt * 1.00) + \
|
---|
309 | (abs(eta) <= 1.2) * (pt > 1.0) * (1.00) + \
|
---|
310 | (abs(eta) > 1.2 && abs(eta) <= 2.8) * (pt > 0.2 && pt <= 1.0) * (pt*1.00) + \
|
---|
311 | (abs(eta) > 1.2 && abs(eta) <= 2.8) * (pt > 1.0) * (1.00) + \
|
---|
312 | (abs(eta) > 2.8 && abs(eta) <= 4.0) * (pt > 0.2 && pt <= 1.0) * (pt*0.95) + \
|
---|
313 | (abs(eta) > 2.8 && abs(eta) <= 4.0) * (pt > 1.0) * (0.95) + \
|
---|
314 | (abs(eta) > 4.0) * (0.00)
|
---|
315 |
|
---|
316 | }
|
---|
317 | }
|
---|
318 |
|
---|
319 |
|
---|
320 | ########################################
|
---|
321 | # Momentum resolution for charged tracks
|
---|
322 | ########################################
|
---|
323 |
|
---|
324 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
325 | ## hadrons after having applied the tracking efficiency
|
---|
326 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
327 | set OutputArray chargedHadrons
|
---|
328 | # resolution formula for charged hadrons ,
|
---|
329 |
|
---|
330 | #
|
---|
331 | # Automatically generated tracker resolution formula for layout: OT612IT4025
|
---|
332 | #
|
---|
333 | # By Unknown author on: 2017-06-30.17:03:00
|
---|
334 | #
|
---|
335 | set ResolutionFormula { (abs(eta) >= 0.0000 && abs(eta) < 0.2000) * (pt >= 0.0000 && pt < 1.0000) * (0.00457888) + \
|
---|
336 | (abs(eta) >= 0.0000 && abs(eta) < 0.2000) * (pt >= 1.0000 && pt < 10.0000) * (0.004579 + (pt-1.000000)* 0.000045) + \
|
---|
337 | (abs(eta) >= 0.0000 && abs(eta) < 0.2000) * (pt >= 10.0000 && pt < 100.0000) * (0.004983 + (pt-10.000000)* 0.000047) + \
|
---|
338 | (abs(eta) >= 0.0000 && abs(eta) < 0.2000) * (pt >= 100.0000) * (0.009244*pt/100.000000) + \
|
---|
339 | (abs(eta) >= 0.2000 && abs(eta) < 0.4000) * (pt >= 0.0000 && pt < 1.0000) * (0.00505011) + \
|
---|
340 | (abs(eta) >= 0.2000 && abs(eta) < 0.4000) * (pt >= 1.0000 && pt < 10.0000) * (0.005050 + (pt-1.000000)* 0.000033) + \
|
---|
341 | (abs(eta) >= 0.2000 && abs(eta) < 0.4000) * (pt >= 10.0000 && pt < 100.0000) * (0.005343 + (pt-10.000000)* 0.000043) + \
|
---|
342 | (abs(eta) >= 0.2000 && abs(eta) < 0.4000) * (pt >= 100.0000) * (0.009172*pt/100.000000) + \
|
---|
343 | (abs(eta) >= 0.4000 && abs(eta) < 0.6000) * (pt >= 0.0000 && pt < 1.0000) * (0.00510573) + \
|
---|
344 | (abs(eta) >= 0.4000 && abs(eta) < 0.6000) * (pt >= 1.0000 && pt < 10.0000) * (0.005106 + (pt-1.000000)* 0.000023) + \
|
---|
345 | (abs(eta) >= 0.4000 && abs(eta) < 0.6000) * (pt >= 10.0000 && pt < 100.0000) * (0.005317 + (pt-10.000000)* 0.000042) + \
|
---|
346 | (abs(eta) >= 0.4000 && abs(eta) < 0.6000) * (pt >= 100.0000) * (0.009077*pt/100.000000) + \
|
---|
347 | (abs(eta) >= 0.6000 && abs(eta) < 0.8000) * (pt >= 0.0000 && pt < 1.0000) * (0.00578020) + \
|
---|
348 | (abs(eta) >= 0.6000 && abs(eta) < 0.8000) * (pt >= 1.0000 && pt < 10.0000) * (0.005780 + (pt-1.000000)* -0.000000) + \
|
---|
349 | (abs(eta) >= 0.6000 && abs(eta) < 0.8000) * (pt >= 10.0000 && pt < 100.0000) * (0.005779 + (pt-10.000000)* 0.000038) + \
|
---|
350 | (abs(eta) >= 0.6000 && abs(eta) < 0.8000) * (pt >= 100.0000) * (0.009177*pt/100.000000) + \
|
---|
351 | (abs(eta) >= 0.8000 && abs(eta) < 1.0000) * (pt >= 0.0000 && pt < 1.0000) * (0.00728723) + \
|
---|
352 | (abs(eta) >= 0.8000 && abs(eta) < 1.0000) * (pt >= 1.0000 && pt < 10.0000) * (0.007287 + (pt-1.000000)* -0.000031) + \
|
---|
353 | (abs(eta) >= 0.8000 && abs(eta) < 1.0000) * (pt >= 10.0000 && pt < 100.0000) * (0.007011 + (pt-10.000000)* 0.000038) + \
|
---|
354 | (abs(eta) >= 0.8000 && abs(eta) < 1.0000) * (pt >= 100.0000) * (0.010429*pt/100.000000) + \
|
---|
355 | (abs(eta) >= 1.0000 && abs(eta) < 1.2000) * (pt >= 0.0000 && pt < 1.0000) * (0.01045117) + \
|
---|
356 | (abs(eta) >= 1.0000 && abs(eta) < 1.2000) * (pt >= 1.0000 && pt < 10.0000) * (0.010451 + (pt-1.000000)* -0.000051) + \
|
---|
357 | (abs(eta) >= 1.0000 && abs(eta) < 1.2000) * (pt >= 10.0000 && pt < 100.0000) * (0.009989 + (pt-10.000000)* 0.000043) + \
|
---|
358 | (abs(eta) >= 1.0000 && abs(eta) < 1.2000) * (pt >= 100.0000) * (0.013867*pt/100.000000) + \
|
---|
359 | (abs(eta) >= 1.2000 && abs(eta) < 1.4000) * (pt >= 0.0000 && pt < 1.0000) * (0.01477199) + \
|
---|
360 | (abs(eta) >= 1.2000 && abs(eta) < 1.4000) * (pt >= 1.0000 && pt < 10.0000) * (0.014772 + (pt-1.000000)* -0.000128) + \
|
---|
361 | (abs(eta) >= 1.2000 && abs(eta) < 1.4000) * (pt >= 10.0000 && pt < 100.0000) * (0.013616 + (pt-10.000000)* 0.000035) + \
|
---|
362 | (abs(eta) >= 1.2000 && abs(eta) < 1.4000) * (pt >= 100.0000) * (0.016800*pt/100.000000) + \
|
---|
363 | (abs(eta) >= 1.4000 && abs(eta) < 1.6000) * (pt >= 0.0000 && pt < 1.0000) * (0.01731474) + \
|
---|
364 | (abs(eta) >= 1.4000 && abs(eta) < 1.6000) * (pt >= 1.0000 && pt < 10.0000) * (0.017315 + (pt-1.000000)* -0.000208) + \
|
---|
365 | (abs(eta) >= 1.4000 && abs(eta) < 1.6000) * (pt >= 10.0000 && pt < 100.0000) * (0.015439 + (pt-10.000000)* 0.000030) + \
|
---|
366 | (abs(eta) >= 1.4000 && abs(eta) < 1.6000) * (pt >= 100.0000) * (0.018161*pt/100.000000) + \
|
---|
367 | (abs(eta) >= 1.6000 && abs(eta) < 1.8000) * (pt >= 0.0000 && pt < 1.0000) * (0.01942025) + \
|
---|
368 | (abs(eta) >= 1.6000 && abs(eta) < 1.8000) * (pt >= 1.0000 && pt < 10.0000) * (0.019420 + (pt-1.000000)* -0.000417) + \
|
---|
369 | (abs(eta) >= 1.6000 && abs(eta) < 1.8000) * (pt >= 10.0000 && pt < 100.0000) * (0.015669 + (pt-10.000000)* 0.000026) + \
|
---|
370 | (abs(eta) >= 1.6000 && abs(eta) < 1.8000) * (pt >= 100.0000) * (0.018039*pt/100.000000) + \
|
---|
371 | (abs(eta) >= 1.8000 && abs(eta) < 2.0000) * (pt >= 0.0000 && pt < 1.0000) * (0.02201432) + \
|
---|
372 | (abs(eta) >= 1.8000 && abs(eta) < 2.0000) * (pt >= 1.0000 && pt < 10.0000) * (0.022014 + (pt-1.000000)* -0.000667) + \
|
---|
373 | (abs(eta) >= 1.8000 && abs(eta) < 2.0000) * (pt >= 10.0000 && pt < 100.0000) * (0.016012 + (pt-10.000000)* 0.000045) + \
|
---|
374 | (abs(eta) >= 1.8000 && abs(eta) < 2.0000) * (pt >= 100.0000) * (0.020098*pt/100.000000) + \
|
---|
375 | (abs(eta) >= 2.0000 && abs(eta) < 2.2000) * (pt >= 0.0000 && pt < 1.0000) * (0.02574300) + \
|
---|
376 | (abs(eta) >= 2.0000 && abs(eta) < 2.2000) * (pt >= 1.0000 && pt < 10.0000) * (0.025743 + (pt-1.000000)* -0.001118) + \
|
---|
377 | (abs(eta) >= 2.0000 && abs(eta) < 2.2000) * (pt >= 10.0000 && pt < 100.0000) * (0.015681 + (pt-10.000000)* 0.000051) + \
|
---|
378 | (abs(eta) >= 2.0000 && abs(eta) < 2.2000) * (pt >= 100.0000) * (0.020289*pt/100.000000) + \
|
---|
379 | (abs(eta) >= 2.2000 && abs(eta) < 2.4000) * (pt >= 0.0000 && pt < 1.0000) * (0.02885821) + \
|
---|
380 | (abs(eta) >= 2.2000 && abs(eta) < 2.4000) * (pt >= 1.0000 && pt < 10.0000) * (0.028858 + (pt-1.000000)* -0.001345) + \
|
---|
381 | (abs(eta) >= 2.2000 && abs(eta) < 2.4000) * (pt >= 10.0000 && pt < 100.0000) * (0.016753 + (pt-10.000000)* 0.000053) + \
|
---|
382 | (abs(eta) >= 2.2000 && abs(eta) < 2.4000) * (pt >= 100.0000) * (0.021524*pt/100.000000) + \
|
---|
383 | (abs(eta) >= 2.4000 && abs(eta) < 2.6000) * (pt >= 0.0000 && pt < 1.0000) * (0.03204812) + \
|
---|
384 | (abs(eta) >= 2.4000 && abs(eta) < 2.6000) * (pt >= 1.0000 && pt < 10.0000) * (0.032048 + (pt-1.000000)* -0.001212) + \
|
---|
385 | (abs(eta) >= 2.4000 && abs(eta) < 2.6000) * (pt >= 10.0000 && pt < 100.0000) * (0.021138 + (pt-10.000000)* 0.000037) + \
|
---|
386 | (abs(eta) >= 2.4000 && abs(eta) < 2.6000) * (pt >= 100.0000) * (0.024477*pt/100.000000) + \
|
---|
387 | (abs(eta) >= 2.6000 && abs(eta) < 2.8000) * (pt >= 0.0000 && pt < 1.0000) * (0.03950405) + \
|
---|
388 | (abs(eta) >= 2.6000 && abs(eta) < 2.8000) * (pt >= 1.0000 && pt < 10.0000) * (0.039504 + (pt-1.000000)* -0.001386) + \
|
---|
389 | (abs(eta) >= 2.6000 && abs(eta) < 2.8000) * (pt >= 10.0000 && pt < 100.0000) * (0.027026 + (pt-10.000000)* 0.000037) + \
|
---|
390 | (abs(eta) >= 2.6000 && abs(eta) < 2.8000) * (pt >= 100.0000) * (0.030392*pt/100.000000) + \
|
---|
391 | (abs(eta) >= 2.8000 && abs(eta) < 3.0000) * (pt >= 0.0000 && pt < 1.0000) * (0.04084751) + \
|
---|
392 | (abs(eta) >= 2.8000 && abs(eta) < 3.0000) * (pt >= 1.0000 && pt < 10.0000) * (0.040848 + (pt-1.000000)* -0.001780) + \
|
---|
393 | (abs(eta) >= 2.8000 && abs(eta) < 3.0000) * (pt >= 10.0000 && pt < 100.0000) * (0.024824 + (pt-10.000000)* 0.000029) + \
|
---|
394 | (abs(eta) >= 2.8000 && abs(eta) < 3.0000) * (pt >= 100.0000) * (0.027445*pt/100.000000) + \
|
---|
395 | (abs(eta) >= 3.0000 && abs(eta) < 3.2000) * (pt >= 0.0000 && pt < 1.0000) * (0.04532425) + \
|
---|
396 | (abs(eta) >= 3.0000 && abs(eta) < 3.2000) * (pt >= 1.0000 && pt < 10.0000) * (0.045324 + (pt-1.000000)* -0.002497) + \
|
---|
397 | (abs(eta) >= 3.0000 && abs(eta) < 3.2000) * (pt >= 10.0000 && pt < 100.0000) * (0.022851 + (pt-10.000000)* 0.000024) + \
|
---|
398 | (abs(eta) >= 3.0000 && abs(eta) < 3.2000) * (pt >= 100.0000) * (0.025053*pt/100.000000) + \
|
---|
399 | (abs(eta) >= 3.2000 && abs(eta) < 3.4000) * (pt >= 0.0000 && pt < 1.0000) * (0.06418925) + \
|
---|
400 | (abs(eta) >= 3.2000 && abs(eta) < 3.4000) * (pt >= 1.0000 && pt < 10.0000) * (0.064189 + (pt-1.000000)* -0.004055) + \
|
---|
401 | (abs(eta) >= 3.2000 && abs(eta) < 3.4000) * (pt >= 10.0000 && pt < 100.0000) * (0.027691 + (pt-10.000000)* 0.000034) + \
|
---|
402 | (abs(eta) >= 3.2000 && abs(eta) < 3.4000) * (pt >= 100.0000) * (0.030710*pt/100.000000) + \
|
---|
403 | (abs(eta) >= 3.4000 && abs(eta) < 3.6000) * (pt >= 0.0000 && pt < 1.0000) * (0.07682500) + \
|
---|
404 | (abs(eta) >= 3.4000 && abs(eta) < 3.6000) * (pt >= 1.0000 && pt < 10.0000) * (0.076825 + (pt-1.000000)* -0.004510) + \
|
---|
405 | (abs(eta) >= 3.4000 && abs(eta) < 3.6000) * (pt >= 10.0000 && pt < 100.0000) * (0.036234 + (pt-10.000000)* 0.000049) + \
|
---|
406 | (abs(eta) >= 3.4000 && abs(eta) < 3.6000) * (pt >= 100.0000) * (0.040629*pt/100.000000) + \
|
---|
407 | (abs(eta) >= 3.6000 && abs(eta) < 3.8000) * (pt >= 0.0000 && pt < 1.0000) * (0.09796358) + \
|
---|
408 | (abs(eta) >= 3.6000 && abs(eta) < 3.8000) * (pt >= 1.0000 && pt < 10.0000) * (0.097964 + (pt-1.000000)* -0.005758) + \
|
---|
409 | (abs(eta) >= 3.6000 && abs(eta) < 3.8000) * (pt >= 10.0000 && pt < 100.0000) * (0.046145 + (pt-10.000000)* 0.000069) + \
|
---|
410 | (abs(eta) >= 3.6000 && abs(eta) < 3.8000) * (pt >= 100.0000) * (0.052345*pt/100.000000) + \
|
---|
411 | (abs(eta) >= 3.8000 && abs(eta) < 4.0000) * (pt >= 0.0000 && pt < 1.0000) * (0.13415929) + \
|
---|
412 | (abs(eta) >= 3.8000 && abs(eta) < 4.0000) * (pt >= 1.0000 && pt < 10.0000) * (0.134159 + (pt-1.000000)* -0.008283) + \
|
---|
413 | (abs(eta) >= 3.8000 && abs(eta) < 4.0000) * (pt >= 10.0000 && pt < 100.0000) * (0.059612 + (pt-10.000000)* 0.000111) + \
|
---|
414 | (abs(eta) >= 3.8000 && abs(eta) < 4.0000) * (pt >= 100.0000) * (0.069617*pt/100.000000)
|
---|
415 | }
|
---|
416 |
|
---|
417 |
|
---|
418 | }
|
---|
419 |
|
---|
420 | #################################
|
---|
421 | # Energy resolution for electrons
|
---|
422 | #################################
|
---|
423 |
|
---|
424 | module EnergySmearing ElectronEnergySmearing {
|
---|
425 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
426 | set OutputArray electrons
|
---|
427 |
|
---|
428 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
429 |
|
---|
430 | # resolution formula for electrons
|
---|
431 |
|
---|
432 | # taking something flat in energy for now, ECAL will take over at high energy anyway.
|
---|
433 | # inferred from hep-ex/1306.2016 and 1502.02701
|
---|
434 | set ResolutionFormula {
|
---|
435 |
|
---|
436 | (abs(eta) <= 1.5) * (energy*0.028) +
|
---|
437 | (abs(eta) > 1.5 && abs(eta) <= 1.75) * (energy*0.037) +
|
---|
438 | (abs(eta) > 1.75 && abs(eta) <= 2.15) * (energy*0.038) +
|
---|
439 | (abs(eta) > 2.15 && abs(eta) <= 3.00) * (energy*0.044) +
|
---|
440 | (abs(eta) > 3.00 && abs(eta) <= 4.00) * (energy*0.10)}
|
---|
441 |
|
---|
442 | }
|
---|
443 |
|
---|
444 | ###############################
|
---|
445 | # Momentum resolution for muons
|
---|
446 | ###############################
|
---|
447 |
|
---|
448 | module MomentumSmearing MuonMomentumSmearing {
|
---|
449 | set InputArray MuonTrackingEfficiency/muons
|
---|
450 | set OutputArray muons
|
---|
451 | # resolution formula for muons
|
---|
452 |
|
---|
453 | # up to |eta| < 2.8 take measurement from tracking + muon chambers
|
---|
454 | # for |eta| > 2.8 and pT < 5.0 take measurement from tracking alone taken from
|
---|
455 | # http://mersi.web.cern.ch/mersi/layouts/.private/Baseline_tilted_200_Pixel_1_1_1/index.html
|
---|
456 | source muonMomentumResolution.tcl
|
---|
457 | }
|
---|
458 |
|
---|
459 | ##############
|
---|
460 | # Track merger
|
---|
461 | ##############
|
---|
462 |
|
---|
463 | module Merger TrackMerger {
|
---|
464 | # add InputArray InputArray
|
---|
465 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
466 | add InputArray ElectronEnergySmearing/electrons
|
---|
467 | add InputArray MuonMomentumSmearing/muons
|
---|
468 | set OutputArray tracks
|
---|
469 | }
|
---|
470 |
|
---|
471 | #############
|
---|
472 | # ECAL
|
---|
473 | #############
|
---|
474 |
|
---|
475 | module SimpleCalorimeter ECal {
|
---|
476 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
477 | set TrackInputArray TrackMerger/tracks
|
---|
478 |
|
---|
479 | set TowerOutputArray ecalTowers
|
---|
480 | set EFlowTrackOutputArray eflowTracks
|
---|
481 | set EFlowTowerOutputArray eflowPhotons
|
---|
482 |
|
---|
483 | set IsEcal true
|
---|
484 |
|
---|
485 | set EnergyMin 0.5
|
---|
486 | set EnergySignificanceMin 1.0
|
---|
487 |
|
---|
488 | set SmearTowerCenter true
|
---|
489 |
|
---|
490 | set pi [expr {acos(-1)}]
|
---|
491 |
|
---|
492 | # lists of the edges of each tower in eta and phi
|
---|
493 | # each list starts with the lower edge of the first tower
|
---|
494 | # the list ends with the higher edged of the last tower
|
---|
495 |
|
---|
496 | # assume 0.02 x 0.02 resolution in eta,phi in the barrel |eta| < 1.5
|
---|
497 |
|
---|
498 | set PhiBins {}
|
---|
499 | for {set i -180} {$i <= 180} {incr i} {
|
---|
500 | add PhiBins [expr {$i * $pi/180.0}]
|
---|
501 | }
|
---|
502 |
|
---|
503 | # 0.02 unit in eta up to eta = 1.5 (barrel)
|
---|
504 | for {set i -85} {$i <= 86} {incr i} {
|
---|
505 | set eta [expr {$i * 0.0174}]
|
---|
506 | add EtaPhiBins $eta $PhiBins
|
---|
507 | }
|
---|
508 |
|
---|
509 | # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL- ECAL)
|
---|
510 |
|
---|
511 | set PhiBins {}
|
---|
512 | for {set i -180} {$i <= 180} {incr i} {
|
---|
513 | add PhiBins [expr {$i * $pi/180.0}]
|
---|
514 | }
|
---|
515 |
|
---|
516 | # 0.02 unit in eta up to eta = 3
|
---|
517 | for {set i 1} {$i <= 84} {incr i} {
|
---|
518 | set eta [expr { -2.958 + $i * 0.0174}]
|
---|
519 | add EtaPhiBins $eta $PhiBins
|
---|
520 | }
|
---|
521 |
|
---|
522 | for {set i 1} {$i <= 84} {incr i} {
|
---|
523 | set eta [expr { 1.4964 + $i * 0.0174}]
|
---|
524 | add EtaPhiBins $eta $PhiBins
|
---|
525 | }
|
---|
526 |
|
---|
527 | # take present CMS granularity for HF
|
---|
528 |
|
---|
529 | # 0.175 x (0.175 - 0.35) resolution in eta,phi in the HF 3.0 < |eta| < 5.0
|
---|
530 | set PhiBins {}
|
---|
531 | for {set i -18} {$i <= 18} {incr i} {
|
---|
532 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
533 | }
|
---|
534 |
|
---|
535 | foreach eta {-5 -4.7 -4.525 -4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.958 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525 4.7 5} {
|
---|
536 | add EtaPhiBins $eta $PhiBins
|
---|
537 | }
|
---|
538 |
|
---|
539 |
|
---|
540 | add EnergyFraction {0} {0.0}
|
---|
541 | # energy fractions for e, gamma and pi0
|
---|
542 | add EnergyFraction {11} {1.0}
|
---|
543 | add EnergyFraction {22} {1.0}
|
---|
544 | add EnergyFraction {111} {1.0}
|
---|
545 | # energy fractions for muon, neutrinos and neutralinos
|
---|
546 | add EnergyFraction {12} {0.0}
|
---|
547 | add EnergyFraction {13} {0.0}
|
---|
548 | add EnergyFraction {14} {0.0}
|
---|
549 | add EnergyFraction {16} {0.0}
|
---|
550 | add EnergyFraction {1000022} {0.0}
|
---|
551 | add EnergyFraction {1000023} {0.0}
|
---|
552 | add EnergyFraction {1000025} {0.0}
|
---|
553 | add EnergyFraction {1000035} {0.0}
|
---|
554 | add EnergyFraction {1000045} {0.0}
|
---|
555 | # energy fractions for K0short and Lambda
|
---|
556 | add EnergyFraction {310} {0.3}
|
---|
557 | add EnergyFraction {3122} {0.3}
|
---|
558 |
|
---|
559 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
560 |
|
---|
561 | # for the ECAL barrel (|eta| < 1.5), see hep-ex/1306.2016 and 1502.02701
|
---|
562 | # for the endcaps (1.5 < |eta| < 3.0), we take HGCAL see LHCC-P-008, Fig. 3.39, p.117
|
---|
563 |
|
---|
564 | set ResolutionFormula { (abs(eta) <= 1.50) * sqrt(energy^2*0.009^2 + energy*0.12^2 + 0.45^2) +
|
---|
565 | (abs(eta) > 1.50 && abs(eta) <= 1.75) * sqrt(energy^2*0.006^2 + energy*0.20^2) + \
|
---|
566 | (abs(eta) > 1.75 && abs(eta) <= 2.15) * sqrt(energy^2*0.007^2 + energy*0.21^2) + \
|
---|
567 | (abs(eta) > 2.15 && abs(eta) <= 3.00) * sqrt(energy^2*0.008^2 + energy*0.24^2) + \
|
---|
568 | (abs(eta) >= 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.08^2 + energy*1.98^2)}
|
---|
569 |
|
---|
570 | }
|
---|
571 |
|
---|
572 | #############
|
---|
573 | # HCAL
|
---|
574 | #############
|
---|
575 |
|
---|
576 | module SimpleCalorimeter HCal {
|
---|
577 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
578 | set TrackInputArray ECal/eflowTracks
|
---|
579 |
|
---|
580 | set TowerOutputArray hcalTowers
|
---|
581 | set EFlowTrackOutputArray eflowTracks
|
---|
582 | set EFlowTowerOutputArray eflowNeutralHadrons
|
---|
583 |
|
---|
584 | set IsEcal false
|
---|
585 |
|
---|
586 | set EnergyMin 1.0
|
---|
587 | set EnergySignificanceMin 1.0
|
---|
588 |
|
---|
589 | set SmearTowerCenter true
|
---|
590 |
|
---|
591 | set pi [expr {acos(-1)}]
|
---|
592 |
|
---|
593 | # lists of the edges of each tower in eta and phi
|
---|
594 | # each list starts with the lower edge of the first tower
|
---|
595 | # the list ends with the higher edged of the last tower
|
---|
596 |
|
---|
597 | # assume 0.087 x 0.087 resolution in eta,phi in the barrel |eta| < 1.5
|
---|
598 |
|
---|
599 | set PhiBins {}
|
---|
600 | for {set i -36} {$i <= 36} {incr i} {
|
---|
601 | add PhiBins [expr {$i * $pi/36.0}]
|
---|
602 | }
|
---|
603 | 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.65} {
|
---|
604 | add EtaPhiBins $eta $PhiBins
|
---|
605 | }
|
---|
606 |
|
---|
607 | # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL- HCAL)
|
---|
608 |
|
---|
609 | set PhiBins {}
|
---|
610 | for {set i -180} {$i <= 180} {incr i} {
|
---|
611 | add PhiBins [expr {$i * $pi/180.0}]
|
---|
612 | }
|
---|
613 |
|
---|
614 | # 0.02 unit in eta up to eta = 3
|
---|
615 | for {set i 1} {$i <= 84} {incr i} {
|
---|
616 | set eta [expr { -2.958 + $i * 0.0174}]
|
---|
617 | add EtaPhiBins $eta $PhiBins
|
---|
618 | }
|
---|
619 |
|
---|
620 | for {set i 1} {$i <= 84} {incr i} {
|
---|
621 | set eta [expr { 1.4964 + $i * 0.0174}]
|
---|
622 | add EtaPhiBins $eta $PhiBins
|
---|
623 | }
|
---|
624 |
|
---|
625 | # take present CMS granularity for HF
|
---|
626 |
|
---|
627 | # 0.175 x (0.175 - 0.35) resolution in eta,phi in the HF 3.0 < |eta| < 5.0
|
---|
628 | set PhiBins {}
|
---|
629 | for {set i -18} {$i <= 18} {incr i} {
|
---|
630 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
631 | }
|
---|
632 |
|
---|
633 | foreach eta {-5 -4.7 -4.525 -4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.958 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525 4.7 5} {
|
---|
634 | add EtaPhiBins $eta $PhiBins
|
---|
635 | }
|
---|
636 |
|
---|
637 |
|
---|
638 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
639 | add EnergyFraction {0} {1.0}
|
---|
640 | # energy fractions for e, gamma and pi0
|
---|
641 | add EnergyFraction {11} {0.0}
|
---|
642 | add EnergyFraction {22} {0.0}
|
---|
643 | add EnergyFraction {111} {0.0}
|
---|
644 | # energy fractions for muon, neutrinos and neutralinos
|
---|
645 | add EnergyFraction {12} {0.0}
|
---|
646 | add EnergyFraction {13} {0.0}
|
---|
647 | add EnergyFraction {14} {0.0}
|
---|
648 | add EnergyFraction {16} {0.0}
|
---|
649 | add EnergyFraction {1000022} {0.0}
|
---|
650 | add EnergyFraction {1000023} {0.0}
|
---|
651 | add EnergyFraction {1000025} {0.0}
|
---|
652 | add EnergyFraction {1000035} {0.0}
|
---|
653 | add EnergyFraction {1000045} {0.0}
|
---|
654 | # energy fractions for K0short and Lambda
|
---|
655 | add EnergyFraction {310} {0.7}
|
---|
656 | add EnergyFraction {3122} {0.7}
|
---|
657 |
|
---|
658 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
659 | set ResolutionFormula { (abs(eta) <= 1.5) * sqrt(energy^2*0.05^2 + energy*1.00^2) + \
|
---|
660 | (abs(eta) > 1.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.05^2 + energy*1.00^2) + \
|
---|
661 | (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.11^2 + energy*2.80^2)}
|
---|
662 |
|
---|
663 | }
|
---|
664 |
|
---|
665 | #################################
|
---|
666 | # Energy resolution for electrons
|
---|
667 | #################################
|
---|
668 |
|
---|
669 | module EnergySmearing PhotonEnergySmearing {
|
---|
670 | set InputArray ECal/eflowPhotons
|
---|
671 | set OutputArray eflowPhotons
|
---|
672 |
|
---|
673 | # adding 1% extra photon smearing
|
---|
674 | set ResolutionFormula {energy*0.01}
|
---|
675 |
|
---|
676 | }
|
---|
677 |
|
---|
678 |
|
---|
679 |
|
---|
680 | #################
|
---|
681 | # Electron filter
|
---|
682 | #################
|
---|
683 |
|
---|
684 | module PdgCodeFilter ElectronFilter {
|
---|
685 | set InputArray HCal/eflowTracks
|
---|
686 | set OutputArray electrons
|
---|
687 | set Invert true
|
---|
688 | add PdgCode {11}
|
---|
689 | add PdgCode {-11}
|
---|
690 | }
|
---|
691 |
|
---|
692 |
|
---|
693 | ##########################
|
---|
694 | # Track pile-up subtractor
|
---|
695 | ##########################
|
---|
696 |
|
---|
697 | module TrackPileUpSubtractor TrackPileUpSubtractor {
|
---|
698 | # add InputArray InputArray OutputArray
|
---|
699 | add InputArray HCal/eflowTracks eflowTracks
|
---|
700 | add InputArray ElectronFilter/electrons electrons
|
---|
701 | add InputArray MuonMomentumSmearing/muons muons
|
---|
702 |
|
---|
703 | set VertexInputArray PileUpMerger/vertices
|
---|
704 | # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
|
---|
705 | # Z vertex resolution in m
|
---|
706 | set ZVertexResolution {0.0001}
|
---|
707 | }
|
---|
708 |
|
---|
709 | ########################
|
---|
710 | # Reco PU filter
|
---|
711 | ########################
|
---|
712 |
|
---|
713 | module RecoPuFilter RecoPuFilter {
|
---|
714 | set InputArray HCal/eflowTracks
|
---|
715 | set OutputArray eflowTracks
|
---|
716 | }
|
---|
717 |
|
---|
718 | ###################################################
|
---|
719 | # Tower Merger (in case not using e-flow algorithm)
|
---|
720 | ###################################################
|
---|
721 |
|
---|
722 | module Merger TowerMerger {
|
---|
723 | # add InputArray InputArray
|
---|
724 | add InputArray ECal/ecalTowers
|
---|
725 | add InputArray HCal/hcalTowers
|
---|
726 | set OutputArray towers
|
---|
727 | }
|
---|
728 |
|
---|
729 | ####################
|
---|
730 | # Neutral eflow erger
|
---|
731 | ####################
|
---|
732 |
|
---|
733 | module Merger NeutralEFlowMerger {
|
---|
734 | # add InputArray InputArray
|
---|
735 | add InputArray PhotonEnergySmearing/eflowPhotons
|
---|
736 | add InputArray HCal/eflowNeutralHadrons
|
---|
737 | set OutputArray eflowTowers
|
---|
738 | }
|
---|
739 |
|
---|
740 | #####################
|
---|
741 | # Energy flow merger
|
---|
742 | #####################
|
---|
743 |
|
---|
744 | module Merger EFlowMerger {
|
---|
745 | # add InputArray InputArray
|
---|
746 | add InputArray HCal/eflowTracks
|
---|
747 | add InputArray PhotonEnergySmearing/eflowPhotons
|
---|
748 | add InputArray HCal/eflowNeutralHadrons
|
---|
749 | set OutputArray eflow
|
---|
750 | }
|
---|
751 |
|
---|
752 | ############################
|
---|
753 | # Energy flow merger no PU
|
---|
754 | ############################
|
---|
755 |
|
---|
756 | module Merger EFlowMergerCHS {
|
---|
757 | # add InputArray InputArray
|
---|
758 | add InputArray RecoPuFilter/eflowTracks
|
---|
759 | add InputArray PhotonEnergySmearing/eflowPhotons
|
---|
760 | add InputArray HCal/eflowNeutralHadrons
|
---|
761 | set OutputArray eflow
|
---|
762 | }
|
---|
763 |
|
---|
764 | #########################################
|
---|
765 | ### Run the puppi code (to be tuned) ###
|
---|
766 | #########################################
|
---|
767 |
|
---|
768 | module PdgCodeFilter LeptonFilterNoLep {
|
---|
769 | set InputArray HCal/eflowTracks
|
---|
770 | set OutputArray eflowTracksNoLeptons
|
---|
771 | set Invert false
|
---|
772 | add PdgCode {13}
|
---|
773 | add PdgCode {-13}
|
---|
774 | add PdgCode {11}
|
---|
775 | add PdgCode {-11}
|
---|
776 | }
|
---|
777 |
|
---|
778 | module PdgCodeFilter LeptonFilterLep {
|
---|
779 | set InputArray HCal/eflowTracks
|
---|
780 | set OutputArray eflowTracksLeptons
|
---|
781 | set Invert true
|
---|
782 | add PdgCode {11}
|
---|
783 | add PdgCode {-11}
|
---|
784 | add PdgCode {13}
|
---|
785 | add PdgCode {-13}
|
---|
786 | }
|
---|
787 |
|
---|
788 | module RunPUPPI RunPUPPIBase {
|
---|
789 | ## input information
|
---|
790 | set TrackInputArray LeptonFilterNoLep/eflowTracksNoLeptons
|
---|
791 | set NeutralInputArray NeutralEFlowMerger/eflowTowers
|
---|
792 | set PVInputArray PileUpMerger/vertices
|
---|
793 | set MinPuppiWeight 0.05
|
---|
794 | set UseExp false
|
---|
795 | set UseNoLep false
|
---|
796 |
|
---|
797 | ## define puppi algorithm parameters (more than one for the same eta region is possible)
|
---|
798 | add EtaMinBin 0.0 1.5 4.0
|
---|
799 | add EtaMaxBin 1.5 4.0 10.0
|
---|
800 | add PtMinBin 0.0 0.0 0.0
|
---|
801 | add ConeSizeBin 0.2 0.2 0.2
|
---|
802 | add RMSPtMinBin 0.1 0.5 0.5
|
---|
803 | add RMSScaleFactorBin 1.0 1.0 1.0
|
---|
804 | add NeutralMinEBin 0.2 0.2 0.5
|
---|
805 | add NeutralPtSlope 0.006 0.013 0.067
|
---|
806 | add ApplyCHS true true true
|
---|
807 | add UseCharged true true false
|
---|
808 | add ApplyLowPUCorr true true true
|
---|
809 | add MetricId 5 5 5
|
---|
810 | add CombId 0 0 0
|
---|
811 |
|
---|
812 | ## output name
|
---|
813 | set OutputArray PuppiParticles
|
---|
814 | set OutputArrayTracks puppiTracks
|
---|
815 | set OutputArrayNeutrals puppiNeutrals
|
---|
816 | }
|
---|
817 |
|
---|
818 | module Merger RunPUPPIMerger {
|
---|
819 | add InputArray RunPUPPIBase/PuppiParticles
|
---|
820 | add InputArray LeptonFilterLep/eflowTracksLeptons
|
---|
821 | set OutputArray PuppiParticles
|
---|
822 | }
|
---|
823 |
|
---|
824 | # need this because of leptons that were added back
|
---|
825 | module RecoPuFilter RunPUPPI {
|
---|
826 | set InputArray RunPUPPIMerger/PuppiParticles
|
---|
827 | set OutputArray PuppiParticles
|
---|
828 | }
|
---|
829 |
|
---|
830 | ###################
|
---|
831 | # Missing ET merger
|
---|
832 | ###################
|
---|
833 |
|
---|
834 | module Merger MissingET {
|
---|
835 | # add InputArray InputArray
|
---|
836 | # add InputArray RunPUPPI/PuppiParticles
|
---|
837 | add InputArray EFlowMerger/eflow
|
---|
838 | set MomentumOutputArray momentum
|
---|
839 | }
|
---|
840 |
|
---|
841 | module Merger PuppiMissingET {
|
---|
842 | #add InputArray InputArray
|
---|
843 | add InputArray RunPUPPI/PuppiParticles
|
---|
844 | #add InputArray EFlowMerger/eflow
|
---|
845 | set MomentumOutputArray momentum
|
---|
846 | }
|
---|
847 |
|
---|
848 | ###################
|
---|
849 | # Ger PileUp Missing ET
|
---|
850 | ###################
|
---|
851 |
|
---|
852 | module Merger GenPileUpMissingET {
|
---|
853 | # add InputArray InputArray
|
---|
854 | # add InputArray RunPUPPI/PuppiParticles
|
---|
855 | add InputArray ParticlePropagator/stableParticles
|
---|
856 | set MomentumOutputArray momentum
|
---|
857 | }
|
---|
858 |
|
---|
859 | ##################
|
---|
860 | # Scalar HT merger
|
---|
861 | ##################
|
---|
862 |
|
---|
863 | module Merger ScalarHT {
|
---|
864 | # add InputArray InputArray
|
---|
865 | add InputArray RunPUPPI/PuppiParticles
|
---|
866 | set EnergyOutputArray energy
|
---|
867 | }
|
---|
868 |
|
---|
869 | #################
|
---|
870 | # Neutrino Filter
|
---|
871 | #################
|
---|
872 |
|
---|
873 | module PdgCodeFilter NeutrinoFilter {
|
---|
874 |
|
---|
875 | set InputArray Delphes/stableParticles
|
---|
876 | set OutputArray filteredParticles
|
---|
877 |
|
---|
878 | set PTMin 0.0
|
---|
879 |
|
---|
880 | add PdgCode {12}
|
---|
881 | add PdgCode {14}
|
---|
882 | add PdgCode {16}
|
---|
883 | add PdgCode {-12}
|
---|
884 | add PdgCode {-14}
|
---|
885 | add PdgCode {-16}
|
---|
886 |
|
---|
887 | }
|
---|
888 |
|
---|
889 | #####################
|
---|
890 | # MC truth jet finder
|
---|
891 | #####################
|
---|
892 |
|
---|
893 | module FastJetFinder GenJetFinder {
|
---|
894 | set InputArray NeutrinoFilter/filteredParticles
|
---|
895 |
|
---|
896 | set OutputArray jets
|
---|
897 |
|
---|
898 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
899 | set JetAlgorithm 6
|
---|
900 | set ParameterR 0.4
|
---|
901 |
|
---|
902 | set JetPTMin 15.0
|
---|
903 | }
|
---|
904 |
|
---|
905 | module FastJetFinder GenJetFinderAK8 {
|
---|
906 | set InputArray NeutrinoFilter/filteredParticles
|
---|
907 |
|
---|
908 | set OutputArray jetsAK8
|
---|
909 |
|
---|
910 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
911 | set JetAlgorithm 6
|
---|
912 | set ParameterR 0.8
|
---|
913 |
|
---|
914 | set JetPTMin 200.0
|
---|
915 | }
|
---|
916 |
|
---|
917 | #########################
|
---|
918 | # Gen Missing ET merger
|
---|
919 | ########################
|
---|
920 |
|
---|
921 | module Merger GenMissingET {
|
---|
922 |
|
---|
923 | # add InputArray InputArray
|
---|
924 | add InputArray NeutrinoFilter/filteredParticles
|
---|
925 | set MomentumOutputArray momentum
|
---|
926 | }
|
---|
927 |
|
---|
928 |
|
---|
929 | #############
|
---|
930 | # Rho pile-up
|
---|
931 | #############
|
---|
932 |
|
---|
933 | module FastJetGridMedianEstimator Rho {
|
---|
934 |
|
---|
935 | set InputArray EFlowMergerCHS/eflow
|
---|
936 | set RhoOutputArray rho
|
---|
937 |
|
---|
938 | # add GridRange rapmin rapmax drap dphi
|
---|
939 | # rapmin - the minimum rapidity extent of the grid
|
---|
940 | # rapmax - the maximum rapidity extent of the grid
|
---|
941 | # drap - the grid spacing in rapidity
|
---|
942 | # dphi - the grid spacing in azimuth
|
---|
943 |
|
---|
944 | add GridRange -5.0 -4.0 1.0 1.0
|
---|
945 | add GridRange -4.0 -1.5 1.0 1.0
|
---|
946 | add GridRange -1.5 1.5 1.0 1.0
|
---|
947 | add GridRange 1.5 4.0 1.0 1.0
|
---|
948 | add GridRange 4.0 5.0 1.0 1.0
|
---|
949 |
|
---|
950 | }
|
---|
951 |
|
---|
952 |
|
---|
953 | ##############
|
---|
954 | # Jet finder
|
---|
955 | ##############
|
---|
956 |
|
---|
957 | module FastJetFinder FastJetFinder {
|
---|
958 | # set InputArray TowerMerger/towers
|
---|
959 | set InputArray EFlowMergerCHS/eflow
|
---|
960 |
|
---|
961 | set OutputArray jets
|
---|
962 |
|
---|
963 | set AreaAlgorithm 5
|
---|
964 |
|
---|
965 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
966 | set JetAlgorithm 6
|
---|
967 | set ParameterR 0.4
|
---|
968 |
|
---|
969 | set JetPTMin 15.0
|
---|
970 | }
|
---|
971 |
|
---|
972 | #module Class Name
|
---|
973 | module FastJetFinder FastJetFinderAK8 {
|
---|
974 | # set InputArray TowerMerger/towers
|
---|
975 | set InputArray EFlowMergerCHS/eflow
|
---|
976 |
|
---|
977 | set OutputArray jets
|
---|
978 |
|
---|
979 | set AreaAlgorithm 5
|
---|
980 |
|
---|
981 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
982 | set JetAlgorithm 6
|
---|
983 | set ParameterR 0.8
|
---|
984 |
|
---|
985 | set ComputeNsubjettiness 1
|
---|
986 | set Beta 1.0
|
---|
987 | set AxisMode 4
|
---|
988 |
|
---|
989 | set ComputeTrimming 1
|
---|
990 | set RTrim 0.2
|
---|
991 | set PtFracTrim 0.05
|
---|
992 |
|
---|
993 | set ComputePruning 1
|
---|
994 | set ZcutPrun 0.1
|
---|
995 | set RcutPrun 0.5
|
---|
996 | set RPrun 0.8
|
---|
997 |
|
---|
998 | set ComputeSoftDrop 1
|
---|
999 | set BetaSoftDrop 0.0
|
---|
1000 | set SymmetryCutSoftDrop 0.1
|
---|
1001 | set R0SoftDrop 0.8
|
---|
1002 |
|
---|
1003 | set JetPTMin 200.0
|
---|
1004 | }
|
---|
1005 |
|
---|
1006 | ###########################
|
---|
1007 | # Jet Pile-Up Subtraction
|
---|
1008 | ###########################
|
---|
1009 |
|
---|
1010 | module JetPileUpSubtractor JetPileUpSubtractor {
|
---|
1011 | set JetInputArray FastJetFinder/jets
|
---|
1012 | set RhoInputArray Rho/rho
|
---|
1013 |
|
---|
1014 | set OutputArray jets
|
---|
1015 |
|
---|
1016 | set JetPTMin 15.0
|
---|
1017 | }
|
---|
1018 |
|
---|
1019 | ##############################
|
---|
1020 | # Jet Pile-Up Subtraction AK8
|
---|
1021 | ##############################
|
---|
1022 |
|
---|
1023 | module JetPileUpSubtractor JetPileUpSubtractorAK8 {
|
---|
1024 | set JetInputArray FastJetFinderAK8/jets
|
---|
1025 | set RhoInputArray Rho/rho
|
---|
1026 |
|
---|
1027 | set OutputArray jets
|
---|
1028 |
|
---|
1029 | set JetPTMin 15.0
|
---|
1030 | }
|
---|
1031 |
|
---|
1032 | module FastJetFinder FastJetFinderPUPPI {
|
---|
1033 | # set InputArray TowerMerger/towers
|
---|
1034 | set InputArray RunPUPPI/PuppiParticles
|
---|
1035 |
|
---|
1036 | set OutputArray jets
|
---|
1037 |
|
---|
1038 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
1039 | set JetAlgorithm 6
|
---|
1040 | set ParameterR 0.4
|
---|
1041 |
|
---|
1042 | set JetPTMin 15.0
|
---|
1043 | }
|
---|
1044 |
|
---|
1045 |
|
---|
1046 | module FastJetFinder FastJetFinderPUPPIAK8 {
|
---|
1047 | # set InputArray TowerMerger/towers
|
---|
1048 | set InputArray RunPUPPI/PuppiParticles
|
---|
1049 |
|
---|
1050 | set OutputArray jets
|
---|
1051 |
|
---|
1052 | set JetAlgorithm 6
|
---|
1053 | set ParameterR 0.8
|
---|
1054 |
|
---|
1055 | set ComputeNsubjettiness 1
|
---|
1056 | set Beta 1.0
|
---|
1057 | set AxisMode 4
|
---|
1058 |
|
---|
1059 | set ComputeTrimming 1
|
---|
1060 | set RTrim 0.2
|
---|
1061 | set PtFracTrim 0.05
|
---|
1062 |
|
---|
1063 | set ComputePruning 1
|
---|
1064 | set ZcutPrun 0.1
|
---|
1065 | set RcutPrun 0.5
|
---|
1066 | set RPrun 0.8
|
---|
1067 |
|
---|
1068 | set ComputeSoftDrop 1
|
---|
1069 | set BetaSoftDrop 0.0
|
---|
1070 | set SymmetryCutSoftDrop 0.1
|
---|
1071 | set R0SoftDrop 0.8
|
---|
1072 |
|
---|
1073 | set JetPTMin 200.0
|
---|
1074 | }
|
---|
1075 |
|
---|
1076 | ##################
|
---|
1077 | # Jet Energy Scale
|
---|
1078 | ##################
|
---|
1079 |
|
---|
1080 | module EnergyScale JetEnergyScale {
|
---|
1081 | set InputArray JetPileUpSubtractor/jets
|
---|
1082 | set OutputArray jets
|
---|
1083 |
|
---|
1084 | # scale formula for jets
|
---|
1085 | set ScaleFormula {1.00}
|
---|
1086 | }
|
---|
1087 |
|
---|
1088 | module EnergyScale JetEnergyScaleAK8 {
|
---|
1089 | set InputArray JetPileUpSubtractorAK8/jets
|
---|
1090 | set OutputArray jets
|
---|
1091 |
|
---|
1092 | # scale formula for jets
|
---|
1093 | set ScaleFormula {1.00}
|
---|
1094 | }
|
---|
1095 |
|
---|
1096 | module EnergyScale JetEnergyScalePUPPI {
|
---|
1097 | set InputArray FastJetFinderPUPPI/jets
|
---|
1098 | set OutputArray jets
|
---|
1099 |
|
---|
1100 | # scale formula for jets
|
---|
1101 | set ScaleFormula {1.00}
|
---|
1102 | }
|
---|
1103 |
|
---|
1104 | module EnergyScale JetEnergyScalePUPPIAK8 {
|
---|
1105 | set InputArray FastJetFinderPUPPIAK8/jets
|
---|
1106 | set OutputArray jets
|
---|
1107 |
|
---|
1108 | # scale formula for jets
|
---|
1109 | set ScaleFormula {1.00}
|
---|
1110 | }
|
---|
1111 |
|
---|
1112 | #################
|
---|
1113 | # Photon filter
|
---|
1114 | #################
|
---|
1115 |
|
---|
1116 | module PdgCodeFilter PhotonFilter {
|
---|
1117 | set InputArray PhotonEnergySmearing/eflowPhotons
|
---|
1118 | set OutputArray photons
|
---|
1119 | set Invert true
|
---|
1120 | set PTMin 5.0
|
---|
1121 | add PdgCode {22}
|
---|
1122 | }
|
---|
1123 |
|
---|
1124 |
|
---|
1125 | ##################
|
---|
1126 | # Muon cloner #
|
---|
1127 | ##################
|
---|
1128 |
|
---|
1129 | module Cloner MuonCloner {
|
---|
1130 | set InputArray MuonMomentumSmearing/muons
|
---|
1131 | set OutputArray muons
|
---|
1132 | }
|
---|
1133 |
|
---|
1134 | ####################
|
---|
1135 | # Electron cloner #
|
---|
1136 | ####################
|
---|
1137 |
|
---|
1138 | module Cloner ElectronCloner {
|
---|
1139 | set InputArray ElectronFilter/electrons
|
---|
1140 | set OutputArray electrons
|
---|
1141 | }
|
---|
1142 |
|
---|
1143 | ##################
|
---|
1144 | # Photon cloner #
|
---|
1145 | ##################
|
---|
1146 |
|
---|
1147 | module Cloner PhotonCloner {
|
---|
1148 | set InputArray PhotonFilter/photons
|
---|
1149 | set OutputArray photons
|
---|
1150 | }
|
---|
1151 |
|
---|
1152 |
|
---|
1153 | ####################
|
---|
1154 | # Photon isolation #
|
---|
1155 | ####################
|
---|
1156 |
|
---|
1157 | module Isolation PhotonIsolation {
|
---|
1158 |
|
---|
1159 | # particle for which calculate the isolation
|
---|
1160 | set CandidateInputArray PhotonFilter/photons
|
---|
1161 |
|
---|
1162 | # isolation collection
|
---|
1163 | set IsolationInputArray RunPUPPI/PuppiParticles
|
---|
1164 |
|
---|
1165 | # output array
|
---|
1166 | set OutputArray photons
|
---|
1167 |
|
---|
1168 | # veto isolation cand. based on proximity to input cand.
|
---|
1169 | set DeltaRMin 0.01
|
---|
1170 | set UseMiniCone true
|
---|
1171 |
|
---|
1172 | # isolation cone
|
---|
1173 | set DeltaRMax 0.3
|
---|
1174 |
|
---|
1175 | # minimum pT
|
---|
1176 | set PTMin 1.0
|
---|
1177 |
|
---|
1178 | # iso ratio to cut
|
---|
1179 | set PTRatioMax 9999.
|
---|
1180 |
|
---|
1181 | }
|
---|
1182 |
|
---|
1183 |
|
---|
1184 | ########################
|
---|
1185 | # Photon isolation CHS #
|
---|
1186 | ########################
|
---|
1187 |
|
---|
1188 | module Isolation PhotonIsolationCHS {
|
---|
1189 |
|
---|
1190 | # particle for which calculate the isolation
|
---|
1191 | set CandidateInputArray PhotonCloner/photons
|
---|
1192 |
|
---|
1193 | # isolation collection
|
---|
1194 | set IsolationInputArray EFlowMerger/eflow
|
---|
1195 |
|
---|
1196 | # output array
|
---|
1197 | set OutputArray photons
|
---|
1198 |
|
---|
1199 | # isolation cone
|
---|
1200 | set DeltaRMax 0.3
|
---|
1201 |
|
---|
1202 | # minimum pT
|
---|
1203 | set PTMin 1.0
|
---|
1204 |
|
---|
1205 | # iso ratio to cut
|
---|
1206 | set PTRatioMax 9999.
|
---|
1207 |
|
---|
1208 | }
|
---|
1209 |
|
---|
1210 |
|
---|
1211 | #####################
|
---|
1212 | # Photon efficiency #
|
---|
1213 | #####################
|
---|
1214 |
|
---|
1215 | module Efficiency PhotonEfficiency {
|
---|
1216 |
|
---|
1217 | ## input particles
|
---|
1218 | set InputArray PhotonIsolation/photons
|
---|
1219 | ## output particles
|
---|
1220 | set OutputArray photons
|
---|
1221 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1222 | # efficiency formula for photons
|
---|
1223 | set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
|
---|
1224 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.9635) + \
|
---|
1225 | (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.9624) + \
|
---|
1226 | (abs(eta) > 4.0) * (0.00)}
|
---|
1227 |
|
---|
1228 | }
|
---|
1229 |
|
---|
1230 |
|
---|
1231 | #####################
|
---|
1232 | # Photon efficiency #
|
---|
1233 | #####################
|
---|
1234 |
|
---|
1235 | module Efficiency PhotonEfficiencyCHS {
|
---|
1236 |
|
---|
1237 | ## input particles
|
---|
1238 | set InputArray PhotonIsolationCHS/photons
|
---|
1239 | ## output particles
|
---|
1240 | set OutputArray photons
|
---|
1241 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1242 | # efficiency formula for photons
|
---|
1243 | set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
|
---|
1244 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.9635) + \
|
---|
1245 | (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.9624) + \
|
---|
1246 | (abs(eta) > 4.0) * (0.00)}
|
---|
1247 |
|
---|
1248 | }
|
---|
1249 |
|
---|
1250 | ######################
|
---|
1251 | # Electron isolation #
|
---|
1252 | ######################
|
---|
1253 |
|
---|
1254 | module Isolation ElectronIsolation {
|
---|
1255 |
|
---|
1256 | set CandidateInputArray ElectronFilter/electrons
|
---|
1257 |
|
---|
1258 | # isolation collection
|
---|
1259 | set IsolationInputArray RunPUPPI/PuppiParticles
|
---|
1260 | #set IsolationInputArray EFlowMerger/eflow
|
---|
1261 |
|
---|
1262 | set OutputArray electrons
|
---|
1263 |
|
---|
1264 | set DeltaRMax 0.3
|
---|
1265 | set PTMin 1.0
|
---|
1266 | set PTRatioMax 9999.
|
---|
1267 |
|
---|
1268 | }
|
---|
1269 |
|
---|
1270 |
|
---|
1271 | ##########################
|
---|
1272 | # Electron isolation CHS #
|
---|
1273 | ##########################
|
---|
1274 |
|
---|
1275 | module Isolation ElectronIsolationCHS {
|
---|
1276 |
|
---|
1277 | set CandidateInputArray ElectronCloner/electrons
|
---|
1278 |
|
---|
1279 | # isolation collection
|
---|
1280 | set IsolationInputArray EFlowMerger/eflow
|
---|
1281 |
|
---|
1282 | set OutputArray electrons
|
---|
1283 |
|
---|
1284 | # veto isolation cand. based on proximity to input cand.
|
---|
1285 | set DeltaRMin 0.01
|
---|
1286 | set UseMiniCone true
|
---|
1287 |
|
---|
1288 | set DeltaRMax 0.3
|
---|
1289 | set PTMin 1.0
|
---|
1290 | set PTRatioMax 9999.
|
---|
1291 |
|
---|
1292 | }
|
---|
1293 |
|
---|
1294 |
|
---|
1295 | #######################
|
---|
1296 | # Electron efficiency #
|
---|
1297 | #######################
|
---|
1298 |
|
---|
1299 | module Efficiency ElectronEfficiency {
|
---|
1300 |
|
---|
1301 | set InputArray ElectronIsolation/electrons
|
---|
1302 | set OutputArray electrons
|
---|
1303 |
|
---|
1304 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1305 | # efficiency formula for electrons
|
---|
1306 | set EfficiencyFormula {
|
---|
1307 | (pt <= 4.0) * (0.00) + \
|
---|
1308 | (abs(eta) <= 1.45 ) * (pt > 4.0 && pt <= 6.0) * (0.50) + \
|
---|
1309 | (abs(eta) <= 1.45 ) * (pt > 6.0 && pt <= 8.0) * (0.70) + \
|
---|
1310 | (abs(eta) <= 1.45 ) * (pt > 8.0 && pt <= 10.0) * (0.85) + \
|
---|
1311 | (abs(eta) <= 1.45 ) * (pt > 10.0 && pt <= 30.0) * (0.94) + \
|
---|
1312 | (abs(eta) <= 1.45 ) * (pt > 30.0 && pt <= 50.0) * (0.97) + \
|
---|
1313 | (abs(eta) <= 1.45 ) * (pt > 50.0 && pt <= 70.0) * (0.98) + \
|
---|
1314 | (abs(eta) <= 1.45 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1315 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 4.0 && pt <= 10.0) * (0.35) + \
|
---|
1316 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 10.0 && pt <= 30.0) * (0.40) + \
|
---|
1317 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 30.0 && pt <= 70.0) * (0.45) + \
|
---|
1318 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 70.0 ) * (0.55) + \
|
---|
1319 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 4.0 && pt <= 10.0) * (0.75) + \
|
---|
1320 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 10.0 && pt <= 30.0) * (0.85) + \
|
---|
1321 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 30.0 && pt <= 50.0) * (0.95) + \
|
---|
1322 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 50.0 && pt <= 70.0) * (0.95) + \
|
---|
1323 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1324 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1325 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1326 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1327 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1328 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1329 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1330 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1331 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1332 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1333 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1334 | (abs(eta) > 4.0) * (0.00)
|
---|
1335 |
|
---|
1336 | }
|
---|
1337 | }
|
---|
1338 |
|
---|
1339 | ###########################
|
---|
1340 | # Electron efficiency CHS #
|
---|
1341 | ###########################
|
---|
1342 |
|
---|
1343 | module Efficiency ElectronEfficiencyCHS {
|
---|
1344 |
|
---|
1345 | set InputArray ElectronIsolationCHS/electrons
|
---|
1346 | set OutputArray electrons
|
---|
1347 |
|
---|
1348 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1349 | # efficiency formula for electrons
|
---|
1350 | set EfficiencyFormula {
|
---|
1351 | (pt <= 4.0) * (0.00) + \
|
---|
1352 | (abs(eta) <= 1.45 ) * (pt > 4.0 && pt <= 6.0) * (0.50) + \
|
---|
1353 | (abs(eta) <= 1.45 ) * (pt > 6.0 && pt <= 8.0) * (0.70) + \
|
---|
1354 | (abs(eta) <= 1.45 ) * (pt > 8.0 && pt <= 10.0) * (0.85) + \
|
---|
1355 | (abs(eta) <= 1.45 ) * (pt > 10.0 && pt <= 30.0) * (0.94) + \
|
---|
1356 | (abs(eta) <= 1.45 ) * (pt > 30.0 && pt <= 50.0) * (0.97) + \
|
---|
1357 | (abs(eta) <= 1.45 ) * (pt > 50.0 && pt <= 70.0) * (0.98) + \
|
---|
1358 | (abs(eta) <= 1.45 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1359 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 4.0 && pt <= 10.0) * (0.35) + \
|
---|
1360 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 10.0 && pt <= 30.0) * (0.40) + \
|
---|
1361 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 30.0 && pt <= 70.0) * (0.45) + \
|
---|
1362 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 70.0 ) * (0.55) + \
|
---|
1363 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 4.0 && pt <= 10.0) * (0.75) + \
|
---|
1364 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 10.0 && pt <= 30.0) * (0.85) + \
|
---|
1365 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 30.0 && pt <= 50.0) * (0.95) + \
|
---|
1366 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 50.0 && pt <= 70.0) * (0.95) + \
|
---|
1367 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1368 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1369 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1370 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1371 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1372 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1373 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1374 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1375 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1376 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1377 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1378 | (abs(eta) > 4.0) * (0.00)
|
---|
1379 |
|
---|
1380 | }
|
---|
1381 | }
|
---|
1382 |
|
---|
1383 |
|
---|
1384 |
|
---|
1385 | ##################
|
---|
1386 | # Muon isolation #
|
---|
1387 | ##################
|
---|
1388 |
|
---|
1389 | module Isolation MuonIsolation {
|
---|
1390 | set CandidateInputArray MuonMomentumSmearing/muons
|
---|
1391 |
|
---|
1392 | # isolation collection
|
---|
1393 | set IsolationInputArray RunPUPPI/PuppiParticles
|
---|
1394 |
|
---|
1395 | set OutputArray muons
|
---|
1396 |
|
---|
1397 | set DeltaRMax 0.3
|
---|
1398 | set PTMin 1.0
|
---|
1399 | set PTRatioMax 9999.
|
---|
1400 |
|
---|
1401 | }
|
---|
1402 |
|
---|
1403 | ######################
|
---|
1404 | # Muon isolation CHS #
|
---|
1405 | ######################
|
---|
1406 |
|
---|
1407 | module Isolation MuonIsolationCHS {
|
---|
1408 | set CandidateInputArray MuonCloner/muons
|
---|
1409 |
|
---|
1410 | # isolation collection
|
---|
1411 | set IsolationInputArray EFlowMerger/eflow
|
---|
1412 |
|
---|
1413 | set OutputArray muons
|
---|
1414 |
|
---|
1415 |
|
---|
1416 | # veto isolation cand. based on proximity to input cand.
|
---|
1417 | set DeltaRMin 0.01
|
---|
1418 | set UseMiniCone true
|
---|
1419 |
|
---|
1420 | set DeltaRMax 0.3
|
---|
1421 | set PTMin 1.0
|
---|
1422 | set PTRatioMax 9999.
|
---|
1423 |
|
---|
1424 | }
|
---|
1425 |
|
---|
1426 |
|
---|
1427 | #####################
|
---|
1428 | # Muon Loose Id #
|
---|
1429 | #####################
|
---|
1430 |
|
---|
1431 | module Efficiency MuonLooseIdEfficiency {
|
---|
1432 | set InputArray MuonIsolation/muons
|
---|
1433 | set OutputArray muons
|
---|
1434 | # tracking + LooseID efficiency formula for muons
|
---|
1435 | source muonLooseId.tcl
|
---|
1436 |
|
---|
1437 | }
|
---|
1438 |
|
---|
1439 |
|
---|
1440 | ##################
|
---|
1441 | # Muon Tight Id #
|
---|
1442 | ##################
|
---|
1443 |
|
---|
1444 | module Efficiency MuonTightIdEfficiency {
|
---|
1445 | set InputArray MuonIsolation/muons
|
---|
1446 | set OutputArray muons
|
---|
1447 | # tracking + TightID efficiency formula for muons
|
---|
1448 | source muonTightId.tcl
|
---|
1449 | }
|
---|
1450 |
|
---|
1451 |
|
---|
1452 | #####################
|
---|
1453 | # Muon Loose Id CHS #
|
---|
1454 | #####################
|
---|
1455 |
|
---|
1456 | module Efficiency MuonLooseIdEfficiencyCHS {
|
---|
1457 | set InputArray MuonIsolationCHS/muons
|
---|
1458 | set OutputArray muons
|
---|
1459 | # tracking + LooseID efficiency formula for muons
|
---|
1460 | source muonLooseId.tcl
|
---|
1461 |
|
---|
1462 | }
|
---|
1463 |
|
---|
1464 |
|
---|
1465 | ######################
|
---|
1466 | # Muon Tight Id CHS #
|
---|
1467 | ######################
|
---|
1468 |
|
---|
1469 | module Efficiency MuonTightIdEfficiencyCHS {
|
---|
1470 | set InputArray MuonIsolationCHS/muons
|
---|
1471 | set OutputArray muons
|
---|
1472 | # tracking + TightID efficiency formula for muons
|
---|
1473 | source muonTightId.tcl
|
---|
1474 | }
|
---|
1475 |
|
---|
1476 |
|
---|
1477 | ########################
|
---|
1478 | # Jet Flavor Association
|
---|
1479 | ########################
|
---|
1480 |
|
---|
1481 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
1482 |
|
---|
1483 | set PartonInputArray Delphes/partons
|
---|
1484 | set ParticleInputArray Delphes/allParticles
|
---|
1485 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1486 | set JetInputArray JetEnergyScale/jets
|
---|
1487 |
|
---|
1488 | set DeltaR 0.5
|
---|
1489 | set PartonPTMin 10.0
|
---|
1490 | set PartonEtaMax 4.0
|
---|
1491 |
|
---|
1492 | }
|
---|
1493 |
|
---|
1494 | module JetFlavorAssociation JetFlavorAssociationAK8 {
|
---|
1495 |
|
---|
1496 | set PartonInputArray Delphes/partons
|
---|
1497 | set ParticleInputArray Delphes/allParticles
|
---|
1498 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1499 | set JetInputArray JetEnergyScaleAK8/jets
|
---|
1500 |
|
---|
1501 | set DeltaR 0.8
|
---|
1502 | set PartonPTMin 100.0
|
---|
1503 | set PartonEtaMax 4.0
|
---|
1504 |
|
---|
1505 | }
|
---|
1506 |
|
---|
1507 | module JetFlavorAssociation JetFlavorAssociationPUPPI {
|
---|
1508 |
|
---|
1509 | set PartonInputArray Delphes/partons
|
---|
1510 | set ParticleInputArray Delphes/allParticles
|
---|
1511 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1512 | set JetInputArray JetEnergyScalePUPPI/jets
|
---|
1513 |
|
---|
1514 | set DeltaR 0.5
|
---|
1515 | set PartonPTMin 10.0
|
---|
1516 | set PartonEtaMax 4.0
|
---|
1517 |
|
---|
1518 | }
|
---|
1519 |
|
---|
1520 | module JetFlavorAssociation JetFlavorAssociationPUPPIAK8 {
|
---|
1521 |
|
---|
1522 | set PartonInputArray Delphes/partons
|
---|
1523 | set ParticleInputArray Delphes/allParticles
|
---|
1524 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1525 | set JetInputArray JetEnergyScalePUPPIAK8/jets
|
---|
1526 |
|
---|
1527 | set DeltaR 0.8
|
---|
1528 | set PartonPTMin 100.0
|
---|
1529 | set PartonEtaMax 4.0
|
---|
1530 |
|
---|
1531 | }
|
---|
1532 |
|
---|
1533 |
|
---|
1534 | #############
|
---|
1535 | # b-tagging #
|
---|
1536 | #############
|
---|
1537 | module BTagging BTagging {
|
---|
1538 |
|
---|
1539 | set JetInputArray JetEnergyScale/jets
|
---|
1540 | set BitNumber 0
|
---|
1541 |
|
---|
1542 | add EfficiencyFormula {0} {0.001}
|
---|
1543 |
|
---|
1544 | add EfficiencyFormula {5} {
|
---|
1545 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.63) +
|
---|
1546 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.70) +
|
---|
1547 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.74) +
|
---|
1548 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.74) +
|
---|
1549 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.75) +
|
---|
1550 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.75) +
|
---|
1551 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.75) +
|
---|
1552 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.74) +
|
---|
1553 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.73) +
|
---|
1554 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.73) +
|
---|
1555 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.72) +
|
---|
1556 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.69) +
|
---|
1557 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.68) +
|
---|
1558 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.66) +
|
---|
1559 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.64) +
|
---|
1560 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.59) +
|
---|
1561 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.56) +
|
---|
1562 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.50) +
|
---|
1563 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.44) +
|
---|
1564 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.40) +
|
---|
1565 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.32) +
|
---|
1566 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.26) +
|
---|
1567 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.21) +
|
---|
1568 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.11) +
|
---|
1569 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.17) +
|
---|
1570 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1571 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.43) +
|
---|
1572 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.53) +
|
---|
1573 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.56) +
|
---|
1574 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.59) +
|
---|
1575 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.60) +
|
---|
1576 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.61) +
|
---|
1577 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.60) +
|
---|
1578 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.59) +
|
---|
1579 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.59) +
|
---|
1580 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.60) +
|
---|
1581 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.58) +
|
---|
1582 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.56) +
|
---|
1583 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.55) +
|
---|
1584 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.53) +
|
---|
1585 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.49) +
|
---|
1586 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.45) +
|
---|
1587 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.42) +
|
---|
1588 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.38) +
|
---|
1589 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.32) +
|
---|
1590 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.36) +
|
---|
1591 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.34) +
|
---|
1592 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.29) +
|
---|
1593 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.20) +
|
---|
1594 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1595 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1596 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1597 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.25) +
|
---|
1598 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.33) +
|
---|
1599 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.37) +
|
---|
1600 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.39) +
|
---|
1601 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.41) +
|
---|
1602 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.43) +
|
---|
1603 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.41) +
|
---|
1604 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.44) +
|
---|
1605 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.44) +
|
---|
1606 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.42) +
|
---|
1607 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.40) +
|
---|
1608 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.41) +
|
---|
1609 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.39) +
|
---|
1610 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.34) +
|
---|
1611 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.30) +
|
---|
1612 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.23) +
|
---|
1613 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.33) +
|
---|
1614 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.14) +
|
---|
1615 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1616 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1617 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1618 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1619 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1620 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1621 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1622 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1623 | }
|
---|
1624 |
|
---|
1625 | add EfficiencyFormula {4} {
|
---|
1626 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.17) +
|
---|
1627 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.19) +
|
---|
1628 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.20) +
|
---|
1629 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.21) +
|
---|
1630 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.20) +
|
---|
1631 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.20) +
|
---|
1632 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.20) +
|
---|
1633 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.19) +
|
---|
1634 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.18) +
|
---|
1635 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.18) +
|
---|
1636 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.17) +
|
---|
1637 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.16) +
|
---|
1638 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
1639 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
1640 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.12) +
|
---|
1641 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1642 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.10) +
|
---|
1643 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.08) +
|
---|
1644 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
1645 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
1646 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
1647 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
1648 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
1649 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
1650 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.02) +
|
---|
1651 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1652 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
1653 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.10) +
|
---|
1654 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
1655 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.12) +
|
---|
1656 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
1657 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.13) +
|
---|
1658 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.13) +
|
---|
1659 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.14) +
|
---|
1660 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.14) +
|
---|
1661 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.14) +
|
---|
1662 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.15) +
|
---|
1663 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.15) +
|
---|
1664 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.15) +
|
---|
1665 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
1666 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
1667 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1668 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
1669 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
1670 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
1671 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.07) +
|
---|
1672 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
1673 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.03) +
|
---|
1674 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
1675 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1676 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1677 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1678 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.06) +
|
---|
1679 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.07) +
|
---|
1680 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.08) +
|
---|
1681 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.08) +
|
---|
1682 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.09) +
|
---|
1683 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.09) +
|
---|
1684 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.10) +
|
---|
1685 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.09) +
|
---|
1686 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.10) +
|
---|
1687 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
1688 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
1689 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.09) +
|
---|
1690 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
1691 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.10) +
|
---|
1692 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.08) +
|
---|
1693 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
1694 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.07) +
|
---|
1695 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.07) +
|
---|
1696 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1697 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1698 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1699 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1700 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1701 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1702 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1703 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1704 | }
|
---|
1705 |
|
---|
1706 |
|
---|
1707 |
|
---|
1708 | }
|
---|
1709 |
|
---|
1710 | module BTagging BTaggingAK8 {
|
---|
1711 |
|
---|
1712 | set JetInputArray JetEnergyScaleAK8/jets
|
---|
1713 | set BitNumber 0
|
---|
1714 | add EfficiencyFormula {0} {0.001}
|
---|
1715 |
|
---|
1716 | add EfficiencyFormula {5} {
|
---|
1717 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.63) +
|
---|
1718 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.70) +
|
---|
1719 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.74) +
|
---|
1720 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.74) +
|
---|
1721 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.75) +
|
---|
1722 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.75) +
|
---|
1723 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.75) +
|
---|
1724 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.74) +
|
---|
1725 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.73) +
|
---|
1726 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.73) +
|
---|
1727 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.72) +
|
---|
1728 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.69) +
|
---|
1729 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.68) +
|
---|
1730 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.66) +
|
---|
1731 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.64) +
|
---|
1732 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.59) +
|
---|
1733 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.56) +
|
---|
1734 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.50) +
|
---|
1735 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.44) +
|
---|
1736 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.40) +
|
---|
1737 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.32) +
|
---|
1738 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.26) +
|
---|
1739 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.21) +
|
---|
1740 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.11) +
|
---|
1741 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.17) +
|
---|
1742 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1743 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.43) +
|
---|
1744 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.53) +
|
---|
1745 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.56) +
|
---|
1746 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.59) +
|
---|
1747 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.60) +
|
---|
1748 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.61) +
|
---|
1749 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.60) +
|
---|
1750 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.59) +
|
---|
1751 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.59) +
|
---|
1752 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.60) +
|
---|
1753 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.58) +
|
---|
1754 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.56) +
|
---|
1755 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.55) +
|
---|
1756 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.53) +
|
---|
1757 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.49) +
|
---|
1758 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.45) +
|
---|
1759 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.42) +
|
---|
1760 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.38) +
|
---|
1761 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.32) +
|
---|
1762 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.36) +
|
---|
1763 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.34) +
|
---|
1764 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.29) +
|
---|
1765 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.20) +
|
---|
1766 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1767 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1768 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1769 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.25) +
|
---|
1770 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.33) +
|
---|
1771 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.37) +
|
---|
1772 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.39) +
|
---|
1773 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.41) +
|
---|
1774 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.43) +
|
---|
1775 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.41) +
|
---|
1776 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.44) +
|
---|
1777 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.44) +
|
---|
1778 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.42) +
|
---|
1779 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.40) +
|
---|
1780 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.41) +
|
---|
1781 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.39) +
|
---|
1782 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.34) +
|
---|
1783 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.30) +
|
---|
1784 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.23) +
|
---|
1785 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.33) +
|
---|
1786 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.14) +
|
---|
1787 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1788 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1789 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1790 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1791 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1792 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1793 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1794 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1795 | }
|
---|
1796 |
|
---|
1797 | add EfficiencyFormula {4} {
|
---|
1798 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.17) +
|
---|
1799 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.19) +
|
---|
1800 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.20) +
|
---|
1801 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.21) +
|
---|
1802 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.20) +
|
---|
1803 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.20) +
|
---|
1804 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.20) +
|
---|
1805 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.19) +
|
---|
1806 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.18) +
|
---|
1807 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.18) +
|
---|
1808 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.17) +
|
---|
1809 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.16) +
|
---|
1810 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
1811 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
1812 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.12) +
|
---|
1813 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1814 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.10) +
|
---|
1815 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.08) +
|
---|
1816 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
1817 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
1818 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
1819 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
1820 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
1821 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
1822 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.02) +
|
---|
1823 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1824 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
1825 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.10) +
|
---|
1826 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
1827 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.12) +
|
---|
1828 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
1829 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.13) +
|
---|
1830 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.13) +
|
---|
1831 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.14) +
|
---|
1832 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.14) +
|
---|
1833 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.14) +
|
---|
1834 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.15) +
|
---|
1835 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.15) +
|
---|
1836 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.15) +
|
---|
1837 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
1838 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
1839 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1840 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
1841 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
1842 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
1843 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.07) +
|
---|
1844 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
1845 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.03) +
|
---|
1846 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
1847 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1848 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1849 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1850 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.06) +
|
---|
1851 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.07) +
|
---|
1852 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.08) +
|
---|
1853 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.08) +
|
---|
1854 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.09) +
|
---|
1855 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.09) +
|
---|
1856 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.10) +
|
---|
1857 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.09) +
|
---|
1858 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.10) +
|
---|
1859 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
1860 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
1861 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.09) +
|
---|
1862 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
1863 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.10) +
|
---|
1864 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.08) +
|
---|
1865 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
1866 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.07) +
|
---|
1867 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.07) +
|
---|
1868 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1869 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1870 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1871 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1872 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1873 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1874 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1875 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1876 | }
|
---|
1877 |
|
---|
1878 |
|
---|
1879 | }
|
---|
1880 |
|
---|
1881 | module BTagging BTaggingPUPPI {
|
---|
1882 |
|
---|
1883 | set JetInputArray JetEnergyScalePUPPI/jets
|
---|
1884 | set BitNumber 0
|
---|
1885 | add EfficiencyFormula {0} {0.001}
|
---|
1886 |
|
---|
1887 | add EfficiencyFormula {5} {
|
---|
1888 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.63) +
|
---|
1889 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.70) +
|
---|
1890 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.74) +
|
---|
1891 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.74) +
|
---|
1892 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.75) +
|
---|
1893 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.75) +
|
---|
1894 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.75) +
|
---|
1895 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.74) +
|
---|
1896 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.73) +
|
---|
1897 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.73) +
|
---|
1898 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.72) +
|
---|
1899 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.69) +
|
---|
1900 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.68) +
|
---|
1901 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.66) +
|
---|
1902 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.64) +
|
---|
1903 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.59) +
|
---|
1904 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.56) +
|
---|
1905 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.50) +
|
---|
1906 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.44) +
|
---|
1907 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.40) +
|
---|
1908 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.32) +
|
---|
1909 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.26) +
|
---|
1910 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.21) +
|
---|
1911 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.11) +
|
---|
1912 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.17) +
|
---|
1913 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1914 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.43) +
|
---|
1915 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.53) +
|
---|
1916 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.56) +
|
---|
1917 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.59) +
|
---|
1918 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.60) +
|
---|
1919 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.61) +
|
---|
1920 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.60) +
|
---|
1921 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.59) +
|
---|
1922 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.59) +
|
---|
1923 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.60) +
|
---|
1924 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.58) +
|
---|
1925 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.56) +
|
---|
1926 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.55) +
|
---|
1927 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.53) +
|
---|
1928 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.49) +
|
---|
1929 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.45) +
|
---|
1930 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.42) +
|
---|
1931 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.38) +
|
---|
1932 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.32) +
|
---|
1933 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.36) +
|
---|
1934 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.34) +
|
---|
1935 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.29) +
|
---|
1936 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.20) +
|
---|
1937 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1938 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1939 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1940 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.25) +
|
---|
1941 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.33) +
|
---|
1942 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.37) +
|
---|
1943 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.39) +
|
---|
1944 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.41) +
|
---|
1945 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.43) +
|
---|
1946 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.41) +
|
---|
1947 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.44) +
|
---|
1948 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.44) +
|
---|
1949 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.42) +
|
---|
1950 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.40) +
|
---|
1951 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.41) +
|
---|
1952 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.39) +
|
---|
1953 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.34) +
|
---|
1954 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.30) +
|
---|
1955 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.23) +
|
---|
1956 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.33) +
|
---|
1957 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.14) +
|
---|
1958 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1959 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1960 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1961 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1962 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1963 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1964 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1965 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1966 | }
|
---|
1967 |
|
---|
1968 | add EfficiencyFormula {4} {
|
---|
1969 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.17) +
|
---|
1970 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.19) +
|
---|
1971 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.20) +
|
---|
1972 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.21) +
|
---|
1973 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.20) +
|
---|
1974 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.20) +
|
---|
1975 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.20) +
|
---|
1976 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.19) +
|
---|
1977 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.18) +
|
---|
1978 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.18) +
|
---|
1979 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.17) +
|
---|
1980 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.16) +
|
---|
1981 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
1982 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
1983 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.12) +
|
---|
1984 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1985 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.10) +
|
---|
1986 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.08) +
|
---|
1987 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
1988 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
1989 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
1990 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
1991 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
1992 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
1993 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.02) +
|
---|
1994 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1995 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
1996 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.10) +
|
---|
1997 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
1998 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.12) +
|
---|
1999 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
2000 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.13) +
|
---|
2001 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.13) +
|
---|
2002 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.14) +
|
---|
2003 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.14) +
|
---|
2004 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.14) +
|
---|
2005 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.15) +
|
---|
2006 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.15) +
|
---|
2007 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.15) +
|
---|
2008 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
2009 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
2010 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2011 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
2012 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
2013 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
2014 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.07) +
|
---|
2015 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
2016 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.03) +
|
---|
2017 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
2018 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2019 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2020 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
2021 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.06) +
|
---|
2022 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.07) +
|
---|
2023 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.08) +
|
---|
2024 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.08) +
|
---|
2025 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.09) +
|
---|
2026 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.09) +
|
---|
2027 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.10) +
|
---|
2028 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.09) +
|
---|
2029 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.10) +
|
---|
2030 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
2031 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
2032 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.09) +
|
---|
2033 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
2034 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.10) +
|
---|
2035 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.08) +
|
---|
2036 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
2037 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.07) +
|
---|
2038 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.07) +
|
---|
2039 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
2040 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
2041 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
2042 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
2043 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
2044 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2045 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2046 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
2047 | }
|
---|
2048 |
|
---|
2049 |
|
---|
2050 | }
|
---|
2051 |
|
---|
2052 | module BTagging BTaggingPUPPIAK8 {
|
---|
2053 |
|
---|
2054 | set JetInputArray JetEnergyScalePUPPIAK8/jets
|
---|
2055 | set BitNumber 0
|
---|
2056 | add EfficiencyFormula {0} {0.001}
|
---|
2057 |
|
---|
2058 | add EfficiencyFormula {5} {
|
---|
2059 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.63) +
|
---|
2060 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.70) +
|
---|
2061 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.74) +
|
---|
2062 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.74) +
|
---|
2063 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.75) +
|
---|
2064 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.75) +
|
---|
2065 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.75) +
|
---|
2066 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.74) +
|
---|
2067 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.73) +
|
---|
2068 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.73) +
|
---|
2069 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.72) +
|
---|
2070 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.69) +
|
---|
2071 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.68) +
|
---|
2072 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.66) +
|
---|
2073 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.64) +
|
---|
2074 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.59) +
|
---|
2075 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.56) +
|
---|
2076 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.50) +
|
---|
2077 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.44) +
|
---|
2078 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.40) +
|
---|
2079 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.32) +
|
---|
2080 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.26) +
|
---|
2081 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.21) +
|
---|
2082 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.11) +
|
---|
2083 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.17) +
|
---|
2084 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
2085 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.43) +
|
---|
2086 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.53) +
|
---|
2087 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.56) +
|
---|
2088 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.59) +
|
---|
2089 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.60) +
|
---|
2090 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.61) +
|
---|
2091 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.60) +
|
---|
2092 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.59) +
|
---|
2093 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.59) +
|
---|
2094 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.60) +
|
---|
2095 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.58) +
|
---|
2096 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.56) +
|
---|
2097 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.55) +
|
---|
2098 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.53) +
|
---|
2099 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.49) +
|
---|
2100 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.45) +
|
---|
2101 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.42) +
|
---|
2102 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.38) +
|
---|
2103 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.32) +
|
---|
2104 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.36) +
|
---|
2105 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.34) +
|
---|
2106 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.29) +
|
---|
2107 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.20) +
|
---|
2108 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2109 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2110 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
2111 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.25) +
|
---|
2112 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.33) +
|
---|
2113 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.37) +
|
---|
2114 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.39) +
|
---|
2115 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.41) +
|
---|
2116 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.43) +
|
---|
2117 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.41) +
|
---|
2118 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.44) +
|
---|
2119 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.44) +
|
---|
2120 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.42) +
|
---|
2121 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.40) +
|
---|
2122 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.41) +
|
---|
2123 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.39) +
|
---|
2124 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.34) +
|
---|
2125 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.30) +
|
---|
2126 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.23) +
|
---|
2127 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.33) +
|
---|
2128 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.14) +
|
---|
2129 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
2130 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
2131 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
2132 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
2133 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
2134 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2135 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2136 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
2137 | }
|
---|
2138 |
|
---|
2139 | add EfficiencyFormula {4} {
|
---|
2140 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.17) +
|
---|
2141 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.19) +
|
---|
2142 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.20) +
|
---|
2143 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.21) +
|
---|
2144 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.20) +
|
---|
2145 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.20) +
|
---|
2146 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.20) +
|
---|
2147 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.19) +
|
---|
2148 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.18) +
|
---|
2149 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.18) +
|
---|
2150 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.17) +
|
---|
2151 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.16) +
|
---|
2152 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
2153 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
2154 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.12) +
|
---|
2155 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2156 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.10) +
|
---|
2157 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.08) +
|
---|
2158 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
2159 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
2160 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
2161 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
2162 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
2163 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
2164 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.02) +
|
---|
2165 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
2166 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
2167 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.10) +
|
---|
2168 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
2169 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.12) +
|
---|
2170 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
2171 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.13) +
|
---|
2172 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.13) +
|
---|
2173 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.14) +
|
---|
2174 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.14) +
|
---|
2175 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.14) +
|
---|
2176 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.15) +
|
---|
2177 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.15) +
|
---|
2178 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.15) +
|
---|
2179 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
2180 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
2181 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2182 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
2183 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
2184 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
2185 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.07) +
|
---|
2186 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
2187 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.03) +
|
---|
2188 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
2189 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2190 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2191 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
2192 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.06) +
|
---|
2193 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.07) +
|
---|
2194 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.08) +
|
---|
2195 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.08) +
|
---|
2196 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.09) +
|
---|
2197 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.09) +
|
---|
2198 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.10) +
|
---|
2199 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.09) +
|
---|
2200 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.10) +
|
---|
2201 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
2202 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
2203 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.09) +
|
---|
2204 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
2205 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.10) +
|
---|
2206 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.08) +
|
---|
2207 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
2208 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.07) +
|
---|
2209 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.07) +
|
---|
2210 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
2211 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
2212 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
2213 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
2214 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
2215 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2216 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2217 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
2218 | }
|
---|
2219 |
|
---|
2220 |
|
---|
2221 | }
|
---|
2222 |
|
---|
2223 | #############
|
---|
2224 | # tau-tagging
|
---|
2225 | #############
|
---|
2226 |
|
---|
2227 |
|
---|
2228 | module TauTagging TauTagging {
|
---|
2229 | set ParticleInputArray Delphes/allParticles
|
---|
2230 | set PartonInputArray Delphes/partons
|
---|
2231 | set JetInputArray JetEnergyScale/jets
|
---|
2232 |
|
---|
2233 | set DeltaR 0.5
|
---|
2234 |
|
---|
2235 | set TauPTMin 20.0
|
---|
2236 |
|
---|
2237 | set TauEtaMax 2.3
|
---|
2238 |
|
---|
2239 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
2240 |
|
---|
2241 | add EfficiencyFormula {0} { (abs(eta) < 2.3) * ((( -0.00621816+0.00130097*pt-2.19642e-5*pt^2+1.49393e-7*pt^3-4.58972e-10*pt^4+5.27983e-13*pt^5 )) * (pt<250) + 0.0032*(pt>250)) + \
|
---|
2242 | (abs(eta) > 2.3) * (0.000)
|
---|
2243 | }
|
---|
2244 | add EfficiencyFormula {15} { (abs(eta) < 2.3) * 0.97*0.77*( (0.32 + 0.01*pt - 0.000054*pt*pt )*(pt<100)+0.78*(pt>100) ) + \
|
---|
2245 | (abs(eta) > 2.3) * (0.000)
|
---|
2246 | }
|
---|
2247 | }
|
---|
2248 |
|
---|
2249 |
|
---|
2250 | ###############################################################################################################
|
---|
2251 | # StatusPidFilter: this module removes all generated particles except electrons, muons, taus, and status == 3 #
|
---|
2252 | ###############################################################################################################
|
---|
2253 |
|
---|
2254 | module StatusPidFilter GenParticleFilter {
|
---|
2255 |
|
---|
2256 | set InputArray Delphes/allParticles
|
---|
2257 | set OutputArray filteredParticles
|
---|
2258 | set PTMin 5.0
|
---|
2259 |
|
---|
2260 | }
|
---|
2261 |
|
---|
2262 |
|
---|
2263 | ##################
|
---|
2264 | # ROOT tree writer
|
---|
2265 | ##################
|
---|
2266 |
|
---|
2267 | module TreeWriter TreeWriter {
|
---|
2268 | # add Branch InputArray BranchName BranchClass
|
---|
2269 | add Branch GenParticleFilter/filteredParticles Particle GenParticle
|
---|
2270 | add Branch PileUpMerger/vertices Vertex Vertex
|
---|
2271 |
|
---|
2272 | add Branch GenJetFinder/jets GenJet Jet
|
---|
2273 | add Branch GenJetFinderAK8/jetsAK8 GenJetAK8 Jet
|
---|
2274 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
2275 |
|
---|
2276 | # add Branch HCal/eflowTracks EFlowTrack Track
|
---|
2277 | # add Branch ECal/eflowPhotons EFlowPhoton Tower
|
---|
2278 | # add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
2279 |
|
---|
2280 | add Branch PhotonEfficiency/photons Photon Photon
|
---|
2281 | add Branch ElectronEfficiency/electrons Electron Electron
|
---|
2282 | add Branch MuonLooseIdEfficiency/muons MuonLoose Muon
|
---|
2283 | add Branch MuonTightIdEfficiency/muons MuonTight Muon
|
---|
2284 |
|
---|
2285 | add Branch PhotonEfficiencyCHS/photons PhotonCHS Photon
|
---|
2286 | add Branch ElectronEfficiencyCHS/electrons ElectronCHS Electron
|
---|
2287 | add Branch MuonLooseIdEfficiencyCHS/muons MuonLooseCHS Muon
|
---|
2288 | add Branch MuonTightIdEfficiencyCHS/muons MuonTightCHS Muon
|
---|
2289 |
|
---|
2290 | add Branch JetEnergyScale/jets Jet Jet
|
---|
2291 | # add Branch FatJetFinder/jets FatJet Jet
|
---|
2292 | add Branch JetEnergyScalePUPPI/jets JetPUPPI Jet
|
---|
2293 | add Branch JetEnergyScaleAK8/jets JetAK8 Jet
|
---|
2294 | add Branch JetEnergyScalePUPPIAK8/jets JetPUPPIAK8 Jet
|
---|
2295 |
|
---|
2296 | add Branch Rho/rho Rho Rho
|
---|
2297 |
|
---|
2298 | add Branch MissingET/momentum MissingET MissingET
|
---|
2299 | add Branch PuppiMissingET/momentum PuppiMissingET MissingET
|
---|
2300 | add Branch GenPileUpMissingET/momentum GenPileUpMissingET MissingET
|
---|
2301 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
2302 |
|
---|
2303 | }
|
---|