CMS 3D CMS Logo

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

#include <Functions.h>

Inheritance diagram for scaleFunctionType0< T >:
scaleFunctionBase< T >

Public Member Functions

void resetParameters (std::vector< double > *scaleVec) const override
 This method is used to reset the scale parameters to neutral values (useful for iterations > 0) More...
 
double scale (const double &pt, const double &eta, const double &phi, const int chg, const T &parScale) const override
 
 scaleFunctionType0 ()
 
void setParameters (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const T &parScale, const std::vector< int > &parScaleOrder, const int muonType) override
 This method is used to differentiate parameters among the different functions. More...
 
- Public Member Functions inherited from scaleFunctionBase< T >
virtual int parNum () const
 
virtual int parNum () const
 
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 ~scaleFunctionBase ()=0
 
virtual ~scaleFunctionBase ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from scaleFunctionBase< 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< ParSet > &parSet)
 
virtual void setPar (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const T &parScale, const std::vector< int > &parScaleOrder, double *thisStep, double *thisMini, double *thisMaxi, TString *thisParName)
 This method sets the parameters. More...
 
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)
 
- Protected Attributes inherited from scaleFunctionBase< T >
int parNum_
 

Detailed Description

template<class T>
class scaleFunctionType0< T >

Definition at line 108 of file Functions.h.

Constructor & Destructor Documentation

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

Definition at line 110 of file Functions.h.

110  {
111  // One of the two is required. This follows from when templates are used by the compiler and the names lookup rules in c++.
112  // scaleFunctionBase<T>::parNum_ = 0;
113  this->parNum_ = 0;
114  }

Member Function Documentation

template<class T >
void scaleFunctionType0< T >::resetParameters ( std::vector< double > *  scaleVec) const
inlineoverridevirtual

This method is used to reset the scale parameters to neutral values (useful for iterations > 0)

Reimplemented from scaleFunctionBase< T >.

Definition at line 116 of file Functions.h.

116 {}
template<class T >
double scaleFunctionType0< T >::scale ( const double &  pt,
const double &  eta,
const double &  phi,
const int  chg,
const T parScale 
) const
inlineoverridevirtual

Implements scaleFunctionBase< T >.

Definition at line 115 of file Functions.h.

References EnergyCorrector::pt.

115 { return pt; }
template<class T >
void scaleFunctionType0< T >::setParameters ( double *  Start,
double *  Step,
double *  Mini,
double *  Maxi,
int *  ind,
TString *  parname,
const T parScale,
const std::vector< int > &  parScaleOrder,
const int  muonType 
)
inlineoverridevirtual

This method is used to differentiate parameters among the different functions.

Implements scaleFunctionBase< T >.

Definition at line 117 of file Functions.h.

117 {}