CMS 3D CMS Logo

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

#include <MuScleFitCorrector_Functions.h>

Inheritance diagram for resolutionFunction45< T >:
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 resolutionFunctionBase< T >
virtual double covPt1Pt2 (const double &pt1, const double &eta1, const double &pt2, const double &eta2, const T &parval)
 
virtual int parNum () const
 
virtual int parNum () const
 
 resolutionFunctionBase ()
 
 resolutionFunctionBase ()
 
virtual void setParameters (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const T &parResol, const std::vector< int > &parResolOrder, const int muonType)
 This method is used to differentiate parameters among the different functions. More...
 
virtual void setParameters (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const T &parResol, const std::vector< int > &parResolOrder, const std::vector< double > &parStep, const std::vector< double > &parMin, const std::vector< double > &parMax, const int muonType)
 
virtual double sigmaCotgTh (const double &pt, const double &eta, const T &parval)=0
 
virtual double sigmaPhi (const double &pt, const double &eta, const T &parval)=0
 
virtual double sigmaPtError (const double &pt, const double &eta, const T &parval, const T &parError)
 
virtual ~resolutionFunctionBase ()=0
 
virtual ~resolutionFunctionBase ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from resolutionFunctionBase< T >
virtual void setPar (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const T &parResol, const std::vector< int > &parResolOrder, const std::vector< ParameterSet > &parSet)
 
virtual void setPar (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const T &parResol, const std::vector< int > &parResolOrder, double *thisStep, double *thisMini, double *thisMaxi, TString *thisParName)
 This method sets the parameters. More...
 
- Protected Attributes inherited from resolutionFunctionBase< T >
int parNum_
 

Detailed Description

template<class T>
class resolutionFunction45< T >

Definition at line 150 of file MuScleFitCorrector_Functions.h.

Constructor & Destructor Documentation

◆ resolutionFunction45()

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

Definition at line 152 of file MuScleFitCorrector_Functions.h.

152 { this->parNum_ = 13; }

References resolutionFunctionBase< T >::parNum_.

Member Function Documentation

◆ getGEO()

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

Definition at line 154 of file MuScleFitCorrector_Functions.h.

154 { return parval[0]; }

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

◆ getMS()

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

Definition at line 156 of file MuScleFitCorrector_Functions.h.

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

References PVValHelper::eta.

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

◆ sigmaPt()

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