BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TVCrossPart.h
Go to the documentation of this file.
1#ifndef RAD_TVCrossPart
2#define RAD_TVCrossPart
3
4#include "TEvent.h"
5#include "TDFun.h"
6
8protected:
9 unsigned int fNPart; // Number of kinematics region of matrix element
10 TEvent *fEvent; // Make & Select events class
11 TDFun *fD; // Structure function for electrons
13 bool fZeroVP;
14 bool fNoFSR;
15public:
17 virtual ~TVCrossPart(){};
18 virtual void Init(){};
19 virtual double GetValue(const unsigned int){return 0;};
21 inline void GetEvent(double &p0, double &t0, double &ph0,
22 double &p1, double &t1, double &ph){
23 fEvent->GetEvent(p0, t0, ph0, p1, t1, ph);
24 }
25 inline void GetEvent(double *m, int &n){
26 fEvent->GetEvent(m,n);
27 }
28 inline TEvent *GetEvent(){return fEvent;}
29 unsigned int GetNPart(){return fNPart;}
30 virtual void SetThetaMin(const double &)=0;
31 virtual void SetHardPhoton(const bool &x){fHardPhoton = x;}
32 void SetZeroVP(){fZeroVP = true;}
33 void SetDefaultVP(){fZeroVP = false;}
34 void SetNoFSR(){fNoFSR = true;}
35 virtual double BornShift(const double&, const double&, const double&)=0;
36 double BornCrossSection(const double&);
37};
38
39#endif //#ifndef RAD_TVCrossPart
const Int_t n
Double_t x[10]
int ph0
Definition: TDFun.h:7
Definition: TEvent.h:13
void GetEvent(double &p0, double &t0, double &ph0, double &p1, double &t1, double &ph1)
Definition: TEvent.h:56
void Print()
void SetDefaultVP()
Definition: TVCrossPart.h:33
TDFun * fD
Definition: TVCrossPart.h:11
unsigned int GetNPart()
Definition: TVCrossPart.h:29
virtual double BornShift(const double &, const double &, const double &)=0
void GetEvent(double &p0, double &t0, double &ph0, double &p1, double &t1, double &ph)
Definition: TVCrossPart.h:21
void SetNoFSR()
Definition: TVCrossPart.h:34
bool fHardPhoton
Definition: TVCrossPart.h:12
TEvent * GetEvent()
Definition: TVCrossPart.h:28
virtual void SetHardPhoton(const bool &x)
Definition: TVCrossPart.h:31
void PrintEvent()
Definition: TVCrossPart.h:20
virtual void Init()
Definition: TVCrossPart.h:18
double BornCrossSection(const double &)
virtual void SetThetaMin(const double &)=0
virtual ~TVCrossPart()
Definition: TVCrossPart.h:17
virtual double GetValue(const unsigned int)
Definition: TVCrossPart.h:19
bool fZeroVP
Definition: TVCrossPart.h:13
void SetZeroVP()
Definition: TVCrossPart.h:32
TEvent * fEvent
Definition: TVCrossPart.h:10
unsigned int fNPart
Definition: TVCrossPart.h:9
void GetEvent(double *m, int &n)
Definition: TVCrossPart.h:25