BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TRadSplinePoly3 Class Reference

#include <TRadSpline.h>

+ Inheritance diagram for TRadSplinePoly3:

Public Member Functions

 TRadSplinePoly3 ()
 
 TRadSplinePoly3 (double x, double y, double b, double c, double d)
 
double & B ()
 
double & C ()
 
double & D ()
 
double Eval (double x) const
 
double Derivative (double x) const
 
- Public Member Functions inherited from TRadSplinePoly
 TRadSplinePoly ()
 
 TRadSplinePoly (double x, double y)
 
virtual ~TRadSplinePoly ()
 
double & X ()
 
double & Y ()
 
void GetKnot (double &x, double &y) const
 
virtual double Eval (double) const
 

Additional Inherited Members

- Protected Attributes inherited from TRadSplinePoly
double fX
 
double fY
 

Detailed Description

Definition at line 56 of file TRadSpline.h.

Constructor & Destructor Documentation

◆ TRadSplinePoly3() [1/2]

TRadSplinePoly3::TRadSplinePoly3 ( )
inline

Definition at line 62 of file TRadSpline.h.

62 :
63 fB(0), fC(0), fD(0) {}

◆ TRadSplinePoly3() [2/2]

TRadSplinePoly3::TRadSplinePoly3 ( double  x,
double  y,
double  b,
double  c,
double  d 
)
inline

Definition at line 64 of file TRadSpline.h.

64 :
65 TRadSplinePoly(x,y), fB(b), fC(c), fD(d) {}

Member Function Documentation

◆ B()

double & TRadSplinePoly3::B ( )
inline

Definition at line 66 of file TRadSpline.h.

66{return fB;}

Referenced by TRadSpline3::GetCoeff().

◆ C()

double & TRadSplinePoly3::C ( )
inline

Definition at line 67 of file TRadSpline.h.

67{return fC;}

Referenced by TRadSpline3::GetCoeff().

◆ D()

double & TRadSplinePoly3::D ( )
inline

Definition at line 68 of file TRadSpline.h.

68{return fD;}

Referenced by TRadSpline3::GetCoeff().

◆ Derivative()

double TRadSplinePoly3::Derivative ( double  x) const
inline

Definition at line 73 of file TRadSpline.h.

73 {
74 double dx=x-fX;
75 return (fB+2*fC*dx+3*fD*dx*dx);
76 }
Double_t x[10]

◆ Eval()

double TRadSplinePoly3::Eval ( double  x) const
inlinevirtual

Reimplemented from TRadSplinePoly.

Definition at line 69 of file TRadSpline.h.

69 {
70 double dx=x-fX;
71 return (fY+dx*(fB+dx*(fC+dx*fD)));
72 }

The documentation for this class was generated from the following file: