BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TKFun.h
Go to the documentation of this file.
1#ifndef RAD_TKFun
2#define RAD_TKFun
3
4//#include "TF1.h"
5#include "TLi2.h"
6#include "TRadSpline.h"
7
8class TKFun{
9protected:
10 double fxmin;
11 double fxmax;
12 // TF1 *fkfun;
14public:
16 TKFun(const double&);
17 virtual ~TKFun();
18 virtual void Init();
19 virtual void Init(const double&);
20 virtual double kfun(const double &x);
21 virtual inline double Eval(const double &x){return fk->Eval(x);}
22 virtual inline double Eval(const double &z1, const double &z2, const double &c){
23 double v = (z1-z2)/(z1+z2);
24 double cs = (c-v)/(1-c*v);
25 return Eval(cs);
26 }
27};
28
29#endif //#ifndef RAD_TKFun
Double_t x[10]
**********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
Definition: TKFun.h:8
double fxmin
Definition: TKFun.h:10
virtual double Eval(const double &x)
Definition: TKFun.h:21
virtual double kfun(const double &x)
double fxmax
Definition: TKFun.h:11
TRadSpline * fk
Definition: TKFun.h:13
virtual double Eval(const double &z1, const double &z2, const double &c)
Definition: TKFun.h:22
virtual void Init()
virtual void Init(const double &)
virtual ~TKFun()
TKFun(const double &)
virtual double Eval(double x) const =0