#include <MuScleFitCorrector_Functions.h>
|
virtual int | parNum () const |
|
virtual double | scale (const double &pt, const double &eta, const double &phi, const int chg, const T &parScale) const =0 |
|
virtual | ~scaleFunctionBase ()=0 |
|
|
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) |
|
template<class T>
class heppy::scaleFunctionBase< T >
Definition at line 40 of file MuScleFitCorrector_Functions.h.
◆ ~scaleFunctionBase()
◆ parNum()
◆ scale()
template<class T>
virtual double heppy::scaleFunctionBase< T >::scale |
( |
const double & |
pt, |
|
|
const double & |
eta, |
|
|
const double & |
phi, |
|
|
const int |
chg, |
|
|
const T & |
parScale |
|
) |
| const |
|
pure virtual |
◆ setPar()
template<class T>
virtual void heppy::scaleFunctionBase< T >::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 |
|
) |
| |
|
inlineprotectedvirtual |
Definition at line 49 of file MuScleFitCorrector_Functions.h.
58 if (
int(parSet.size()) != this->
parNum_) {
59 std::cout <<
"Error: wrong number of parameter initializations = " << parSet.size()
60 <<
". Number of parameters is " << this->
parNum_ << std::endl;
63 for (
int iPar = 0; iPar < this->
parNum_; ++iPar) {
64 Start[iPar] = parResol[iPar];
65 Step[iPar] = parSet[iPar].step;
66 Mini[iPar] = parSet[iPar].mini;
67 Maxi[iPar] = parSet[iPar].maxi;
68 ind[iPar] = parResolOrder[iPar];
69 parname[iPar] = parSet[iPar].name;
◆ parNum_