![]() |
MaCh3 2.2.1
Reference Guide
|
EW: As SplineBase is an abstract base class we have to do some gymnastics to get it to get it into python. More...
Public Member Functions | |
void | Evaluate () override |
CW: This Eval should be used when using two separate x,{y,a,b,c,d} arrays to store the weights; probably the best one here! Same thing but pass parameter spline segments instead of variations. | |
std::string | GetName () const override |
Get class name. | |
void | FindSplineSegment () |
void | CalcSplineWeights () override |
CPU based code which eval weight for each spline. | |
void | ModifyWeights () override |
Calc total event weight. | |
SplineBase () | |
Constructor. | |
![]() | |
SplineBase () | |
Constructor. | |
virtual | ~SplineBase () |
Destructor. | |
virtual void | Evaluate ()=0 |
CW: This Eval should be used when using two separate x,{y,a,b,c,d} arrays to store the weights; probably the best one here! Same thing but pass parameter spline segments instead of variations. | |
virtual std::string | GetName () const |
Get class name. | |
short int | GetNParams () const |
Get number of spline parameters. | |
Additional Inherited Members | |
![]() | |
void | FindSplineSegment () |
CW:Code used in step by step reweighting, Find Spline Segment for each param. | |
virtual void | CalcSplineWeights ()=0 |
CPU based code which eval weight for each spline. | |
virtual void | ModifyWeights ()=0 |
Calc total event weight. | |
void | getTF1Coeff (TF1_red *&spl, int &nPoints, float *&coeffs) |
CW: Gets the polynomial coefficients for TF1. | |
![]() | |
std::vector< FastSplineInfo > | SplineInfoArray |
short int * | SplineSegments |
float * | ParamValues |
Store parameter values they are not in FastSplineInfo as in case of GPU we need to copy paste it to GPU. | |
short int | nParams |
Number of parameters that have splines. | |
EW: As SplineBase is an abstract base class we have to do some gymnastics to get it to get it into python.
Definition at line 19 of file splines.cpp.
|
inlineoverridevirtual |
CPU based code which eval weight for each spline.
Implements SplineBase.
Definition at line 52 of file splines.cpp.
|
inlineoverridevirtual |
CW: This Eval should be used when using two separate x,{y,a,b,c,d} arrays to store the weights; probably the best one here! Same thing but pass parameter spline segments instead of variations.
Implements SplineBase.
Definition at line 25 of file splines.cpp.
|
inline |
Definition at line 43 of file splines.cpp.
|
inlineoverridevirtual |
Get class name.
Reimplemented from SplineBase.
Definition at line 34 of file splines.cpp.
|
inlineoverridevirtual |
Calc total event weight.
Implements SplineBase.
Definition at line 61 of file splines.cpp.
SplineBase::SplineBase | ( | ) |
Constructor.
Definition at line 28 of file SplineBase.cpp.