CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Protected Member Functions | Protected Attributes
backgroundFunctionBase Class Referenceabstract

#include <Functions.h>

Inheritance diagram for backgroundFunctionBase:
backgroundFunctionType1 backgroundFunctionType10 backgroundFunctionType11 backgroundFunctionType2 backgroundFunctionType4 backgroundFunctionType5 backgroundFunctionType6 backgroundFunctionType7 backgroundFunctionType8 backgroundFunctionType9

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

FunctionForIntegralfunctionForIntegral_
 
double lowerLimit_
 
int parNum_
 
double upperLimit_
 

Detailed Description

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 1132 of file Functions.h.

Constructor & Destructor Documentation

backgroundFunctionBase::backgroundFunctionBase ( const double &  lowerLimit,
const double &  upperLimit 
)
inline

Definition at line 1134 of file Functions.h.

virtual backgroundFunctionBase::~backgroundFunctionBase ( )
inlinevirtual

Definition at line 1136 of file Functions.h.

Member Function Documentation

virtual double backgroundFunctionBase::fracVsEta ( const double *  parval,
const double &  eta1,
const double &  eta2 
) const
inlinevirtual
virtual TF1* backgroundFunctionBase::functionForIntegral ( const std::vector< double >::const_iterator &  parBgrIt) const
inlinevirtual

Definition at line 1148 of file Functions.h.

virtual double backgroundFunctionBase::operator() ( const double *  parval,
const double &  mass,
const double &  eta 
) const
pure virtual
virtual double backgroundFunctionBase::operator() ( const double *  parval,
const double &  mass,
const double &  eta1,
const double &  eta2 
) const
inlinevirtual
virtual int backgroundFunctionBase::parNum ( ) const
inlinevirtual

Definition at line 1145 of file Functions.h.

virtual void backgroundFunctionBase::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 
)
inlineprotectedvirtual

This method sets the parameters.

Definition at line 1162 of file Functions.h.

virtual void backgroundFunctionBase::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 
)
pure virtual

Member Data Documentation

FunctionForIntegral* backgroundFunctionBase::functionForIntegral_
mutableprotected

Definition at line 1199 of file Functions.h.

double backgroundFunctionBase::lowerLimit_
protected

Definition at line 1159 of file Functions.h.

int backgroundFunctionBase::parNum_
protected

Definition at line 1158 of file Functions.h.

double backgroundFunctionBase::upperLimit_
protected

Definition at line 1160 of file Functions.h.