CMS 3D CMS Logo

List of all members | Public Member Functions
res::HelperMuon Class Reference

#include <Muon.h>

Public Member Functions

double a (double pt, double eta)
 
double b (double pt, double eta)
 
double c (double pt, double eta)
 
double d (double pt, double eta)
 
double et (double pt, double eta)
 
double eta (double pt, double eta)
 
 HelperMuon ()
 
double phi (double pt, double eta)
 
double pt (double pt, double eta)
 
double theta (double pt, double eta)
 
 ~HelperMuon ()
 

Detailed Description

Definition at line 7 of file Muon.h.

Constructor & Destructor Documentation

◆ HelperMuon()

res::HelperMuon::HelperMuon ( )
inline

Definition at line 9 of file Muon.h.

9 {};

◆ ~HelperMuon()

res::HelperMuon::~HelperMuon ( )
inline

Definition at line 10 of file Muon.h.

10 {};

Member Function Documentation

◆ a()

double res::HelperMuon::a ( double  pt,
double  eta 
)
inline

Definition at line 29 of file Muon.h.

29  {
30  double res = 1000.;
31  if (fabs(eta) < 0.17)
32  res = -0.00163044 + 0.00921744 * exp(-(-0.00517804 * pt));
33  else if (fabs(eta) < 0.35)
34  res = -38.9811 + 38.9892 * exp(-(-1.58728e-06 * pt));
35  else if (fabs(eta) < 0.5)
36  res = -17.254 + 17.2634 * exp(-(-2.86961e-06 * pt));
37  else if (fabs(eta) < 0.7)
38  res = 0.00651163 + 0.0038473 * exp(-(-0.00716166 * pt));
39  else if (fabs(eta) < 0.9)
40  res = -14.9098 + 14.9207 * exp(-(-3.61147e-06 * pt));
41  else if (fabs(eta) < 1.15)
42  res = -0.0130723 + 0.028881 * exp(-(-0.00143687 * pt));
43  else if (fabs(eta) < 1.3)
44  res = 0.0102039 + 0.00629269 * exp(-(-0.00659229 * pt));
45  else if (fabs(eta) < 1.6)
46  res = -26.1501 + 26.1657 * exp(-(-2.75489e-06 * pt));
47  else if (fabs(eta) < 1.9)
48  res = -26.1006 + 26.1168 * exp(-(-2.65457e-06 * pt));
49  else if (fabs(eta) < 2.5)
50  res = -110.342 + 110.361 * exp(-(-1.3011e-06 * pt));
51  return res;
52 }

References MillePedeFileConverter_cfg::e, PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by CovarianceMatrix::setupMatrix().

◆ b()

double res::HelperMuon::b ( double  pt,
double  eta 
)
inline

Definition at line 54 of file Muon.h.

54  {
55  double res = 1000.;
56  if (fabs(eta) < 0.17)
57  res = -25.2075 + 25.2104 * exp(-(-1.10483e-05 * pt));
58  else if (fabs(eta) < 0.35)
59  res = -117.663 + 117.666 * exp(-(-1.71416e-06 * pt));
60  else if (fabs(eta) < 0.5)
61  res = -21.8718 + 21.8742 * exp(-(-8.13178e-06 * pt));
62  else if (fabs(eta) < 0.7)
63  res = -35.0557 + 35.0573 * exp(-(-5.75421e-06 * pt));
64  else if (fabs(eta) < 0.9)
65  res = -6.37721 + 6.38003 * exp(-(-2.51376e-05 * pt));
66  else if (fabs(eta) < 1.15)
67  res = -73.9844 + 73.9873 * exp(-(-1.75066e-06 * pt));
68  else if (fabs(eta) < 1.3)
69  res = -32.7368 + 32.7402 * exp(-(-3.28819e-06 * pt));
70  else if (fabs(eta) < 1.6)
71  res = -46.9103 + 46.9132 * exp(-(-2.64771e-06 * pt));
72  else if (fabs(eta) < 1.9)
73  res = -63.3183 + 63.3218 * exp(-(-1.56186e-06 * pt));
74  else if (fabs(eta) < 2.5)
75  res = -13.913 + 13.9174 * exp(-(-6.62559e-06 * pt));
76  return res;
77 }

References MillePedeFileConverter_cfg::e, PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by CovarianceMatrix::setupMatrix().

◆ c()

double res::HelperMuon::c ( double  pt,
double  eta 
)
inline

Definition at line 79 of file Muon.h.

79  {
80  double res = 1000.;
81  if (fabs(eta) < 0.17)
82  res = -0.00784191 + 0.0107731 * exp(-(-0.00262573 * pt));
83  else if (fabs(eta) < 0.35)
84  res = -4.16489 + 4.16781 * exp(-(-8.18221e-06 * pt));
85  else if (fabs(eta) < 0.5)
86  res = -0.00758502 + 0.0109898 * exp(-(-0.0023199 * pt));
87  else if (fabs(eta) < 0.7)
88  res = -0.0190548 + 0.0222179 * exp(-(-0.00140706 * pt));
89  else if (fabs(eta) < 0.9)
90  res = -7.74332 + 7.74699 * exp(-(-3.61138e-06 * pt));
91  else if (fabs(eta) < 1.15)
92  res = 0.00239644 + 0.00222721 * exp(-(-0.00729116 * pt));
93  else if (fabs(eta) < 1.3)
94  res = -50.7222 + 50.7266 * exp(-(-5.72416e-07 * pt));
95  else if (fabs(eta) < 1.6)
96  res = -9.91368 + 9.91795 * exp(-(-3.8653e-06 * pt));
97  else if (fabs(eta) < 1.9)
98  res = 0.000103356 + 0.00464674 * exp(-(-0.00750142 * pt));
99  else if (fabs(eta) < 2.5)
100  res = -0.00425536 + 0.00971869 * exp(-(-0.00546016 * pt));
101  return res;
102 }

References MillePedeFileConverter_cfg::e, PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by CovarianceMatrix::setupMatrix().

◆ d()

double res::HelperMuon::d ( double  pt,
double  eta 
)
inline

Definition at line 104 of file Muon.h.

104  {
105  double res = 1000.;
106  if (fabs(eta) < 0.17)
107  res = -0.00146069 + 0.00904233 * exp(-(-0.00524103 * pt));
108  else if (fabs(eta) < 0.35)
109  res = -34.455 + 34.4631 * exp(-(-1.78448e-06 * pt));
110  else if (fabs(eta) < 0.5)
111  res = -15.3417 + 15.3511 * exp(-(-3.23796e-06 * pt));
112  else if (fabs(eta) < 0.7)
113  res = 0.00639493 + 0.00393752 * exp(-(-0.00707984 * pt));
114  else if (fabs(eta) < 0.9)
115  res = -12.855 + 12.866 * exp(-(-4.16994e-06 * pt));
116  else if (fabs(eta) < 1.15)
117  res = -0.00526993 + 0.0211877 * exp(-(-0.00186356 * pt));
118  else if (fabs(eta) < 1.3)
119  res = 0.0105021 + 0.00600376 * exp(-(-0.00677709 * pt));
120  else if (fabs(eta) < 1.6)
121  res = -23.5742 + 23.5898 * exp(-(-3.0526e-06 * pt));
122  else if (fabs(eta) < 1.9)
123  res = -27.317 + 27.3331 * exp(-(-2.56587e-06 * pt));
124  else if (fabs(eta) < 2.5)
125  res = -112.151 + 112.17 * exp(-(-1.25452e-06 * pt));
126  return res;
127 }

References MillePedeFileConverter_cfg::e, PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

◆ et()

double res::HelperMuon::et ( double  pt,
double  eta 
)
inline

Definition at line 179 of file Muon.h.

179  {
180  double res = 1000.;
181  if (fabs(eta) < 0.17)
182  res = -0.0552605 + 0.0115814 * pt;
183  else if (fabs(eta) < 0.35)
184  res = -0.05039 + 0.0122729 * pt;
185  else if (fabs(eta) < 0.5)
186  res = -0.0435167 + 0.0128949 * pt;
187  else if (fabs(eta) < 0.7)
188  res = -0.038473 + 0.0129088 * pt;
189  else if (fabs(eta) < 0.9)
190  res = -0.0333693 + 0.0140788 * pt;
191  else if (fabs(eta) < 1.15)
192  res = -0.0102406 + 0.0180217 * pt;
193  else if (fabs(eta) < 1.3)
194  res = -0.0244845 + 0.0190696 * pt;
195  else if (fabs(eta) < 1.6)
196  res = -0.055785 + 0.0205605 * pt;
197  else if (fabs(eta) < 1.9)
198  res = -0.0457006 + 0.0204167 * pt;
199  else if (fabs(eta) < 2.5)
200  res = -0.0399952 + 0.027388 * pt;
201  return res;
202 }

References PVValHelper::eta, and DiDispStaMuonMonitor_cfi::pt.

Referenced by CovarianceMatrix::setupMatrix().

◆ eta()

double res::HelperMuon::eta ( double  pt,
double  eta 
)
inline

Definition at line 204 of file Muon.h.

204  {
205  double res = 1000.;
206  if (fabs(eta) < 0.17)
207  res = 0.000322451 + 0.000107167 * exp(-(0.0156347 * pt));
208  else if (fabs(eta) < 0.35)
209  res = 0.000271279 + 0.000106197 * exp(-(0.0235732 * pt));
210  else if (fabs(eta) < 0.5)
211  res = 0.000235783 + 0.000146536 * exp(-(0.0491182 * pt));
212  else if (fabs(eta) < 0.7)
213  res = 0.000241657 + 0.00012571 * exp(-(0.0681321 * pt));
214  else if (fabs(eta) < 0.9)
215  res = 0.000218419 + 0.000380006 * exp(-(0.0749053 * pt));
216  else if (fabs(eta) < 1.15)
217  res = 0.000184903 + 0.000217257 * exp(-(0.0520574 * pt));
218  else if (fabs(eta) < 1.3)
219  res = 0.000169888 + 0.000490542 * exp(-(0.0747289 * pt));
220  else if (fabs(eta) < 1.6)
221  res = 0.000179318 + 0.000290048 * exp(-(0.0613212 * pt));
222  else if (fabs(eta) < 1.9)
223  res = 0.000144481 + 0.000260476 * exp(-(0.0392984 * pt));
224  else if (fabs(eta) < 2.5)
225  res = 0.000158888 + 0.000442249 * exp(-(0.0537515 * pt));
226  return res;
227 }

References PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by Particle.Particle::__str__(), StKinFitter::addKinFitInfo(), Jet.Jet::jetID(), pt(), Jet.Jet::puJetId(), and CovarianceMatrix::setupMatrix().

◆ phi()

double res::HelperMuon::phi ( double  pt,
double  eta 
)
inline

Definition at line 154 of file Muon.h.

154  {
155  double res = 1000.;
156  if (fabs(eta) < 0.17)
157  res = 7.21523e-05 + 0.000293781 * exp(-(0.0518546 * pt));
158  else if (fabs(eta) < 0.35)
159  res = 7.15456e-05 + 0.000290324 * exp(-(0.0496431 * pt));
160  else if (fabs(eta) < 0.5)
161  res = 7.25417e-05 + 0.000322288 * exp(-(0.0497559 * pt));
162  else if (fabs(eta) < 0.7)
163  res = 7.24273e-05 + 0.000301504 * exp(-(0.0480936 * pt));
164  else if (fabs(eta) < 0.9)
165  res = 7.23791e-05 + 0.0003355 * exp(-(0.0454216 * pt));
166  else if (fabs(eta) < 1.15)
167  res = 8.13896e-05 + 0.000432844 * exp(-(0.0480919 * pt));
168  else if (fabs(eta) < 1.3)
169  res = 7.93329e-05 + 0.000333341 * exp(-(0.0367028 * pt));
170  else if (fabs(eta) < 1.6)
171  res = 9.34279e-05 + 0.000372581 * exp(-(0.0429296 * pt));
172  else if (fabs(eta) < 1.9)
173  res = 0.000112312 + 0.000479423 * exp(-(0.0513205 * pt));
174  else if (fabs(eta) < 2.5)
175  res = 0.000144398 + 0.000432592 * exp(-(0.0400788 * pt));
176  return res;
177 }

References PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by Particle.Particle::__str__(), StKinFitter::addKinFitInfo(), ntupleDataFormat.Track::phiPull(), and CovarianceMatrix::setupMatrix().

◆ pt()

double res::HelperMuon::pt ( double  pt,
double  eta 
)
inline

◆ theta()

double res::HelperMuon::theta ( double  pt,
double  eta 
)
inline

Definition at line 129 of file Muon.h.

129  {
130  double res = 1000.;
131  if (fabs(eta) < 0.17)
132  res = 0.000327129 + 0.000101907 * exp(-(0.0172489 * pt));
133  else if (fabs(eta) < 0.35)
134  res = 0.00025588 + 9.99049e-05 * exp(-(0.0189315 * pt));
135  else if (fabs(eta) < 0.5)
136  res = 0.000215701 + 0.000109968 * exp(-(0.0406069 * pt));
137  else if (fabs(eta) < 0.7)
138  res = 0.000196151 + 5.66998e-05 * exp(-(0.0263501 * pt));
139  else if (fabs(eta) < 0.9)
140  res = 0.000106579 + 0.000113065 * exp(-(0.00377145 * pt));
141  else if (fabs(eta) < 1.15)
142  res = 0.000120697 + 0.0001408 * exp(-(0.0520758 * pt));
143  else if (fabs(eta) < 1.3)
144  res = 9.57227e-05 + 0.000205436 * exp(-(0.0633277 * pt));
145  else if (fabs(eta) < 1.6)
146  res = 8.56706e-05 + 0.000117908 * exp(-(0.0582652 * pt));
147  else if (fabs(eta) < 1.9)
148  res = 6.62861e-05 + 0.000110841 * exp(-(0.0640963 * pt));
149  else if (fabs(eta) < 2.5)
150  res = 6.3783e-05 + 0.000122656 * exp(-(0.0974097 * pt));
151  return res;
152 }

References PVValHelper::eta, JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by CovarianceMatrix::setupMatrix(), and Tau.Tau::zImpact().

res
Definition: Electron.h:6
res::HelperMuon::eta
double eta(double pt, double eta)
Definition: Muon.h:204
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
res::HelperMuon::pt
double pt(double pt, double eta)
Definition: Muon.h:24
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37