![]() |
MaCh3
2.2.3
Reference Guide
|
CW: Reduced TSpline3 class. More...
#include <Splines/SplineStructs.h>
Public Member Functions | |
TSpline3_red () | |
Empty constructor. More... | |
TSpline3_red (TSpline3 *&spline, SplineInterpolation InterPolation=kTSpline3) | |
The constructor that takes a TSpline3 pointer and copies in to memory. More... | |
TSpline3_red (M3::float_t *X, M3::float_t *Y, M3::int_t N, M3::float_t **P) | |
constructor taking parameters More... | |
void | SetFunc (TSpline3 *&spline, SplineInterpolation InterPolation=kTSpline3) |
Set the function [25]. More... | |
virtual | ~TSpline3_red () |
Empty destructor. More... | |
int | FindX (double x) |
Find the segment relevant to this variation in x. More... | |
double | Eval (double var) override |
CW: Evaluate the weight from a variation. More... | |
M3::int_t | GetNp () override |
CW: Get the number of points. More... | |
void | GetKnot (int i, M3::float_t &xtmp, M3::float_t &ytmp) |
void | GetCoeff (int segment, M3::float_t &x, M3::float_t &y, M3::float_t &b, M3::float_t &c, M3::float_t &d) |
CW: Get the coefficient of a given segment. More... | |
TSpline3 * | ConstructTSpline3 () |
CW: Make a TSpline3 from the reduced splines. More... | |
void | Print () override |
Print detailed info. More... | |
![]() | |
TResponseFunction_red () | |
Empty constructor. More... | |
virtual | ~TResponseFunction_red () |
Empty destructor. More... | |
Protected Attributes | |
M3::int_t | nPoints |
Number of points/knot in TSpline3. More... | |
M3::float_t ** | Par |
Always uses a third order polynomial, so hard-code the number of coefficients in implementation. More... | |
M3::float_t * | XPos |
Positions of each x for each knot. More... | |
M3::float_t * | YResp |
y-value for each knot More... | |
CW: Reduced TSpline3 class.
Definition at line 267 of file SplineStructs.h.
|
inline |
Empty constructor.
Definition at line 271 of file SplineStructs.h.
|
inline |
The constructor that takes a TSpline3 pointer and copies in to memory.
Definition at line 279 of file SplineStructs.h.
|
inline |
constructor taking parameters
Definition at line 287 of file SplineStructs.h.
|
inlinevirtual |
Empty destructor.
Definition at line 657 of file SplineStructs.h.
|
inline |
CW: Make a TSpline3 from the reduced splines.
Definition at line 738 of file SplineStructs.h.
|
inlineoverridevirtual |
CW: Evaluate the weight from a variation.
Implements TResponseFunction_red.
Definition at line 708 of file SplineStructs.h.
|
inline |
Find the segment relevant to this variation in x.
root/hist/hist/src/TSpline3::FindX(double)
or FindSplineSegment
Definition at line 674 of file SplineStructs.h.
|
inline |
|
inline |
Definition at line 723 of file SplineStructs.h.
|
inlineoverridevirtual |
CW: Get the number of points.
Implements TResponseFunction_red.
Definition at line 721 of file SplineStructs.h.
|
inlineoverridevirtual |
Print detailed info.
Implements TResponseFunction_red.
Definition at line 759 of file SplineStructs.h.
|
inline |
Set the function [25].
Definition at line 313 of file SplineStructs.h.
|
protected |
Number of points/knot in TSpline3.
Definition at line 770 of file SplineStructs.h.
|
protected |
Always uses a third order polynomial, so hard-code the number of coefficients in implementation.
Definition at line 772 of file SplineStructs.h.
|
protected |
Positions of each x for each knot.
Definition at line 774 of file SplineStructs.h.
|
protected |
y-value for each knot
Definition at line 776 of file SplineStructs.h.