BOSS 8.0.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 "TDFun.h"
5#include "TEvent.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;
15
16public:
18 virtual ~TVCrossPart(){};
19 virtual void Init(){};
20 virtual double GetValue( const unsigned int ) { return 0; };
21 void PrintEvent() { fEvent->Print(); }
22 inline void GetEvent( double& p0, double& t0, double& ph0, double& p1, double& t1,
23 double& ph ) {
24 fEvent->GetEvent( p0, t0, ph0, p1, t1, ph );
25 }
26 inline void GetEvent( double* m, int& n ) { fEvent->GetEvent( m, n ); }
27 inline TEvent* GetEvent() { return fEvent; }
28 unsigned int GetNPart() { return fNPart; }
29 virtual void SetThetaMin( const double& ) = 0;
30 virtual void SetHardPhoton( const bool& x ) { fHardPhoton = x; }
31 void SetZeroVP() { fZeroVP = true; }
32 void SetDefaultVP() { fZeroVP = false; }
33 void SetNoFSR() { fNoFSR = true; }
34 virtual double BornShift( const double&, const double&, const double& ) = 0;
35 double BornCrossSection( const double& );
36};
37
38#endif // #ifndef RAD_TVCrossPart
double p1[4]
const Int_t n
int ph0
Definition TDFun.h:7
void SetDefaultVP()
Definition TVCrossPart.h:32
TDFun * fD
Definition TVCrossPart.h:11
unsigned int GetNPart()
Definition TVCrossPart.h:28
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:22
void SetNoFSR()
Definition TVCrossPart.h:33
bool fHardPhoton
Definition TVCrossPart.h:12
TEvent * GetEvent()
Definition TVCrossPart.h:27
virtual void SetHardPhoton(const bool &x)
Definition TVCrossPart.h:30
void PrintEvent()
Definition TVCrossPart.h:21
virtual void Init()
Definition TVCrossPart.h:19
double BornCrossSection(const double &)
virtual void SetThetaMin(const double &)=0
virtual ~TVCrossPart()
Definition TVCrossPart.h:18
virtual double GetValue(const unsigned int)
Definition TVCrossPart.h:20
void SetZeroVP()
Definition TVCrossPart.h:31
TEvent * fEvent
Definition TVCrossPart.h:10
unsigned int fNPart
Definition TVCrossPart.h:9
void GetEvent(double *m, int &n)
Definition TVCrossPart.h:26