BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TEKFun.h
Go to the documentation of this file.
1#ifndef RAD_TEKFun
2#define RAD_TEKFun
3
4//#include "TF1.h"
5#include "TRadSpline.h"
6//#include <iostream>
7class TEKFun{
8protected:
9 double fxmin;
10 double fxmax;
11 // TF1 *fkfun;
13public:
15 TEKFun(const double &th);
17 void Init();
18 void Init(const double&);
19 double kfun(const double &);
20 inline double Eval(const double &x){return fk->Eval(x);}
21 inline double Eval(const double &z1, const double &z2, const double &c){
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 }
27};
28
29#endif //#ifndef RAD_TEKFun
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: TEKFun.h:7
double Eval(const double &z1, const double &z2, const double &c)
Definition: TEKFun.h:21
void Init(const double &)
TRadSpline * fk
Definition: TEKFun.h:12
void Init()
double Eval(const double &x)
Definition: TEKFun.h:20
double fxmax
Definition: TEKFun.h:10
TEKFun(const double &th)
double fxmin
Definition: TEKFun.h:9
double kfun(const double &)
virtual double Eval(double x) const =0