CMS 3D CMS Logo

List of all members | Public Member Functions
heppy::resolutionFunction45< T > Class Template Reference

#include <MuScleFitCorrector_Functions.h>

Inheritance diagram for heppy::resolutionFunction45< T >:
heppy::resolutionFunctionBase< T >

Public Member Functions

double getGEO (const double &pt, const double &eta, const T &parval)
 
double getMS (const double &pt, const double &eta, const T &parval)
 
 resolutionFunction45 ()
 
virtual double sigmaPt (const double &pt, const double &eta, const T &parval)
 
- Public Member Functions inherited from heppy::resolutionFunctionBase< T >
virtual int parNum () const
 
 resolutionFunctionBase ()
 
virtual ~resolutionFunctionBase ()=0
 

Additional Inherited Members

- Protected Attributes inherited from heppy::resolutionFunctionBase< T >
int parNum_
 

Detailed Description

template<class T>
class heppy::resolutionFunction45< T >

Definition at line 152 of file MuScleFitCorrector_Functions.h.

Constructor & Destructor Documentation

◆ resolutionFunction45()

template<class T >
heppy::resolutionFunction45< T >::resolutionFunction45 ( )
inline

Definition at line 154 of file MuScleFitCorrector_Functions.h.

154 { this->parNum_ = 13; }

References heppy::resolutionFunctionBase< T >::parNum_.

Member Function Documentation

◆ getGEO()

template<class T >
double heppy::resolutionFunction45< T >::getGEO ( const double &  pt,
const double &  eta,
const T parval 
)
inline

Definition at line 156 of file MuScleFitCorrector_Functions.h.

156 { return parval[0]; }

Referenced by heppy::resolutionFunction45< T >::sigmaPt().

◆ getMS()

template<class T >
double heppy::resolutionFunction45< T >::getMS ( const double &  pt,
const double &  eta,
const T parval 
)
inline

Definition at line 158 of file MuScleFitCorrector_Functions.h.

158  {
159  if (eta < -2.0)
160  return (parval[1]);
161  if (eta < -1.8)
162  return (parval[2]);
163  if (eta < -1.6)
164  return (parval[3]);
165  if (eta < -1.2)
166  return (parval[4]);
167  if (eta < -0.8)
168  return (parval[5]);
169  if (eta < 0.)
170  return (parval[6]);
171  if (eta < 0.8)
172  return (parval[7]);
173  if (eta < 1.2)
174  return (parval[8]);
175  if (eta < 1.6)
176  return (parval[9]);
177  if (eta < 1.8)
178  return (parval[10]);
179  if (eta < 2.0)
180  return (parval[11]);
181  return (parval[12]);
182  }

References PVValHelper::eta.

Referenced by heppy::resolutionFunction45< T >::sigmaPt().

◆ sigmaPt()

template<class T >
virtual double heppy::resolutionFunction45< T >::sigmaPt ( const double &  pt,
const double &  eta,
const T parval 
)
inlinevirtual
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
heppy::resolutionFunctionBase::parNum_
int parNum_
Definition: MuScleFitCorrector_Functions.h:145
PVValHelper::eta
Definition: PVValidationHelpers.h:70
heppy::resolutionFunction45::getGEO
double getGEO(const double &pt, const double &eta, const T &parval)
Definition: MuScleFitCorrector_Functions.h:156
heppy::resolutionFunction45::getMS
double getMS(const double &pt, const double &eta, const T &parval)
Definition: MuScleFitCorrector_Functions.h:158