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