#include <Electron.h>
Definition at line 7 of file Electron.h.
res::HelperElectron::HelperElectron |
( |
| ) |
|
|
inline |
res::HelperElectron::~HelperElectron |
( |
| ) |
|
|
inline |
double res::HelperElectron::a |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 35 of file Electron.h.
References alignCSCRings::e, and funct::exp().
Referenced by CovarianceMatrix::setupMatrix().
38 res = 0.0114228 + 0.1135 *
exp(-(0.111787 *
pt));
39 else if (fabs(
eta) < 0.35)
40 res = 0.010297 + 0.0163219 *
exp(-(0.0248655 *
pt));
41 else if (fabs(
eta) < 0.5)
42 res = 0.0081634 + 0.0230718 *
exp(-(0.0250963 *
pt));
43 else if (fabs(
eta) < 0.7)
44 res = 0.0122627 + 0.0228103 *
exp(-(0.0420525 *
pt));
45 else if (fabs(
eta) < 0.9)
46 res = 0.0124118 + 0.0384051 *
exp(-(0.0545988 *
pt));
47 else if (fabs(
eta) < 1.15)
48 res = 0.0133398 + 0.0307574 *
exp(-(0.0316605 *
pt));
49 else if (fabs(
eta) < 1.3)
50 res = 0.0144956 + 0.0355239 *
exp(-(0.0273916 *
pt));
51 else if (fabs(
eta) < 1.6)
52 res = -13.9017 + 13.9315 *
exp(-(7.01823
e-06 *
pt));
53 else if (fabs(
eta) < 1.9)
54 res = 0.0106309 + 0.0230149 *
exp(-(0.00792017 *
pt));
55 else if (fabs(
eta) < 2.5)
56 res = 0.0187822 + 0.119922 *
exp(-(0.140598 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)
double res::HelperElectron::b |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 60 of file Electron.h.
References alignCSCRings::e, and funct::exp().
Referenced by CovarianceMatrix::setupMatrix().
63 res = -36.5147 + 36.516 *
exp(-(-9.36847
e-06 *
pt));
64 else if (fabs(
eta) < 0.35)
65 res = -0.132294 + 0.134289 *
exp(-(-0.0021212 *
pt));
66 else if (fabs(
eta) < 0.5)
67 res = -96.9689 + 96.9704 *
exp(-(-2.83158
e-06 *
pt));
68 else if (fabs(
eta) < 0.7)
69 res = -122.755 + 122.757 *
exp(-(-1.90859
e-06 *
pt));
70 else if (fabs(
eta) < 0.9)
71 res = -226.455 + 226.457 *
exp(-(-8.91395
e-07 *
pt));
72 else if (fabs(
eta) < 1.15)
73 res = -249.279 + 249.281 *
exp(-(-7.57645
e-07 *
pt));
74 else if (fabs(
eta) < 1.3)
75 res = -16.7465 + 16.7481 *
exp(-(-1.17848
e-05 *
pt));
76 else if (fabs(
eta) < 1.6)
77 res = -128.535 + 128.537 *
exp(-(-1.52236
e-06 *
pt));
78 else if (fabs(
eta) < 1.9)
79 res = -66.1731 + 66.1762 *
exp(-(-2.49121
e-06 *
pt));
80 else if (fabs(
eta) < 2.5)
81 res = -0.0199509 + 0.0237796 *
exp(-(-0.00591733 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)
double res::HelperElectron::c |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 85 of file Electron.h.
References alignCSCRings::e, and funct::exp().
Referenced by CovarianceMatrix::setupMatrix().
88 res = -68.6101 + 68.6161 *
exp(-(-7.88064
e-07 *
pt));
89 else if (fabs(
eta) < 0.35)
90 res = -130.219 + 130.224 *
exp(-(-8.39696
e-07 *
pt));
91 else if (fabs(
eta) < 0.5)
92 res = -262.825 + 262.83 *
exp(-(-4.26008
e-07 *
pt));
93 else if (fabs(
eta) < 0.7)
94 res = -47.898 + 47.9041 *
exp(-(-2.07568
e-06 *
pt));
95 else if (fabs(
eta) < 0.9)
96 res = -178.795 + 178.799 *
exp(-(-5.78263
e-07 *
pt));
97 else if (fabs(
eta) < 1.15)
98 res = -249.26 + 249.267 *
exp(-(-3.16408
e-07 *
pt));
99 else if (fabs(
eta) < 1.3)
100 res = -173.603 + 173.606 *
exp(-(-1.58982
e-06 *
pt));
101 else if (fabs(
eta) < 1.6)
102 res = -98.726 + 98.7326 *
exp(-(-2.67151
e-06 *
pt));
103 else if (fabs(
eta) < 1.9)
104 res = -82.6028 + 82.6122 *
exp(-(-2.79483
e-06 *
pt));
105 else if (fabs(
eta) < 2.5)
106 res = -119.94 + 119.95 *
exp(-(-1.69882
e-06 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)
double res::HelperElectron::d |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 110 of file Electron.h.
References funct::exp().
112 if (fabs(
eta) < 0.17)
113 res = 0.0114197 + 0.081753 *
exp(-(0.0969625 *
pt));
114 else if (fabs(
eta) < 0.35)
115 res = 0.0097562 + 0.0137737 *
exp(-(0.0187112 *
pt));
116 else if (fabs(
eta) < 0.5)
117 res = 0.00844899 + 0.021595 *
exp(-(0.0241679 *
pt));
118 else if (fabs(
eta) < 0.7)
119 res = 0.0124758 + 0.0243678 *
exp(-(0.0459914 *
pt));
120 else if (fabs(
eta) < 0.9)
121 res = 0.0117518 + 0.0357218 *
exp(-(0.0463595 *
pt));
122 else if (fabs(
eta) < 1.15)
123 res = 0.0133048 + 0.0292511 *
exp(-(0.0305812 *
pt));
124 else if (fabs(
eta) < 1.3)
125 res = 0.0144949 + 0.0337369 *
exp(-(0.0269872 *
pt));
126 else if (fabs(
eta) < 1.6)
127 res = 0.0137634 + 0.0343427 *
exp(-(0.0208025 *
pt));
128 else if (fabs(
eta) < 1.9)
129 res = 0.00572644 + 0.0270719 *
exp(-(0.00536847 *
pt));
130 else if (fabs(
eta) < 2.5)
131 res = 0.0189177 + 0.169591 *
exp(-(0.152597 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)
double res::HelperElectron::et |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 185 of file Electron.h.
References DiDispStaMuonMonitor_cfi::pt.
Referenced by CovarianceMatrix::setupMatrix().
187 if (fabs(
eta) < 0.17)
188 res = 0.326238 + 0.00760789 *
pt;
189 else if (fabs(
eta) < 0.35)
190 res = 0.40493 + 0.00659958 *
pt;
191 else if (fabs(
eta) < 0.5)
192 res = 0.369785 + 0.00690331 *
pt;
193 else if (fabs(
eta) < 0.7)
194 res = 0.437539 + 0.00703808 *
pt;
195 else if (fabs(
eta) < 0.9)
196 res = 0.456138 + 0.0078252 *
pt;
197 else if (fabs(
eta) < 1.15)
198 res = 0.518685 + 0.00907836 *
pt;
199 else if (fabs(
eta) < 1.3)
200 res = 0.733672 + 0.00953255 *
pt;
201 else if (fabs(
eta) < 1.6)
202 res = 1.02678 + 0.0116056 *
pt;
203 else if (fabs(
eta) < 1.9)
204 res = 0.948368 + 0.00977619 *
pt;
205 else if (fabs(
eta) < 2.5)
206 res = 0.418302 + 0.0127816 *
pt;
double pt(double pt, double eta)
double eta(double pt, double eta)
double res::HelperElectron::eta |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 210 of file Electron.h.
References alignCSCRings::e, and funct::exp().
Referenced by Particle.Particle::__str__(), StKinFitter::addKinFitInfo(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and CovarianceMatrix::setupMatrix().
212 if (fabs(
eta) < 0.17)
213 res = 0.000266154 + 0.000104322 *
exp(-(0.0140464 *
pt));
214 else if (fabs(
eta) < 0.35)
215 res = -0.251539 + 0.251791 *
exp(-(-7.37147
e-07 *
pt));
216 else if (fabs(
eta) < 0.5)
217 res = 0.000290074 + 1.54664e-12 *
exp(-(-0.115541 *
pt));
218 else if (fabs(
eta) < 0.7)
219 res = 8.37182e-05 + 0.000233453 *
exp(-(0.00602386 *
pt));
220 else if (fabs(
eta) < 0.9)
221 res = 0.000229422 + 0.000114253 *
exp(-(0.0188935 *
pt));
222 else if (fabs(
eta) < 1.15)
223 res = 0.000191525 + 0.000404238 *
exp(-(0.0554545 *
pt));
224 else if (fabs(
eta) < 1.3)
225 res = 0.000195461 + 1.43699e-07 *
exp(-(-0.0315088 *
pt));
226 else if (fabs(
eta) < 1.6)
227 res = 0.000223422 + 2.05169e+07 *
exp(-(1.41408 *
pt));
228 else if (fabs(
eta) < 1.9)
229 res = -0.867114 + 0.867336 *
exp(-(4.08639
e-07 *
pt));
230 else if (fabs(
eta) < 2.5)
231 res = -0.866567 + 0.866746 *
exp(-(-8.62871
e-07 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)
double res::HelperElectron::phi |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 160 of file Electron.h.
References funct::exp().
Referenced by Particle.Particle::__str__(), StKinFitter::addKinFitInfo(), ntupleDataFormat.Track::phiPull(), and CovarianceMatrix::setupMatrix().
162 if (fabs(
eta) < 0.17)
163 res = 0.000175676 + 0.000471783 *
exp(-(0.0383161 *
pt));
164 else if (fabs(
eta) < 0.35)
165 res = 0.000202185 + 0.00048635 *
exp(-(0.0373331 *
pt));
166 else if (fabs(
eta) < 0.5)
167 res = 0.000150868 + 0.000444216 *
exp(-(0.0268835 *
pt));
168 else if (fabs(
eta) < 0.7)
169 res = 0.000243624 + 0.00182347 *
exp(-(0.0850746 *
pt));
170 else if (fabs(
eta) < 0.9)
171 res = 0.000254463 + 0.000431233 *
exp(-(0.0446507 *
pt));
172 else if (fabs(
eta) < 1.15)
173 res = 0.000309592 + 0.000918965 *
exp(-(0.0555677 *
pt));
174 else if (fabs(
eta) < 1.3)
175 res = 0.000502204 + 0.000277996 *
exp(-(0.076721 *
pt));
176 else if (fabs(
eta) < 1.6)
177 res = 0.000361181 + 0.000655126 *
exp(-(0.0238519 *
pt));
178 else if (fabs(
eta) < 1.9)
179 res = 0.000321587 + 0.00155721 *
exp(-(0.0337709 *
pt));
180 else if (fabs(
eta) < 2.5)
181 res = 0.000819101 + 0.00205336 *
exp(-(0.0992806 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)
double res::HelperElectron::pt |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 24 of file Electron.h.
References mathSSE::sqrt().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), StKinFitter::addKinFitInfo(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
25 double res = 0.2 *
sqrt(
pt);
27 res += -0.28 * fabs(
eta) + 0.54;
28 else if (0.8 < fabs(
eta) && fabs(
eta) <= 1.4)
29 res += 1.52 * fabs(
eta) - 1.07;
31 res += -0.158 *
eta *
eta + 0.97;
double pt(double pt, double eta)
double eta(double pt, double eta)
double res::HelperElectron::theta |
( |
double |
pt, |
|
|
double |
eta |
|
) |
| |
|
inline |
Definition at line 135 of file Electron.h.
References funct::exp().
Referenced by CovarianceMatrix::setupMatrix(), and Tau.Tau::zImpact().
137 if (fabs(
eta) < 0.17)
138 res = 0.000282805 + 0.000157786 *
exp(-(0.0343273 *
pt));
139 else if (fabs(
eta) < 0.35)
140 res = 0.000184362 + 4.34076e-05 *
exp(-(-0.0131909 *
pt));
141 else if (fabs(
eta) < 0.5)
142 res = 0.000249332 + 5.83114e-05 *
exp(-(0.0508729 *
pt));
143 else if (fabs(
eta) < 0.7)
144 res = -6.56357e-05 + 0.000325051 *
exp(-(0.00177319 *
pt));
145 else if (fabs(
eta) < 0.9)
146 res = 0.000182277 + 0.000125324 *
exp(-(0.0581923 *
pt));
147 else if (fabs(
eta) < 1.15)
148 res = 0.000140771 + 0.000407914 *
exp(-(0.0971668 *
pt));
149 else if (fabs(
eta) < 1.3)
150 res = 0.000125551 + 0.001266 *
exp(-(0.180176 *
pt));
151 else if (fabs(
eta) < 1.6)
152 res = 0.000107631 + 101920 *
exp(-(1.17024 *
pt));
153 else if (fabs(
eta) < 1.9)
154 res = 8.33927e-05 + 158936 *
exp(-(1.20127 *
pt));
155 else if (fabs(
eta) < 2.5)
156 res = 6.55271e-05 + 0.12459 *
exp(-(0.437044 *
pt));
double pt(double pt, double eta)
double eta(double pt, double eta)
Exp< T >::type exp(const T &t)