#include <Functions.h>
Classes | |
class | FunctionForIntegral |
Public Member Functions | |
backgroundFunctionBase (const double &lowerLimit, const double &upperLimit) | |
virtual double | fracVsEta (const double *parval, const double &eta1, const double &eta2) const |
virtual TF1 * | functionForIntegral (const std::vector< double >::const_iterator &parBgrIt) const |
virtual double | operator() (const double *parval, const double &mass, const double &eta) const =0 |
virtual double | operator() (const double *parval, const double &mass, const double &eta1, const double &eta2) const |
virtual int | parNum () const |
virtual void | setParameters (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const std::vector< double >::const_iterator &parBgrIt, const std::vector< int >::const_iterator &parBgrOrderIt, const int muonType)=0 |
This method is used to differentiate parameters among the different functions. More... | |
virtual | ~backgroundFunctionBase () |
Protected Member Functions | |
virtual void | setPar (double *Start, double *Step, double *Mini, double *Maxi, int *ind, TString *parname, const std::vector< double >::const_iterator &parBgrIt, const std::vector< int >::const_iterator &parBgrOrderIt, double *thisStep, double *thisMini, double *thisMaxi, TString *thisParName) |
This method sets the parameters. More... | |
Protected Attributes | |
FunctionForIntegral * | functionForIntegral_ |
double | lowerLimit_ |
int | parNum_ |
double | upperLimit_ |
Background functors.
MuScleFit uses different background functions for each resonance. This is done because the background shape can change from a region to another so that it is not well described just one of the following functions. Since we are only interested in getting the correct shape and fraction in the resonance region we can split it in several parts and fit them separately.
When fitting the background function:
Definition at line 1368 of file Functions.h.
|
inline |
Definition at line 1370 of file Functions.h.
|
inlinevirtual |
Definition at line 1372 of file Functions.h.
References functionForIntegral_.
|
inlinevirtual |
Reimplemented in backgroundFunctionType11, backgroundFunctionType10, backgroundFunctionType9, backgroundFunctionType8, backgroundFunctionType7, and backgroundFunctionType6.
Definition at line 1394 of file Functions.h.
|
inlinevirtual |
Definition at line 1388 of file Functions.h.
References functionForIntegral_, lowerLimit_, parNum_, and upperLimit_.
|
pure virtual |
|
inlinevirtual |
Reimplemented in backgroundFunctionType11, backgroundFunctionType10, backgroundFunctionType9, backgroundFunctionType8, backgroundFunctionType7, and backgroundFunctionType6.
Definition at line 1374 of file Functions.h.
References HLT_2022v15_cff::eta1, EgHLTOffHistBins_cfi::mass, and operator()().
|
inlinevirtual |
Definition at line 1377 of file Functions.h.
References parNum_.
Referenced by backgroundFunctionBase::FunctionForIntegral::FunctionForIntegral().
|
inlineprotectedvirtual |
This method sets the parameters.
Definition at line 1401 of file Functions.h.
References parNum_.
Referenced by backgroundFunctionType1::setParameters(), backgroundFunctionType2::setParameters(), backgroundFunctionType4::setParameters(), backgroundFunctionType5::setParameters(), backgroundFunctionType6::setParameters(), backgroundFunctionType7::setParameters(), backgroundFunctionType8::setParameters(), backgroundFunctionType9::setParameters(), backgroundFunctionType10::setParameters(), and backgroundFunctionType11::setParameters().
|
pure virtual |
This method is used to differentiate parameters among the different functions.
Implemented in backgroundFunctionType11, backgroundFunctionType10, backgroundFunctionType9, backgroundFunctionType8, backgroundFunctionType7, backgroundFunctionType6, backgroundFunctionType5, backgroundFunctionType4, backgroundFunctionType2, and backgroundFunctionType1.
|
mutableprotected |
Definition at line 1441 of file Functions.h.
Referenced by functionForIntegral(), and ~backgroundFunctionBase().
|
protected |
Definition at line 1398 of file Functions.h.
Referenced by functionForIntegral(), backgroundFunctionType1::operator()(), backgroundFunctionType2::operator()(), backgroundFunctionType4::operator()(), backgroundFunctionType5::operator()(), backgroundFunctionType6::operator()(), backgroundFunctionType7::operator()(), backgroundFunctionType8::operator()(), backgroundFunctionType9::operator()(), backgroundFunctionType10::operator()(), and backgroundFunctionType11::operator()().
|
protected |
Definition at line 1397 of file Functions.h.
Referenced by backgroundFunctionType1::backgroundFunctionType1(), backgroundFunctionType10::backgroundFunctionType10(), backgroundFunctionType11::backgroundFunctionType11(), backgroundFunctionType2::backgroundFunctionType2(), backgroundFunctionType4::backgroundFunctionType4(), backgroundFunctionType5::backgroundFunctionType5(), backgroundFunctionType6::backgroundFunctionType6(), backgroundFunctionType7::backgroundFunctionType7(), backgroundFunctionType8::backgroundFunctionType8(), backgroundFunctionType9::backgroundFunctionType9(), functionForIntegral(), parNum(), and setPar().
|
protected |
Definition at line 1399 of file Functions.h.
Referenced by functionForIntegral(), backgroundFunctionType1::operator()(), backgroundFunctionType2::operator()(), backgroundFunctionType4::operator()(), backgroundFunctionType5::operator()(), backgroundFunctionType6::operator()(), backgroundFunctionType7::operator()(), backgroundFunctionType8::operator()(), backgroundFunctionType9::operator()(), backgroundFunctionType10::operator()(), and backgroundFunctionType11::operator()().