#include <Functions.h>
Public Member Functions | |
virtual void | smear (double &pt, double &eta, double &phi, const double *y, const std::vector< double > &parSmear)=0 |
smearFunctionBase () | |
virtual | ~smearFunctionBase ()=0 |
Protected Member Functions | |
void | smearEta (double &eta) |
Protected Attributes | |
double | cotgth_ |
TRandom * | gRandom_ |
Definition at line 1345 of file Functions.h.
smearFunctionBase::smearFunctionBase | ( | ) | [inline] |
smearFunctionBase::~smearFunctionBase | ( | ) | [inline, pure virtual] |
Definition at line 1367 of file Functions.h.
{ } // defined even though it's pure virtual; should be faster this way.
virtual void smearFunctionBase::smear | ( | double & | pt, |
double & | eta, | ||
double & | phi, | ||
const double * | y, | ||
const std::vector< double > & | parSmear | ||
) | [pure virtual] |
Implemented in smearFunctionType0, smearFunctionType1, smearFunctionType2, smearFunctionType3, smearFunctionType4, smearFunctionType5, smearFunctionType6, and smearFunctionType7.
Referenced by MuScleFitUtils::applySmearing().
void smearFunctionBase::smearEta | ( | double & | eta | ) | [inline, protected] |
Definition at line 1354 of file Functions.h.
References cotgth_, funct::log(), Pi, funct::tan(), and theta().
Referenced by smearFunctionType3::smear(), smearFunctionType4::smear(), smearFunctionType5::smear(), smearFunctionType1::smear(), and smearFunctionType2::smear().
double smearFunctionBase::cotgth_ [protected] |
Definition at line 1364 of file Functions.h.
Referenced by smearFunctionType3::smear(), smearFunctionType4::smear(), smearFunctionType5::smear(), smearFunctionType1::smear(), smearFunctionType2::smear(), smearEta(), and smearFunctionBase().
TRandom* smearFunctionBase::gRandom_ [protected] |
Definition at line 1365 of file Functions.h.
Referenced by smearFunctionType6::smear(), and smearFunctionBase().