Belle II Software development
|
class to contain the MC fudge factor formulae More...
#include <SVDMCFudgeFactorFunction.h>
Public Types | |
typedef double(SVDMCFudgeFactorFunction::* | fudgeFactorFunction) (double) const |
typedef of the return value of the fudge factor function | |
Public Member Functions | |
double | getFudgeFactor (double trkAngle) const |
returns the fudge factor, depending on the track's angle | |
SVDMCFudgeFactorFunction () | |
constructor | |
void | set_current (int current) |
allows to choose the function version | |
void | set_chebyCoeffs (std::vector< double > c) |
Set the vector of Chebyshev coefficients Input: | |
void | set_graphPoints (std::vector< double > x, std::vector< double > y) |
Set vectors of TGraph points (x for angles, y for sigmas) Input: | |
SVDMCFudgeFactorFunction (const Belle2::SVDMCFudgeFactorFunction &a) | |
copy constructor | |
SVDMCFudgeFactorFunction & | operator= (const Belle2::SVDMCFudgeFactorFunction &a) |
operator = | |
Private Member Functions | |
double | cheby_v0 (double trkAngle) const |
cheby_v0 implementation | |
double | tgraph_v0 (double trkAngle) const |
tgraph_v0 implementation | |
ClassDef (SVDMCFudgeFactorFunction, 2) | |
Do not stream this, please throw it in the WC. | |
Private Attributes | |
std::vector< double > | m_chebyCoeffs |
function parameters & implementations | |
std::vector< double > | m_x |
ID = {1}, rel07: fudge factor parametrized with linear interpolation between graph points. | |
std::vector< double > | m_y |
Vectors of TGraph points for the sigmas. | |
int | m_current |
current function ID | |
Static Private Attributes | |
static std::vector< fudgeFactorFunction > | m_implementations |
vector of functions for fudge factor computation, we use the m_current | |
class to contain the MC fudge factor formulae
Definition at line 28 of file SVDMCFudgeFactorFunction.h.
typedef double(SVDMCFudgeFactorFunction::* fudgeFactorFunction) (double) const |
typedef of the return value of the fudge factor function
Definition at line 33 of file SVDMCFudgeFactorFunction.h.
|
inline |
constructor
Definition at line 43 of file SVDMCFudgeFactorFunction.h.
SVDMCFudgeFactorFunction | ( | const Belle2::SVDMCFudgeFactorFunction & | a | ) |
copy constructor
Definition at line 15 of file SVDMCFudgeFactorFunction.cc.
|
inlineprivate |
cheby_v0 implementation
trkAngle | track's incident angle |
Definition at line 105 of file SVDMCFudgeFactorFunction.h.
|
inline |
returns the fudge factor, depending on the track's angle
Definition at line 36 of file SVDMCFudgeFactorFunction.h.
SVDMCFudgeFactorFunction & operator= | ( | const Belle2::SVDMCFudgeFactorFunction & | a | ) |
operator =
Definition at line 26 of file SVDMCFudgeFactorFunction.cc.
|
inline |
Set the vector of Chebyshev coefficients Input:
c |
Definition at line 68 of file SVDMCFudgeFactorFunction.h.
|
inline |
allows to choose the function version
Definition at line 57 of file SVDMCFudgeFactorFunction.h.
|
inline |
Set vectors of TGraph points (x for angles, y for sigmas) Input:
x | |
y |
Definition at line 80 of file SVDMCFudgeFactorFunction.h.
|
inlineprivate |
tgraph_v0 implementation
trkAngle | track's incident angle |
Definition at line 125 of file SVDMCFudgeFactorFunction.h.
|
private |
function parameters & implementations
ID = {0}, rel07: fudge factor parametrized with Chebyshev polynomial Vector of Chebyshev coefficients
Definition at line 99 of file SVDMCFudgeFactorFunction.h.
|
private |
current function ID
Definition at line 135 of file SVDMCFudgeFactorFunction.h.
|
staticprivate |
vector of functions for fudge factor computation, we use the m_current
Definition at line 138 of file SVDMCFudgeFactorFunction.h.
|
private |
ID = {1}, rel07: fudge factor parametrized with linear interpolation between graph points.
Vectors of TGraph points for the angles
Definition at line 117 of file SVDMCFudgeFactorFunction.h.
|
private |
Vectors of TGraph points for the sigmas.
Definition at line 119 of file SVDMCFudgeFactorFunction.h.