CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TEKFun Class Reference

#include <TEKFun.h>

Public Member Functions

 TEKFun ()
 
 TEKFun (const double &th)
 
 ~TEKFun ()
 
void Init ()
 
void Init (const double &)
 
double kfun (const double &)
 
double Eval (const double &x)
 
double Eval (const double &z1, const double &z2, const double &c)
 

Protected Attributes

double fxmin
 
double fxmax
 
TRadSplinefk
 

Detailed Description

Definition at line 7 of file TEKFun.h.

Constructor & Destructor Documentation

◆ TEKFun() [1/2]

TEKFun::TEKFun ( )

◆ TEKFun() [2/2]

TEKFun::TEKFun ( const double &  th)

◆ ~TEKFun()

TEKFun::~TEKFun ( )

Member Function Documentation

◆ Eval() [1/2]

double TEKFun::Eval ( const double &  x)
inline

Definition at line 20 of file TEKFun.h.

20{return fk->Eval(x);}
TRadSpline * fk
Definition: TEKFun.h:12
virtual double Eval(double x) const =0

Referenced by Eval().

◆ Eval() [2/2]

double TEKFun::Eval ( const double &  z1,
const double &  z2,
const double &  c 
)
inline

Definition at line 21 of file TEKFun.h.

21 {
22 double v = (z1-z2)/(z1+z2);
23 double cs = (c-v)/(1-c*v);
24 // std::cout<<"KKK "<<z1<<" "<<z2<<" "<<c<<" "<<cs<<std::endl;
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
double Eval(const double &x)
Definition: TEKFun.h:20

◆ Init() [1/2]

void TEKFun::Init ( )

◆ Init() [2/2]

void TEKFun::Init ( const double &  )

◆ kfun()

double TEKFun::kfun ( const double &  )

Member Data Documentation

◆ fk

TRadSpline* TEKFun::fk
protected

Definition at line 12 of file TEKFun.h.

Referenced by Eval().

◆ fxmax

double TEKFun::fxmax
protected

Definition at line 10 of file TEKFun.h.

◆ fxmin

double TEKFun::fxmin
protected

Definition at line 9 of file TEKFun.h.


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