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 0
|
---|
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 | ######################
|
---|
835 | # EFlowFilterPuppi
|
---|
836 | ######################
|
---|
837 |
|
---|
838 | module PdgCodeFilter EFlowFilterPuppi {
|
---|
839 | set InputArray RunPUPPI/PuppiParticles
|
---|
840 | set OutputArray eflow
|
---|
841 |
|
---|
842 | add PdgCode {11}
|
---|
843 | add PdgCode {-11}
|
---|
844 | add PdgCode {13}
|
---|
845 | add PdgCode {-13}
|
---|
846 | }
|
---|
847 |
|
---|
848 | ######################
|
---|
849 | # EFlowFilterCHS
|
---|
850 | ######################
|
---|
851 |
|
---|
852 | module PdgCodeFilter EFlowFilterCHS {
|
---|
853 | set InputArray EFlowMergerCHS/eflow
|
---|
854 | set OutputArray eflow
|
---|
855 |
|
---|
856 | add PdgCode {11}
|
---|
857 | add PdgCode {-11}
|
---|
858 | add PdgCode {13}
|
---|
859 | add PdgCode {-13}
|
---|
860 | }
|
---|
861 |
|
---|
862 |
|
---|
863 | ###################
|
---|
864 | # Missing ET merger
|
---|
865 | ###################
|
---|
866 |
|
---|
867 | module Merger MissingET {
|
---|
868 | # add InputArray InputArray
|
---|
869 | # add InputArray RunPUPPI/PuppiParticles
|
---|
870 | add InputArray EFlowMerger/eflow
|
---|
871 | set MomentumOutputArray momentum
|
---|
872 | }
|
---|
873 |
|
---|
874 | module Merger PuppiMissingET {
|
---|
875 | #add InputArray InputArray
|
---|
876 | add InputArray RunPUPPI/PuppiParticles
|
---|
877 | #add InputArray EFlowMerger/eflow
|
---|
878 | set MomentumOutputArray momentum
|
---|
879 | }
|
---|
880 |
|
---|
881 | ###################
|
---|
882 | # Ger PileUp Missing ET
|
---|
883 | ###################
|
---|
884 |
|
---|
885 | module Merger GenPileUpMissingET {
|
---|
886 | # add InputArray InputArray
|
---|
887 | # add InputArray RunPUPPI/PuppiParticles
|
---|
888 | add InputArray ParticlePropagator/stableParticles
|
---|
889 | set MomentumOutputArray momentum
|
---|
890 | }
|
---|
891 |
|
---|
892 | ##################
|
---|
893 | # Scalar HT merger
|
---|
894 | ##################
|
---|
895 |
|
---|
896 | module Merger ScalarHT {
|
---|
897 | # add InputArray InputArray
|
---|
898 | add InputArray RunPUPPI/PuppiParticles
|
---|
899 | set EnergyOutputArray energy
|
---|
900 | }
|
---|
901 |
|
---|
902 | #################
|
---|
903 | # Neutrino Filter
|
---|
904 | #################
|
---|
905 |
|
---|
906 | module PdgCodeFilter NeutrinoFilter {
|
---|
907 |
|
---|
908 | set InputArray Delphes/stableParticles
|
---|
909 | set OutputArray filteredParticles
|
---|
910 |
|
---|
911 | set PTMin 0.0
|
---|
912 |
|
---|
913 | add PdgCode {12}
|
---|
914 | add PdgCode {14}
|
---|
915 | add PdgCode {16}
|
---|
916 | add PdgCode {-12}
|
---|
917 | add PdgCode {-14}
|
---|
918 | add PdgCode {-16}
|
---|
919 |
|
---|
920 | }
|
---|
921 |
|
---|
922 | #####################
|
---|
923 | # MC truth jet finder
|
---|
924 | #####################
|
---|
925 |
|
---|
926 | module FastJetFinder GenJetFinder {
|
---|
927 | set InputArray NeutrinoFilter/filteredParticles
|
---|
928 |
|
---|
929 | set OutputArray jets
|
---|
930 |
|
---|
931 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
932 | set JetAlgorithm 6
|
---|
933 | set ParameterR 0.4
|
---|
934 |
|
---|
935 | set JetPTMin 15.0
|
---|
936 | }
|
---|
937 |
|
---|
938 | module FastJetFinder GenJetFinderAK8 {
|
---|
939 | set InputArray NeutrinoFilter/filteredParticles
|
---|
940 |
|
---|
941 | set OutputArray jetsAK8
|
---|
942 |
|
---|
943 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
944 | set JetAlgorithm 6
|
---|
945 | set ParameterR 0.8
|
---|
946 |
|
---|
947 | set JetPTMin 200.0
|
---|
948 | }
|
---|
949 |
|
---|
950 | #########################
|
---|
951 | # Gen Missing ET merger
|
---|
952 | ########################
|
---|
953 |
|
---|
954 | module Merger GenMissingET {
|
---|
955 |
|
---|
956 | # add InputArray InputArray
|
---|
957 | add InputArray NeutrinoFilter/filteredParticles
|
---|
958 | set MomentumOutputArray momentum
|
---|
959 | }
|
---|
960 |
|
---|
961 |
|
---|
962 | #############
|
---|
963 | # Rho pile-up
|
---|
964 | #############
|
---|
965 |
|
---|
966 | module FastJetGridMedianEstimator Rho {
|
---|
967 |
|
---|
968 | set InputArray EFlowMergerCHS/eflow
|
---|
969 | set RhoOutputArray rho
|
---|
970 |
|
---|
971 | # add GridRange rapmin rapmax drap dphi
|
---|
972 | # rapmin - the minimum rapidity extent of the grid
|
---|
973 | # rapmax - the maximum rapidity extent of the grid
|
---|
974 | # drap - the grid spacing in rapidity
|
---|
975 | # dphi - the grid spacing in azimuth
|
---|
976 |
|
---|
977 | add GridRange -5.0 -4.0 1.0 1.0
|
---|
978 | add GridRange -4.0 -1.5 1.0 1.0
|
---|
979 | add GridRange -1.5 1.5 1.0 1.0
|
---|
980 | add GridRange 1.5 4.0 1.0 1.0
|
---|
981 | add GridRange 4.0 5.0 1.0 1.0
|
---|
982 |
|
---|
983 | }
|
---|
984 |
|
---|
985 |
|
---|
986 | ##############
|
---|
987 | # Jet finder
|
---|
988 | ##############
|
---|
989 |
|
---|
990 | module FastJetFinder FastJetFinder {
|
---|
991 | # set InputArray TowerMerger/towers
|
---|
992 | set InputArray EFlowMergerCHS/eflow
|
---|
993 |
|
---|
994 | set OutputArray jets
|
---|
995 |
|
---|
996 | set AreaAlgorithm 5
|
---|
997 |
|
---|
998 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
999 | set JetAlgorithm 6
|
---|
1000 | set ParameterR 0.4
|
---|
1001 |
|
---|
1002 | set JetPTMin 15.0
|
---|
1003 | }
|
---|
1004 |
|
---|
1005 | #module Class Name
|
---|
1006 | module FastJetFinder FastJetFinderAK8 {
|
---|
1007 | # set InputArray TowerMerger/towers
|
---|
1008 | set InputArray EFlowMergerCHS/eflow
|
---|
1009 |
|
---|
1010 | set OutputArray jets
|
---|
1011 |
|
---|
1012 | set AreaAlgorithm 5
|
---|
1013 |
|
---|
1014 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
1015 | set JetAlgorithm 6
|
---|
1016 | set ParameterR 0.8
|
---|
1017 |
|
---|
1018 | set ComputeNsubjettiness 1
|
---|
1019 | set Beta 1.0
|
---|
1020 | set AxisMode 4
|
---|
1021 |
|
---|
1022 | set ComputeTrimming 1
|
---|
1023 | set RTrim 0.2
|
---|
1024 | set PtFracTrim 0.05
|
---|
1025 |
|
---|
1026 | set ComputePruning 1
|
---|
1027 | set ZcutPrun 0.1
|
---|
1028 | set RcutPrun 0.5
|
---|
1029 | set RPrun 0.8
|
---|
1030 |
|
---|
1031 | set ComputeSoftDrop 1
|
---|
1032 | set BetaSoftDrop 0.0
|
---|
1033 | set SymmetryCutSoftDrop 0.1
|
---|
1034 | set R0SoftDrop 0.8
|
---|
1035 |
|
---|
1036 | set JetPTMin 200.0
|
---|
1037 | }
|
---|
1038 |
|
---|
1039 | ###########################
|
---|
1040 | # Jet Pile-Up Subtraction
|
---|
1041 | ###########################
|
---|
1042 |
|
---|
1043 | module JetPileUpSubtractor JetPileUpSubtractor {
|
---|
1044 | set JetInputArray FastJetFinder/jets
|
---|
1045 | set RhoInputArray Rho/rho
|
---|
1046 |
|
---|
1047 | set OutputArray jets
|
---|
1048 |
|
---|
1049 | set JetPTMin 15.0
|
---|
1050 | }
|
---|
1051 |
|
---|
1052 | ##############################
|
---|
1053 | # Jet Pile-Up Subtraction AK8
|
---|
1054 | ##############################
|
---|
1055 |
|
---|
1056 | module JetPileUpSubtractor JetPileUpSubtractorAK8 {
|
---|
1057 | set JetInputArray FastJetFinderAK8/jets
|
---|
1058 | set RhoInputArray Rho/rho
|
---|
1059 |
|
---|
1060 | set OutputArray jets
|
---|
1061 |
|
---|
1062 | set JetPTMin 15.0
|
---|
1063 | }
|
---|
1064 |
|
---|
1065 | module FastJetFinder FastJetFinderPUPPI {
|
---|
1066 | # set InputArray TowerMerger/towers
|
---|
1067 | set InputArray RunPUPPI/PuppiParticles
|
---|
1068 |
|
---|
1069 | set OutputArray jets
|
---|
1070 |
|
---|
1071 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
1072 | set JetAlgorithm 6
|
---|
1073 | set ParameterR 0.4
|
---|
1074 |
|
---|
1075 | set JetPTMin 15.0
|
---|
1076 | }
|
---|
1077 |
|
---|
1078 |
|
---|
1079 | module FastJetFinder FastJetFinderPUPPIAK8 {
|
---|
1080 | # set InputArray TowerMerger/towers
|
---|
1081 | set InputArray RunPUPPI/PuppiParticles
|
---|
1082 |
|
---|
1083 | set OutputArray jets
|
---|
1084 |
|
---|
1085 | set JetAlgorithm 6
|
---|
1086 | set ParameterR 0.8
|
---|
1087 |
|
---|
1088 | set ComputeNsubjettiness 1
|
---|
1089 | set Beta 1.0
|
---|
1090 | set AxisMode 4
|
---|
1091 |
|
---|
1092 | set ComputeTrimming 1
|
---|
1093 | set RTrim 0.2
|
---|
1094 | set PtFracTrim 0.05
|
---|
1095 |
|
---|
1096 | set ComputePruning 1
|
---|
1097 | set ZcutPrun 0.1
|
---|
1098 | set RcutPrun 0.5
|
---|
1099 | set RPrun 0.8
|
---|
1100 |
|
---|
1101 | set ComputeSoftDrop 1
|
---|
1102 | set BetaSoftDrop 0.0
|
---|
1103 | set SymmetryCutSoftDrop 0.1
|
---|
1104 | set R0SoftDrop 0.8
|
---|
1105 |
|
---|
1106 | set JetPTMin 200.0
|
---|
1107 | }
|
---|
1108 |
|
---|
1109 | ##################
|
---|
1110 | # Jet Energy Scale
|
---|
1111 | ##################
|
---|
1112 |
|
---|
1113 | module EnergyScale JetEnergyScale {
|
---|
1114 | set InputArray JetPileUpSubtractor/jets
|
---|
1115 | set OutputArray jets
|
---|
1116 |
|
---|
1117 | # scale formula for jets
|
---|
1118 | set ScaleFormula {1.00}
|
---|
1119 | }
|
---|
1120 |
|
---|
1121 | module EnergyScale JetEnergyScaleAK8 {
|
---|
1122 | set InputArray JetPileUpSubtractorAK8/jets
|
---|
1123 | set OutputArray jets
|
---|
1124 |
|
---|
1125 | # scale formula for jets
|
---|
1126 | set ScaleFormula {1.00}
|
---|
1127 | }
|
---|
1128 |
|
---|
1129 | module EnergyScale JetEnergyScalePUPPI {
|
---|
1130 | set InputArray FastJetFinderPUPPI/jets
|
---|
1131 | set OutputArray jets
|
---|
1132 |
|
---|
1133 | # scale formula for jets
|
---|
1134 | set ScaleFormula {1.00}
|
---|
1135 | }
|
---|
1136 |
|
---|
1137 | module EnergyScale JetEnergyScalePUPPIAK8 {
|
---|
1138 | set InputArray FastJetFinderPUPPIAK8/jets
|
---|
1139 | set OutputArray jets
|
---|
1140 |
|
---|
1141 | # scale formula for jets
|
---|
1142 | set ScaleFormula {1.00}
|
---|
1143 | }
|
---|
1144 |
|
---|
1145 | #################
|
---|
1146 | # Photon filter
|
---|
1147 | #################
|
---|
1148 |
|
---|
1149 | module PdgCodeFilter PhotonFilter {
|
---|
1150 | set InputArray PhotonEnergySmearing/eflowPhotons
|
---|
1151 | set OutputArray photons
|
---|
1152 | set Invert true
|
---|
1153 | set PTMin 5.0
|
---|
1154 | add PdgCode {22}
|
---|
1155 | }
|
---|
1156 |
|
---|
1157 |
|
---|
1158 | ##################
|
---|
1159 | # Muon cloner #
|
---|
1160 | ##################
|
---|
1161 |
|
---|
1162 | module Cloner MuonCloner {
|
---|
1163 | set InputArray MuonMomentumSmearing/muons
|
---|
1164 | set OutputArray muons
|
---|
1165 | }
|
---|
1166 |
|
---|
1167 | ####################
|
---|
1168 | # Electron cloner #
|
---|
1169 | ####################
|
---|
1170 |
|
---|
1171 | module Cloner ElectronCloner {
|
---|
1172 | set InputArray ElectronFilter/electrons
|
---|
1173 | set OutputArray electrons
|
---|
1174 | }
|
---|
1175 |
|
---|
1176 | ##################
|
---|
1177 | # Photon cloner #
|
---|
1178 | ##################
|
---|
1179 |
|
---|
1180 | module Cloner PhotonCloner {
|
---|
1181 | set InputArray PhotonFilter/photons
|
---|
1182 | set OutputArray photons
|
---|
1183 | }
|
---|
1184 |
|
---|
1185 |
|
---|
1186 | ####################
|
---|
1187 | # Photon isolation #
|
---|
1188 | ####################
|
---|
1189 |
|
---|
1190 | module Isolation PhotonIsolation {
|
---|
1191 |
|
---|
1192 | # particle for which calculate the isolation
|
---|
1193 | set CandidateInputArray PhotonFilter/photons
|
---|
1194 |
|
---|
1195 | # isolation collection
|
---|
1196 | set IsolationInputArray EFlowFilterPuppi/eflow
|
---|
1197 |
|
---|
1198 | # output array
|
---|
1199 | set OutputArray photons
|
---|
1200 |
|
---|
1201 | # veto isolation cand. based on proximity to input cand.
|
---|
1202 | set DeltaRMin 0.01
|
---|
1203 | set UseMiniCone true
|
---|
1204 |
|
---|
1205 | # isolation cone
|
---|
1206 | set DeltaRMax 0.3
|
---|
1207 |
|
---|
1208 | # minimum pT
|
---|
1209 | set PTMin 1.0
|
---|
1210 |
|
---|
1211 | # iso ratio to cut
|
---|
1212 | set PTRatioMax 9999.
|
---|
1213 |
|
---|
1214 | }
|
---|
1215 |
|
---|
1216 |
|
---|
1217 | ########################
|
---|
1218 | # Photon isolation CHS #
|
---|
1219 | ########################
|
---|
1220 |
|
---|
1221 | module Isolation PhotonIsolationCHS {
|
---|
1222 |
|
---|
1223 | # particle for which calculate the isolation
|
---|
1224 | set CandidateInputArray PhotonCloner/photons
|
---|
1225 |
|
---|
1226 | # isolation collection
|
---|
1227 | set IsolationInputArray EFlowFilterCHS/eflow
|
---|
1228 |
|
---|
1229 | # output array
|
---|
1230 | set OutputArray photons
|
---|
1231 |
|
---|
1232 | # isolation cone
|
---|
1233 | set DeltaRMax 0.3
|
---|
1234 |
|
---|
1235 | # minimum pT
|
---|
1236 | set PTMin 1.0
|
---|
1237 |
|
---|
1238 | # iso ratio to cut
|
---|
1239 | set PTRatioMax 9999.
|
---|
1240 |
|
---|
1241 | }
|
---|
1242 |
|
---|
1243 |
|
---|
1244 | #####################
|
---|
1245 | # Photon efficiency #
|
---|
1246 | #####################
|
---|
1247 |
|
---|
1248 | module Efficiency PhotonEfficiency {
|
---|
1249 |
|
---|
1250 | ## input particles
|
---|
1251 | set InputArray PhotonIsolation/photons
|
---|
1252 | ## output particles
|
---|
1253 | set OutputArray photons
|
---|
1254 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1255 | # efficiency formula for photons
|
---|
1256 | set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
|
---|
1257 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.9635) + \
|
---|
1258 | (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.9624) + \
|
---|
1259 | (abs(eta) > 4.0) * (0.00)}
|
---|
1260 |
|
---|
1261 | }
|
---|
1262 |
|
---|
1263 |
|
---|
1264 | #####################
|
---|
1265 | # Photon efficiency #
|
---|
1266 | #####################
|
---|
1267 |
|
---|
1268 | module Efficiency PhotonEfficiencyCHS {
|
---|
1269 |
|
---|
1270 | ## input particles
|
---|
1271 | set InputArray PhotonIsolationCHS/photons
|
---|
1272 | ## output particles
|
---|
1273 | set OutputArray photons
|
---|
1274 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1275 | # efficiency formula for photons
|
---|
1276 | set EfficiencyFormula { (pt <= 10.0) * (0.00) + \
|
---|
1277 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.9635) + \
|
---|
1278 | (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.9624) + \
|
---|
1279 | (abs(eta) > 4.0) * (0.00)}
|
---|
1280 |
|
---|
1281 | }
|
---|
1282 |
|
---|
1283 | ######################
|
---|
1284 | # Electron isolation #
|
---|
1285 | ######################
|
---|
1286 |
|
---|
1287 | module Isolation ElectronIsolation {
|
---|
1288 |
|
---|
1289 | set CandidateInputArray ElectronFilter/electrons
|
---|
1290 |
|
---|
1291 | # isolation collection
|
---|
1292 | set IsolationInputArray EFlowFilterPuppi/eflow
|
---|
1293 |
|
---|
1294 | set OutputArray electrons
|
---|
1295 |
|
---|
1296 | set DeltaRMax 0.3
|
---|
1297 | set PTMin 1.0
|
---|
1298 | set PTRatioMax 9999.
|
---|
1299 |
|
---|
1300 | }
|
---|
1301 |
|
---|
1302 |
|
---|
1303 | ##########################
|
---|
1304 | # Electron isolation CHS #
|
---|
1305 | ##########################
|
---|
1306 |
|
---|
1307 | module Isolation ElectronIsolationCHS {
|
---|
1308 |
|
---|
1309 | set CandidateInputArray ElectronCloner/electrons
|
---|
1310 |
|
---|
1311 | # isolation collection
|
---|
1312 | set IsolationInputArray EFlowFilterCHS/eflow
|
---|
1313 |
|
---|
1314 | set OutputArray electrons
|
---|
1315 |
|
---|
1316 | # veto isolation cand. based on proximity to input cand.
|
---|
1317 | set DeltaRMin 0.01
|
---|
1318 | set UseMiniCone true
|
---|
1319 |
|
---|
1320 | set DeltaRMax 0.3
|
---|
1321 | set PTMin 1.0
|
---|
1322 | set PTRatioMax 9999.
|
---|
1323 |
|
---|
1324 | }
|
---|
1325 |
|
---|
1326 |
|
---|
1327 | #######################
|
---|
1328 | # Electron efficiency #
|
---|
1329 | #######################
|
---|
1330 |
|
---|
1331 | module Efficiency ElectronEfficiency {
|
---|
1332 |
|
---|
1333 | set InputArray ElectronIsolation/electrons
|
---|
1334 | set OutputArray electrons
|
---|
1335 |
|
---|
1336 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1337 | # efficiency formula for electrons
|
---|
1338 | set EfficiencyFormula {
|
---|
1339 | (pt <= 4.0) * (0.00) + \
|
---|
1340 | (abs(eta) <= 1.45 ) * (pt > 4.0 && pt <= 6.0) * (0.50) + \
|
---|
1341 | (abs(eta) <= 1.45 ) * (pt > 6.0 && pt <= 8.0) * (0.70) + \
|
---|
1342 | (abs(eta) <= 1.45 ) * (pt > 8.0 && pt <= 10.0) * (0.85) + \
|
---|
1343 | (abs(eta) <= 1.45 ) * (pt > 10.0 && pt <= 30.0) * (0.94) + \
|
---|
1344 | (abs(eta) <= 1.45 ) * (pt > 30.0 && pt <= 50.0) * (0.97) + \
|
---|
1345 | (abs(eta) <= 1.45 ) * (pt > 50.0 && pt <= 70.0) * (0.98) + \
|
---|
1346 | (abs(eta) <= 1.45 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1347 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 4.0 && pt <= 10.0) * (0.35) + \
|
---|
1348 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 10.0 && pt <= 30.0) * (0.40) + \
|
---|
1349 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 30.0 && pt <= 70.0) * (0.45) + \
|
---|
1350 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 70.0 ) * (0.55) + \
|
---|
1351 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 4.0 && pt <= 10.0) * (0.75) + \
|
---|
1352 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 10.0 && pt <= 30.0) * (0.85) + \
|
---|
1353 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 30.0 && pt <= 50.0) * (0.95) + \
|
---|
1354 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 50.0 && pt <= 70.0) * (0.95) + \
|
---|
1355 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1356 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1357 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1358 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1359 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1360 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1361 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1362 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1363 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1364 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1365 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1366 | (abs(eta) > 4.0) * (0.00)
|
---|
1367 |
|
---|
1368 | }
|
---|
1369 | }
|
---|
1370 |
|
---|
1371 | ###########################
|
---|
1372 | # Electron efficiency CHS #
|
---|
1373 | ###########################
|
---|
1374 |
|
---|
1375 | module Efficiency ElectronEfficiencyCHS {
|
---|
1376 |
|
---|
1377 | set InputArray ElectronIsolationCHS/electrons
|
---|
1378 | set OutputArray electrons
|
---|
1379 |
|
---|
1380 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
1381 | # efficiency formula for electrons
|
---|
1382 | set EfficiencyFormula {
|
---|
1383 | (pt <= 4.0) * (0.00) + \
|
---|
1384 | (abs(eta) <= 1.45 ) * (pt > 4.0 && pt <= 6.0) * (0.50) + \
|
---|
1385 | (abs(eta) <= 1.45 ) * (pt > 6.0 && pt <= 8.0) * (0.70) + \
|
---|
1386 | (abs(eta) <= 1.45 ) * (pt > 8.0 && pt <= 10.0) * (0.85) + \
|
---|
1387 | (abs(eta) <= 1.45 ) * (pt > 10.0 && pt <= 30.0) * (0.94) + \
|
---|
1388 | (abs(eta) <= 1.45 ) * (pt > 30.0 && pt <= 50.0) * (0.97) + \
|
---|
1389 | (abs(eta) <= 1.45 ) * (pt > 50.0 && pt <= 70.0) * (0.98) + \
|
---|
1390 | (abs(eta) <= 1.45 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1391 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 4.0 && pt <= 10.0) * (0.35) + \
|
---|
1392 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 10.0 && pt <= 30.0) * (0.40) + \
|
---|
1393 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 30.0 && pt <= 70.0) * (0.45) + \
|
---|
1394 | (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 70.0 ) * (0.55) + \
|
---|
1395 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 4.0 && pt <= 10.0) * (0.75) + \
|
---|
1396 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 10.0 && pt <= 30.0) * (0.85) + \
|
---|
1397 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 30.0 && pt <= 50.0) * (0.95) + \
|
---|
1398 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 50.0 && pt <= 70.0) * (0.95) + \
|
---|
1399 | (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 70.0 ) * (1.0) + \
|
---|
1400 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1401 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1402 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1403 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1404 | (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1405 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \
|
---|
1406 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \
|
---|
1407 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \
|
---|
1408 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \
|
---|
1409 | (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 70.0 ) * (0.90) + \
|
---|
1410 | (abs(eta) > 4.0) * (0.00)
|
---|
1411 |
|
---|
1412 | }
|
---|
1413 | }
|
---|
1414 |
|
---|
1415 |
|
---|
1416 |
|
---|
1417 | ##################
|
---|
1418 | # Muon isolation #
|
---|
1419 | ##################
|
---|
1420 |
|
---|
1421 | module Isolation MuonIsolation {
|
---|
1422 | set CandidateInputArray MuonMomentumSmearing/muons
|
---|
1423 |
|
---|
1424 | # isolation collection
|
---|
1425 | set IsolationInputArray EFlowFilterPuppi/eflow
|
---|
1426 |
|
---|
1427 | set OutputArray muons
|
---|
1428 |
|
---|
1429 | set DeltaRMax 0.3
|
---|
1430 | set PTMin 1.0
|
---|
1431 | set PTRatioMax 9999.
|
---|
1432 |
|
---|
1433 | }
|
---|
1434 |
|
---|
1435 | ######################
|
---|
1436 | # Muon isolation CHS #
|
---|
1437 | ######################
|
---|
1438 |
|
---|
1439 | module Isolation MuonIsolationCHS {
|
---|
1440 | set CandidateInputArray MuonCloner/muons
|
---|
1441 |
|
---|
1442 | # isolation collection
|
---|
1443 | set IsolationInputArray EFlowFilterCHS/eflow
|
---|
1444 |
|
---|
1445 | set OutputArray muons
|
---|
1446 |
|
---|
1447 |
|
---|
1448 | # veto isolation cand. based on proximity to input cand.
|
---|
1449 | set DeltaRMin 0.01
|
---|
1450 | set UseMiniCone true
|
---|
1451 |
|
---|
1452 | set DeltaRMax 0.3
|
---|
1453 | set PTMin 1.0
|
---|
1454 | set PTRatioMax 9999.
|
---|
1455 |
|
---|
1456 | }
|
---|
1457 |
|
---|
1458 |
|
---|
1459 | #####################
|
---|
1460 | # Muon Loose Id #
|
---|
1461 | #####################
|
---|
1462 |
|
---|
1463 | module Efficiency MuonLooseIdEfficiency {
|
---|
1464 | set InputArray MuonIsolation/muons
|
---|
1465 | set OutputArray muons
|
---|
1466 | # tracking + LooseID efficiency formula for muons
|
---|
1467 | source muonLooseId.tcl
|
---|
1468 |
|
---|
1469 | }
|
---|
1470 |
|
---|
1471 |
|
---|
1472 | ##################
|
---|
1473 | # Muon Tight Id #
|
---|
1474 | ##################
|
---|
1475 |
|
---|
1476 | module Efficiency MuonTightIdEfficiency {
|
---|
1477 | set InputArray MuonIsolation/muons
|
---|
1478 | set OutputArray muons
|
---|
1479 | # tracking + TightID efficiency formula for muons
|
---|
1480 | source muonTightId.tcl
|
---|
1481 | }
|
---|
1482 |
|
---|
1483 |
|
---|
1484 | #####################
|
---|
1485 | # Muon Loose Id CHS #
|
---|
1486 | #####################
|
---|
1487 |
|
---|
1488 | module Efficiency MuonLooseIdEfficiencyCHS {
|
---|
1489 | set InputArray MuonIsolationCHS/muons
|
---|
1490 | set OutputArray muons
|
---|
1491 | # tracking + LooseID efficiency formula for muons
|
---|
1492 | source muonLooseId.tcl
|
---|
1493 |
|
---|
1494 | }
|
---|
1495 |
|
---|
1496 |
|
---|
1497 | ######################
|
---|
1498 | # Muon Tight Id CHS #
|
---|
1499 | ######################
|
---|
1500 |
|
---|
1501 | module Efficiency MuonTightIdEfficiencyCHS {
|
---|
1502 | set InputArray MuonIsolationCHS/muons
|
---|
1503 | set OutputArray muons
|
---|
1504 | # tracking + TightID efficiency formula for muons
|
---|
1505 | source muonTightId.tcl
|
---|
1506 | }
|
---|
1507 |
|
---|
1508 |
|
---|
1509 | ########################
|
---|
1510 | # Jet Flavor Association
|
---|
1511 | ########################
|
---|
1512 |
|
---|
1513 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
1514 |
|
---|
1515 | set PartonInputArray Delphes/partons
|
---|
1516 | set ParticleInputArray Delphes/allParticles
|
---|
1517 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1518 | set JetInputArray JetEnergyScale/jets
|
---|
1519 |
|
---|
1520 | set DeltaR 0.5
|
---|
1521 | set PartonPTMin 10.0
|
---|
1522 | set PartonEtaMax 4.0
|
---|
1523 |
|
---|
1524 | }
|
---|
1525 |
|
---|
1526 | module JetFlavorAssociation JetFlavorAssociationAK8 {
|
---|
1527 |
|
---|
1528 | set PartonInputArray Delphes/partons
|
---|
1529 | set ParticleInputArray Delphes/allParticles
|
---|
1530 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1531 | set JetInputArray JetEnergyScaleAK8/jets
|
---|
1532 |
|
---|
1533 | set DeltaR 0.8
|
---|
1534 | set PartonPTMin 100.0
|
---|
1535 | set PartonEtaMax 4.0
|
---|
1536 |
|
---|
1537 | }
|
---|
1538 |
|
---|
1539 | module JetFlavorAssociation JetFlavorAssociationPUPPI {
|
---|
1540 |
|
---|
1541 | set PartonInputArray Delphes/partons
|
---|
1542 | set ParticleInputArray Delphes/allParticles
|
---|
1543 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1544 | set JetInputArray JetEnergyScalePUPPI/jets
|
---|
1545 |
|
---|
1546 | set DeltaR 0.5
|
---|
1547 | set PartonPTMin 10.0
|
---|
1548 | set PartonEtaMax 4.0
|
---|
1549 |
|
---|
1550 | }
|
---|
1551 |
|
---|
1552 | module JetFlavorAssociation JetFlavorAssociationPUPPIAK8 {
|
---|
1553 |
|
---|
1554 | set PartonInputArray Delphes/partons
|
---|
1555 | set ParticleInputArray Delphes/allParticles
|
---|
1556 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
1557 | set JetInputArray JetEnergyScalePUPPIAK8/jets
|
---|
1558 |
|
---|
1559 | set DeltaR 0.8
|
---|
1560 | set PartonPTMin 100.0
|
---|
1561 | set PartonEtaMax 4.0
|
---|
1562 |
|
---|
1563 | }
|
---|
1564 |
|
---|
1565 |
|
---|
1566 | #############
|
---|
1567 | # b-tagging #
|
---|
1568 | #############
|
---|
1569 | module BTagging BTagging {
|
---|
1570 |
|
---|
1571 | set JetInputArray JetEnergyScale/jets
|
---|
1572 | set BitNumber 0
|
---|
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.72) +
|
---|
1577 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.77) +
|
---|
1578 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.79) +
|
---|
1579 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.80) +
|
---|
1580 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.80) +
|
---|
1581 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.79) +
|
---|
1582 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.78) +
|
---|
1583 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.77) +
|
---|
1584 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.77) +
|
---|
1585 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.75) +
|
---|
1586 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.73) +
|
---|
1587 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.71) +
|
---|
1588 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.70) +
|
---|
1589 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.67) +
|
---|
1590 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.65) +
|
---|
1591 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.61) +
|
---|
1592 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.57) +
|
---|
1593 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.52) +
|
---|
1594 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.45) +
|
---|
1595 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.39) +
|
---|
1596 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.33) +
|
---|
1597 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.27) +
|
---|
1598 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.22) +
|
---|
1599 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.13) +
|
---|
1600 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.15) +
|
---|
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.58) +
|
---|
1603 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.61) +
|
---|
1604 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.64) +
|
---|
1605 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.64) +
|
---|
1606 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.65) +
|
---|
1607 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.64) +
|
---|
1608 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.63) +
|
---|
1609 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.63) +
|
---|
1610 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.63) +
|
---|
1611 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.61) +
|
---|
1612 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.60) +
|
---|
1613 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.58) +
|
---|
1614 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.56) +
|
---|
1615 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.54) +
|
---|
1616 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.50) +
|
---|
1617 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.47) +
|
---|
1618 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.45) +
|
---|
1619 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.39) +
|
---|
1620 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.36) +
|
---|
1621 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.35) +
|
---|
1622 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.30) +
|
---|
1623 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.28) +
|
---|
1624 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.13) +
|
---|
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.38) +
|
---|
1629 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.44) +
|
---|
1630 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.49) +
|
---|
1631 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.49) +
|
---|
1632 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.48) +
|
---|
1633 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.50) +
|
---|
1634 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.48) +
|
---|
1635 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.46) +
|
---|
1636 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.49) +
|
---|
1637 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.48) +
|
---|
1638 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.46) +
|
---|
1639 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.44) +
|
---|
1640 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.41) +
|
---|
1641 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.35) +
|
---|
1642 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.35) +
|
---|
1643 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.25) +
|
---|
1644 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.24) +
|
---|
1645 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.32) +
|
---|
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.24) +
|
---|
1658 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.26) +
|
---|
1659 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.27) +
|
---|
1660 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.27) +
|
---|
1661 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.26) +
|
---|
1662 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.25) +
|
---|
1663 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.24) +
|
---|
1664 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.23) +
|
---|
1665 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.22) +
|
---|
1666 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.20) +
|
---|
1667 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.19) +
|
---|
1668 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.18) +
|
---|
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.14) +
|
---|
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.11) +
|
---|
1674 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
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.03) +
|
---|
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.11) +
|
---|
1684 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.11) +
|
---|
1685 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.11) +
|
---|
1686 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.11) +
|
---|
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.12) +
|
---|
1689 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.12) +
|
---|
1690 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
1691 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.12) +
|
---|
1692 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.13) +
|
---|
1693 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.13) +
|
---|
1694 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.13) +
|
---|
1695 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.12) +
|
---|
1696 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.13) +
|
---|
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.10) +
|
---|
1701 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.08) +
|
---|
1702 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.08) +
|
---|
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.04) +
|
---|
1705 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.05) +
|
---|
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.08) +
|
---|
1710 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.09) +
|
---|
1711 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
1712 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.10) +
|
---|
1713 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.10) +
|
---|
1714 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.10) +
|
---|
1715 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.11) +
|
---|
1716 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
1717 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.11) +
|
---|
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.11) +
|
---|
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.08) +
|
---|
1723 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.09) +
|
---|
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.08) +
|
---|
1726 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.04) +
|
---|
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 | module BTagging BTaggingAK8 {
|
---|
1741 |
|
---|
1742 | set JetInputArray JetEnergyScaleAK8/jets
|
---|
1743 | set BitNumber 0
|
---|
1744 | add EfficiencyFormula {0} {0.001}
|
---|
1745 |
|
---|
1746 | add EfficiencyFormula {5} {
|
---|
1747 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.72) +
|
---|
1748 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.77) +
|
---|
1749 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.79) +
|
---|
1750 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.80) +
|
---|
1751 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.80) +
|
---|
1752 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.79) +
|
---|
1753 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.78) +
|
---|
1754 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.77) +
|
---|
1755 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.77) +
|
---|
1756 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.75) +
|
---|
1757 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.73) +
|
---|
1758 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.71) +
|
---|
1759 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.70) +
|
---|
1760 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.67) +
|
---|
1761 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.65) +
|
---|
1762 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.61) +
|
---|
1763 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.57) +
|
---|
1764 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.52) +
|
---|
1765 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.45) +
|
---|
1766 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.39) +
|
---|
1767 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.33) +
|
---|
1768 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.27) +
|
---|
1769 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.22) +
|
---|
1770 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.13) +
|
---|
1771 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.15) +
|
---|
1772 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1773 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.58) +
|
---|
1774 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.61) +
|
---|
1775 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.64) +
|
---|
1776 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.64) +
|
---|
1777 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.65) +
|
---|
1778 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.64) +
|
---|
1779 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.63) +
|
---|
1780 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.63) +
|
---|
1781 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.63) +
|
---|
1782 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.61) +
|
---|
1783 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.60) +
|
---|
1784 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.58) +
|
---|
1785 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.56) +
|
---|
1786 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.54) +
|
---|
1787 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.50) +
|
---|
1788 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.47) +
|
---|
1789 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.45) +
|
---|
1790 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.39) +
|
---|
1791 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.36) +
|
---|
1792 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.35) +
|
---|
1793 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.30) +
|
---|
1794 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.28) +
|
---|
1795 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.13) +
|
---|
1796 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1797 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1798 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1799 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.38) +
|
---|
1800 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.44) +
|
---|
1801 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.49) +
|
---|
1802 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.49) +
|
---|
1803 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.48) +
|
---|
1804 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.50) +
|
---|
1805 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.48) +
|
---|
1806 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.46) +
|
---|
1807 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.49) +
|
---|
1808 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.48) +
|
---|
1809 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.46) +
|
---|
1810 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.44) +
|
---|
1811 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.41) +
|
---|
1812 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.35) +
|
---|
1813 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.35) +
|
---|
1814 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.25) +
|
---|
1815 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.24) +
|
---|
1816 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.32) +
|
---|
1817 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1818 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1819 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1820 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1821 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1822 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1823 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1824 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1825 | }
|
---|
1826 |
|
---|
1827 | add EfficiencyFormula {4} {
|
---|
1828 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.24) +
|
---|
1829 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.26) +
|
---|
1830 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.27) +
|
---|
1831 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.27) +
|
---|
1832 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.26) +
|
---|
1833 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.25) +
|
---|
1834 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.24) +
|
---|
1835 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.23) +
|
---|
1836 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.22) +
|
---|
1837 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.20) +
|
---|
1838 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.19) +
|
---|
1839 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.18) +
|
---|
1840 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
1841 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
1842 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.14) +
|
---|
1843 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1844 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
1845 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
1846 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
1847 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
1848 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
1849 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
1850 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
1851 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
1852 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.03) +
|
---|
1853 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1854 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.11) +
|
---|
1855 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.11) +
|
---|
1856 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.11) +
|
---|
1857 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.11) +
|
---|
1858 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
1859 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.12) +
|
---|
1860 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.12) +
|
---|
1861 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
1862 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.12) +
|
---|
1863 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.13) +
|
---|
1864 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.13) +
|
---|
1865 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.13) +
|
---|
1866 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.12) +
|
---|
1867 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.13) +
|
---|
1868 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
1869 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
1870 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
1871 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.10) +
|
---|
1872 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.08) +
|
---|
1873 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.08) +
|
---|
1874 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
1875 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
1876 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.05) +
|
---|
1877 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1878 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1879 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1880 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
1881 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.09) +
|
---|
1882 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
1883 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.10) +
|
---|
1884 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.10) +
|
---|
1885 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.10) +
|
---|
1886 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.11) +
|
---|
1887 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
1888 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.11) +
|
---|
1889 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
1890 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
1891 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.11) +
|
---|
1892 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
1893 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.08) +
|
---|
1894 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.09) +
|
---|
1895 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
1896 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.08) +
|
---|
1897 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.04) +
|
---|
1898 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1899 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1900 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1901 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1902 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1903 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1904 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1905 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1906 | }
|
---|
1907 |
|
---|
1908 | }
|
---|
1909 |
|
---|
1910 | module BTagging BTaggingPUPPI {
|
---|
1911 |
|
---|
1912 | set JetInputArray JetEnergyScalePUPPI/jets
|
---|
1913 | set BitNumber 0
|
---|
1914 | add EfficiencyFormula {0} {0.001}
|
---|
1915 |
|
---|
1916 | add EfficiencyFormula {5} {
|
---|
1917 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.72) +
|
---|
1918 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.77) +
|
---|
1919 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.79) +
|
---|
1920 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.80) +
|
---|
1921 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.80) +
|
---|
1922 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.79) +
|
---|
1923 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.78) +
|
---|
1924 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.77) +
|
---|
1925 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.77) +
|
---|
1926 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.75) +
|
---|
1927 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.73) +
|
---|
1928 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.71) +
|
---|
1929 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.70) +
|
---|
1930 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.67) +
|
---|
1931 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.65) +
|
---|
1932 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.61) +
|
---|
1933 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.57) +
|
---|
1934 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.52) +
|
---|
1935 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.45) +
|
---|
1936 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.39) +
|
---|
1937 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.33) +
|
---|
1938 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.27) +
|
---|
1939 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.22) +
|
---|
1940 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.13) +
|
---|
1941 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.15) +
|
---|
1942 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
1943 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.58) +
|
---|
1944 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.61) +
|
---|
1945 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.64) +
|
---|
1946 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.64) +
|
---|
1947 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.65) +
|
---|
1948 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.64) +
|
---|
1949 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.63) +
|
---|
1950 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.63) +
|
---|
1951 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.63) +
|
---|
1952 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.61) +
|
---|
1953 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.60) +
|
---|
1954 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.58) +
|
---|
1955 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.56) +
|
---|
1956 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.54) +
|
---|
1957 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.50) +
|
---|
1958 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.47) +
|
---|
1959 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.45) +
|
---|
1960 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.39) +
|
---|
1961 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.36) +
|
---|
1962 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.35) +
|
---|
1963 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.30) +
|
---|
1964 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.28) +
|
---|
1965 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.13) +
|
---|
1966 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1967 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1968 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
1969 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.38) +
|
---|
1970 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.44) +
|
---|
1971 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.49) +
|
---|
1972 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.49) +
|
---|
1973 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.48) +
|
---|
1974 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.50) +
|
---|
1975 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.48) +
|
---|
1976 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.46) +
|
---|
1977 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.49) +
|
---|
1978 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.48) +
|
---|
1979 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.46) +
|
---|
1980 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.44) +
|
---|
1981 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.41) +
|
---|
1982 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.35) +
|
---|
1983 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.35) +
|
---|
1984 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.25) +
|
---|
1985 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.24) +
|
---|
1986 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.32) +
|
---|
1987 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
1988 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
1989 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
1990 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
1991 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
1992 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
1993 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
1994 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
1995 | }
|
---|
1996 |
|
---|
1997 | add EfficiencyFormula {4} {
|
---|
1998 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.24) +
|
---|
1999 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.26) +
|
---|
2000 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.27) +
|
---|
2001 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.27) +
|
---|
2002 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.26) +
|
---|
2003 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.25) +
|
---|
2004 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.24) +
|
---|
2005 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.23) +
|
---|
2006 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.22) +
|
---|
2007 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.20) +
|
---|
2008 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.19) +
|
---|
2009 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.18) +
|
---|
2010 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
2011 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
2012 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.14) +
|
---|
2013 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2014 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
2015 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
2016 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
2017 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
2018 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
2019 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
2020 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
2021 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
2022 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.03) +
|
---|
2023 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
2024 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.11) +
|
---|
2025 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.11) +
|
---|
2026 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.11) +
|
---|
2027 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.11) +
|
---|
2028 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
2029 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.12) +
|
---|
2030 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.12) +
|
---|
2031 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
2032 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.12) +
|
---|
2033 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.13) +
|
---|
2034 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.13) +
|
---|
2035 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.13) +
|
---|
2036 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.12) +
|
---|
2037 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.13) +
|
---|
2038 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
2039 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2040 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
2041 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.10) +
|
---|
2042 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.08) +
|
---|
2043 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.08) +
|
---|
2044 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
2045 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
2046 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.05) +
|
---|
2047 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2048 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2049 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
2050 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
2051 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.09) +
|
---|
2052 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
2053 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.10) +
|
---|
2054 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.10) +
|
---|
2055 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.10) +
|
---|
2056 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.11) +
|
---|
2057 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
2058 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.11) +
|
---|
2059 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
2060 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
2061 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.11) +
|
---|
2062 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
2063 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.08) +
|
---|
2064 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.09) +
|
---|
2065 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
2066 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.08) +
|
---|
2067 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.04) +
|
---|
2068 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
2069 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
2070 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
2071 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
2072 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
2073 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2074 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2075 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
2076 | }
|
---|
2077 |
|
---|
2078 | }
|
---|
2079 |
|
---|
2080 | module BTagging BTaggingPUPPIAK8 {
|
---|
2081 |
|
---|
2082 | set JetInputArray JetEnergyScalePUPPIAK8/jets
|
---|
2083 | set BitNumber 0
|
---|
2084 | add EfficiencyFormula {0} {0.001}
|
---|
2085 |
|
---|
2086 | add EfficiencyFormula {5} {
|
---|
2087 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.72) +
|
---|
2088 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.77) +
|
---|
2089 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.79) +
|
---|
2090 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.80) +
|
---|
2091 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.80) +
|
---|
2092 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.79) +
|
---|
2093 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.78) +
|
---|
2094 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.77) +
|
---|
2095 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.77) +
|
---|
2096 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.75) +
|
---|
2097 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.73) +
|
---|
2098 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.71) +
|
---|
2099 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.70) +
|
---|
2100 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.67) +
|
---|
2101 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.65) +
|
---|
2102 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.61) +
|
---|
2103 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.57) +
|
---|
2104 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.52) +
|
---|
2105 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.45) +
|
---|
2106 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.39) +
|
---|
2107 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.33) +
|
---|
2108 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.27) +
|
---|
2109 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.22) +
|
---|
2110 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.13) +
|
---|
2111 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.15) +
|
---|
2112 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
2113 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.58) +
|
---|
2114 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.61) +
|
---|
2115 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.64) +
|
---|
2116 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.64) +
|
---|
2117 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.65) +
|
---|
2118 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.64) +
|
---|
2119 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.63) +
|
---|
2120 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.63) +
|
---|
2121 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.63) +
|
---|
2122 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.61) +
|
---|
2123 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.60) +
|
---|
2124 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.58) +
|
---|
2125 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.56) +
|
---|
2126 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.54) +
|
---|
2127 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.50) +
|
---|
2128 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.47) +
|
---|
2129 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.45) +
|
---|
2130 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.39) +
|
---|
2131 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.36) +
|
---|
2132 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.35) +
|
---|
2133 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.30) +
|
---|
2134 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.28) +
|
---|
2135 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.13) +
|
---|
2136 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2137 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2138 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
2139 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.38) +
|
---|
2140 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.44) +
|
---|
2141 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.49) +
|
---|
2142 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.49) +
|
---|
2143 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.48) +
|
---|
2144 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.50) +
|
---|
2145 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.48) +
|
---|
2146 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.46) +
|
---|
2147 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.49) +
|
---|
2148 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.48) +
|
---|
2149 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.46) +
|
---|
2150 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.44) +
|
---|
2151 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.41) +
|
---|
2152 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.35) +
|
---|
2153 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.35) +
|
---|
2154 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.25) +
|
---|
2155 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.24) +
|
---|
2156 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.32) +
|
---|
2157 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
2158 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
2159 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
2160 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
2161 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
2162 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2163 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2164 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
2165 | }
|
---|
2166 |
|
---|
2167 | add EfficiencyFormula {4} {
|
---|
2168 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 20.00 && pt <= 30.00) * (0.24) +
|
---|
2169 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 30.00 && pt <= 40.00) * (0.26) +
|
---|
2170 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 40.00 && pt <= 50.00) * (0.27) +
|
---|
2171 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 50.00 && pt <= 60.00) * (0.27) +
|
---|
2172 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 60.00 && pt <= 70.00) * (0.26) +
|
---|
2173 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 70.00 && pt <= 80.00) * (0.25) +
|
---|
2174 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 80.00 && pt <= 90.00) * (0.24) +
|
---|
2175 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 90.00 && pt <= 100.00) * (0.23) +
|
---|
2176 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 100.00 && pt <= 120.00) * (0.22) +
|
---|
2177 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 120.00 && pt <= 140.00) * (0.20) +
|
---|
2178 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 140.00 && pt <= 160.00) * (0.19) +
|
---|
2179 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 160.00 && pt <= 180.00) * (0.18) +
|
---|
2180 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 180.00 && pt <= 200.00) * (0.16) +
|
---|
2181 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 200.00 && pt <= 250.00) * (0.15) +
|
---|
2182 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 250.00 && pt <= 300.00) * (0.14) +
|
---|
2183 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2184 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
2185 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 400.00 && pt <= 500.00) * (0.09) +
|
---|
2186 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 500.00 && pt <= 600.00) * (0.07) +
|
---|
2187 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 600.00 && pt <= 700.00) * (0.06) +
|
---|
2188 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 700.00 && pt <= 800.00) * (0.05) +
|
---|
2189 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
2190 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1000.00 && pt <= 1400.00) * (0.03) +
|
---|
2191 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 1400.00 && pt <= 2000.00) * (0.02) +
|
---|
2192 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 2000.00 && pt <= 3000.00) * (0.03) +
|
---|
2193 | (abs(eta) > 0.00 && abs(eta) <= 1.50) * (pt > 3000.00) * (0.00) +
|
---|
2194 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 20.00 && pt <= 30.00) * (0.11) +
|
---|
2195 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 30.00 && pt <= 40.00) * (0.11) +
|
---|
2196 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 40.00 && pt <= 50.00) * (0.11) +
|
---|
2197 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 50.00 && pt <= 60.00) * (0.11) +
|
---|
2198 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 60.00 && pt <= 70.00) * (0.12) +
|
---|
2199 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 70.00 && pt <= 80.00) * (0.12) +
|
---|
2200 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 80.00 && pt <= 90.00) * (0.12) +
|
---|
2201 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
2202 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 100.00 && pt <= 120.00) * (0.12) +
|
---|
2203 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 120.00 && pt <= 140.00) * (0.13) +
|
---|
2204 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 140.00 && pt <= 160.00) * (0.13) +
|
---|
2205 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 160.00 && pt <= 180.00) * (0.13) +
|
---|
2206 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 180.00 && pt <= 200.00) * (0.12) +
|
---|
2207 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 200.00 && pt <= 250.00) * (0.13) +
|
---|
2208 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 250.00 && pt <= 300.00) * (0.13) +
|
---|
2209 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 300.00 && pt <= 350.00) * (0.12) +
|
---|
2210 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 350.00 && pt <= 400.00) * (0.11) +
|
---|
2211 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 400.00 && pt <= 500.00) * (0.10) +
|
---|
2212 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 500.00 && pt <= 600.00) * (0.08) +
|
---|
2213 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 600.00 && pt <= 700.00) * (0.08) +
|
---|
2214 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 700.00 && pt <= 800.00) * (0.06) +
|
---|
2215 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 800.00 && pt <= 1000.00) * (0.04) +
|
---|
2216 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1000.00 && pt <= 1400.00) * (0.05) +
|
---|
2217 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2218 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2219 | (abs(eta) > 1.50 && abs(eta) <= 2.50) * (pt > 3000.00) * (0.00) +
|
---|
2220 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 20.00 && pt <= 30.00) * (0.08) +
|
---|
2221 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 30.00 && pt <= 40.00) * (0.09) +
|
---|
2222 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 40.00 && pt <= 50.00) * (0.10) +
|
---|
2223 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 50.00 && pt <= 60.00) * (0.10) +
|
---|
2224 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 60.00 && pt <= 70.00) * (0.10) +
|
---|
2225 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 70.00 && pt <= 80.00) * (0.10) +
|
---|
2226 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 80.00 && pt <= 90.00) * (0.11) +
|
---|
2227 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 90.00 && pt <= 100.00) * (0.11) +
|
---|
2228 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 100.00 && pt <= 120.00) * (0.11) +
|
---|
2229 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 120.00 && pt <= 140.00) * (0.10) +
|
---|
2230 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 140.00 && pt <= 160.00) * (0.10) +
|
---|
2231 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 160.00 && pt <= 180.00) * (0.11) +
|
---|
2232 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 180.00 && pt <= 200.00) * (0.09) +
|
---|
2233 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 200.00 && pt <= 250.00) * (0.08) +
|
---|
2234 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 250.00 && pt <= 300.00) * (0.09) +
|
---|
2235 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 300.00 && pt <= 350.00) * (0.07) +
|
---|
2236 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 350.00 && pt <= 400.00) * (0.08) +
|
---|
2237 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 400.00 && pt <= 500.00) * (0.04) +
|
---|
2238 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 500.00 && pt <= 600.00) * (0.00) +
|
---|
2239 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 600.00 && pt <= 700.00) * (0.00) +
|
---|
2240 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 700.00 && pt <= 800.00) * (0.00) +
|
---|
2241 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 800.00 && pt <= 1000.00) * (0.00) +
|
---|
2242 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1000.00 && pt <= 1400.00) * (0.00) +
|
---|
2243 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 1400.00 && pt <= 2000.00) * (0.00) +
|
---|
2244 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 2000.00 && pt <= 3000.00) * (0.00) +
|
---|
2245 | (abs(eta) > 2.50 && abs(eta) <= 3.50) * (pt > 3000.00) * (0.00)
|
---|
2246 | }
|
---|
2247 |
|
---|
2248 | }
|
---|
2249 |
|
---|
2250 | #############
|
---|
2251 | # tau-tagging
|
---|
2252 | #############
|
---|
2253 |
|
---|
2254 |
|
---|
2255 | module TauTagging TauTagging {
|
---|
2256 | set ParticleInputArray Delphes/allParticles
|
---|
2257 | set PartonInputArray Delphes/partons
|
---|
2258 | set JetInputArray JetEnergyScale/jets
|
---|
2259 |
|
---|
2260 | set DeltaR 0.5
|
---|
2261 |
|
---|
2262 | set TauPTMin 20.0
|
---|
2263 |
|
---|
2264 | set TauEtaMax 2.3
|
---|
2265 |
|
---|
2266 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
2267 |
|
---|
2268 | 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)) + \
|
---|
2269 | (abs(eta) > 2.3) * (0.000)
|
---|
2270 | }
|
---|
2271 | 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) ) + \
|
---|
2272 | (abs(eta) > 2.3) * (0.000)
|
---|
2273 | }
|
---|
2274 | }
|
---|
2275 |
|
---|
2276 |
|
---|
2277 | ###############################################################################################################
|
---|
2278 | # StatusPidFilter: this module removes all generated particles except electrons, muons, taus, and status == 3 #
|
---|
2279 | ###############################################################################################################
|
---|
2280 |
|
---|
2281 | module StatusPidFilter GenParticleFilter {
|
---|
2282 |
|
---|
2283 | set InputArray Delphes/allParticles
|
---|
2284 | set OutputArray filteredParticles
|
---|
2285 | set PTMin 5.0
|
---|
2286 |
|
---|
2287 | }
|
---|
2288 |
|
---|
2289 |
|
---|
2290 | ##################
|
---|
2291 | # ROOT tree writer
|
---|
2292 | ##################
|
---|
2293 |
|
---|
2294 | module TreeWriter TreeWriter {
|
---|
2295 | # add Branch InputArray BranchName BranchClass
|
---|
2296 | add Branch GenParticleFilter/filteredParticles Particle GenParticle
|
---|
2297 | add Branch PileUpMerger/vertices Vertex Vertex
|
---|
2298 |
|
---|
2299 | add Branch GenJetFinder/jets GenJet Jet
|
---|
2300 | add Branch GenJetFinderAK8/jetsAK8 GenJetAK8 Jet
|
---|
2301 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
2302 |
|
---|
2303 | # add Branch HCal/eflowTracks EFlowTrack Track
|
---|
2304 | # add Branch ECal/eflowPhotons EFlowPhoton Tower
|
---|
2305 | # add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
2306 |
|
---|
2307 | add Branch PhotonEfficiency/photons Photon Photon
|
---|
2308 | add Branch ElectronEfficiency/electrons Electron Electron
|
---|
2309 | add Branch MuonLooseIdEfficiency/muons MuonLoose Muon
|
---|
2310 | add Branch MuonTightIdEfficiency/muons MuonTight Muon
|
---|
2311 |
|
---|
2312 | add Branch PhotonEfficiencyCHS/photons PhotonCHS Photon
|
---|
2313 | add Branch ElectronEfficiencyCHS/electrons ElectronCHS Electron
|
---|
2314 | add Branch MuonLooseIdEfficiencyCHS/muons MuonLooseCHS Muon
|
---|
2315 | add Branch MuonTightIdEfficiencyCHS/muons MuonTightCHS Muon
|
---|
2316 |
|
---|
2317 | add Branch JetEnergyScale/jets Jet Jet
|
---|
2318 | # add Branch FatJetFinder/jets FatJet Jet
|
---|
2319 | add Branch JetEnergyScalePUPPI/jets JetPUPPI Jet
|
---|
2320 | add Branch JetEnergyScaleAK8/jets JetAK8 Jet
|
---|
2321 | add Branch JetEnergyScalePUPPIAK8/jets JetPUPPIAK8 Jet
|
---|
2322 |
|
---|
2323 | add Branch Rho/rho Rho Rho
|
---|
2324 |
|
---|
2325 | add Branch MissingET/momentum MissingET MissingET
|
---|
2326 | add Branch PuppiMissingET/momentum PuppiMissingET MissingET
|
---|
2327 | add Branch GenPileUpMissingET/momentum GenPileUpMissingET MissingET
|
---|
2328 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
2329 |
|
---|
2330 | }
|
---|