CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
TRadSplinePoly5 Class Reference

#include <TRadSpline.h>

+ Inheritance diagram for TRadSplinePoly5:

Public Member Functions

 TRadSplinePoly5 ()
 
 TRadSplinePoly5 (double x, double y, double b, double c, double d, double e, double f)
 
double & B ()
 
double & C ()
 
double & D ()
 
double & E ()
 
double & F ()
 
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 82 of file TRadSpline.h.

Constructor & Destructor Documentation

◆ TRadSplinePoly5() [1/2]

TRadSplinePoly5::TRadSplinePoly5 ( )
inline

Definition at line 90 of file TRadSpline.h.

90 :
91 fB(0), fC(0), fD(0), fE(0), fF(0) {}

◆ TRadSplinePoly5() [2/2]

TRadSplinePoly5::TRadSplinePoly5 ( double  x,
double  y,
double  b,
double  c,
double  d,
double  e,
double  f 
)
inline

Definition at line 92 of file TRadSpline.h.

93 :
94 TRadSplinePoly(x,y), fB(b), fC(c), fD(d), fE(e), fF(f) {}

Member Function Documentation

◆ B()

double & TRadSplinePoly5::B ( )
inline

Definition at line 95 of file TRadSpline.h.

95{return fB;}

Referenced by TRadSpline5::GetCoeff().

◆ C()

double & TRadSplinePoly5::C ( )
inline

Definition at line 96 of file TRadSpline.h.

96{return fC;}

Referenced by TRadSpline5::GetCoeff().

◆ D()

double & TRadSplinePoly5::D ( )
inline

Definition at line 97 of file TRadSpline.h.

97{return fD;}

Referenced by TRadSpline5::GetCoeff().

◆ Derivative()

double TRadSplinePoly5::Derivative ( double  x) const
inline

Definition at line 104 of file TRadSpline.h.

104 {
105 double dx=x-fX;
106 return (fB+2*fC*dx+3*fD*dx*dx+4*fE*dx*dx*dx+5*fF*dx*dx*dx*dx);
107 }
Double_t x[10]

◆ E()

double & TRadSplinePoly5::E ( )
inline

Definition at line 98 of file TRadSpline.h.

98{return fE;}

Referenced by TRadSpline5::GetCoeff().

◆ Eval()

double TRadSplinePoly5::Eval ( double  x) const
inlinevirtual

Reimplemented from TRadSplinePoly.

Definition at line 100 of file TRadSpline.h.

100 {
101 double dx=x-fX;
102 return (fY+dx*(fB+dx*(fC+dx*(fD+dx*(fE+dx*fF)))));
103 }

◆ F()

double & TRadSplinePoly5::F ( )
inline

Definition at line 99 of file TRadSpline.h.

99{return fF;}

Referenced by TRadSpline5::GetCoeff().


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