BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TKFun Class Reference

#include <TKFun.h>

Public Member Functions

 TKFun ()
 
 TKFun (const double &)
 
virtual ~TKFun ()
 
virtual void Init ()
 
virtual void Init (const double &)
 
virtual double kfun (const double &x)
 
virtual double Eval (const double &x)
 
virtual double Eval (const double &z1, const double &z2, const double &c)
 

Protected Attributes

double fxmin
 
double fxmax
 
TRadSplinefk
 

Detailed Description

Definition at line 8 of file TKFun.h.

Constructor & Destructor Documentation

◆ TKFun() [1/2]

TKFun::TKFun ( )

◆ TKFun() [2/2]

TKFun::TKFun ( const double &  )

◆ ~TKFun()

virtual TKFun::~TKFun ( )
virtual

Member Function Documentation

◆ Eval() [1/2]

virtual double TKFun::Eval ( const double &  x)
inlinevirtual

Definition at line 21 of file TKFun.h.

21{return fk->Eval(x);}
TRadSpline * fk
Definition: TKFun.h:13
virtual double Eval(double x) const =0

Referenced by Eval().

◆ Eval() [2/2]

virtual double TKFun::Eval ( const double &  z1,
const double &  z2,
const double &  c 
)
inlinevirtual

Definition at line 22 of file TKFun.h.

22 {
23 double v = (z1-z2)/(z1+z2);
24 double cs = (c-v)/(1-c*v);
25 return Eval(cs);
26 }
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition: KarLud.h:35
virtual double Eval(const double &x)
Definition: TKFun.h:21

◆ Init() [1/2]

virtual void TKFun::Init ( )
virtual

◆ Init() [2/2]

virtual void TKFun::Init ( const double &  )
virtual

◆ kfun()

virtual double TKFun::kfun ( const double &  x)
virtual

Member Data Documentation

◆ fk

TRadSpline* TKFun::fk
protected

Definition at line 13 of file TKFun.h.

Referenced by Eval().

◆ fxmax

double TKFun::fxmax
protected

Definition at line 11 of file TKFun.h.

◆ fxmin

double TKFun::fxmin
protected

Definition at line 10 of file TKFun.h.


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