BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
TRadSpline Class Referenceabstract

#include <TRadSpline.h>

+ Inheritance diagram for TRadSpline:

Public Member Functions

 TRadSpline ()
 
 TRadSpline (const char *title, double delta, double xmin, double xmax, int np, bool step)
 
virtual ~TRadSpline ()
 
virtual void GetKnot (int i, double &x, double &y) const =0
 
virtual int GetNpx () const
 
virtual double Eval (double x) const =0
 
virtual void SaveAs (const char *) const
 
void SetNpx (int n)
 

Protected Member Functions

virtual void BuildCoeff ()=0
 

Protected Attributes

double fDelta
 
double fXmin
 
double fXmax
 
int fNp
 
bool fKstep
 
int fNpx
 

Detailed Description

Definition at line 4 of file TRadSpline.h.

Constructor & Destructor Documentation

◆ TRadSpline() [1/2]

TRadSpline::TRadSpline ( )
inline

Definition at line 16 of file TRadSpline.h.

16 : fDelta(-1), fXmin(0), fXmax(0),
17 fNp(0), fKstep(false), fNpx(100) {}
bool fKstep
Definition: TRadSpline.h:10
double fXmin
Definition: TRadSpline.h:7
double fDelta
Definition: TRadSpline.h:6
double fXmax
Definition: TRadSpline.h:8

◆ TRadSpline() [2/2]

TRadSpline::TRadSpline ( const char *  title,
double  delta,
double  xmin,
double  xmax,
int  np,
bool  step 
)
inline

Definition at line 18 of file TRadSpline.h.

19 :
20 fDelta(delta), fXmin(xmin),
21 fXmax(xmax), fNp(np), fKstep(step),
22 fNpx(100) {}

◆ ~TRadSpline()

virtual TRadSpline::~TRadSpline ( )
inlinevirtual

Definition at line 23 of file TRadSpline.h.

23{}

Member Function Documentation

◆ BuildCoeff()

virtual void TRadSpline::BuildCoeff ( )
protectedpure virtual

◆ Eval()

virtual double TRadSpline::Eval ( double  x) const
pure virtual

◆ GetKnot()

virtual void TRadSpline::GetKnot ( int  i,
double &  x,
double &  y 
) const
pure virtual

Implemented in TRadSpline3, and TRadSpline5.

◆ GetNpx()

virtual int TRadSpline::GetNpx ( ) const
inlinevirtual

Definition at line 26 of file TRadSpline.h.

26{return fNpx;}

◆ SaveAs()

virtual void TRadSpline::SaveAs ( const char *  ) const
inlinevirtual

Reimplemented in TRadSpline3, and TRadSpline5.

Definition at line 29 of file TRadSpline.h.

29{;}

◆ SetNpx()

void TRadSpline::SetNpx ( int  n)
inline

Definition at line 30 of file TRadSpline.h.

30{fNpx=n;}
const Int_t n

Member Data Documentation

◆ fDelta

double TRadSpline::fDelta
protected

Definition at line 6 of file TRadSpline.h.

◆ fKstep

bool TRadSpline::fKstep
protected

Definition at line 10 of file TRadSpline.h.

◆ fNp

int TRadSpline::fNp
protected

Definition at line 9 of file TRadSpline.h.

◆ fNpx

int TRadSpline::fNpx
protected

Definition at line 11 of file TRadSpline.h.

Referenced by GetNpx(), and SetNpx().

◆ fXmax

double TRadSpline::fXmax
protected

Definition at line 8 of file TRadSpline.h.

◆ fXmin

double TRadSpline::fXmin
protected

Definition at line 7 of file TRadSpline.h.


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