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