CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
TPhotonD Class Reference

#include <TPhoton.h>

+ Inheritance diagram for TPhotonD:

Public Member Functions

 TPhotonD ()
 
void Init ()
 
void Init (const double &, const double &)
 
double GetEnergy ()
 
double GetEnergy (const double &delta, const double &b2)
 
double GetENorm ()
 
- Public Member Functions inherited from TPhoton
 TPhoton ()
 
virtual ~TPhoton ()
 
double GetMinimum ()
 
double GetMaximum ()
 
virtual double GetCosTheta ()
 
virtual double GetThNorm ()
 
virtual double GetCosThetaF ()
 
virtual double GetThNormF ()
 
virtual double GetCosThetaF2 ()
 
virtual double GetThNormF2 ()
 
double GetPhE ()
 
double GetPhC ()
 
void SetCosTheta (const double &x)
 
void SetEnergy (const double &x)
 

Additional Inherited Members

- Static Public Member Functions inherited from TPhoton
static double GetPhi ()
 
static double GetPhiNorm ()
 
- Protected Attributes inherited from TPhoton
double fNorm
 
double fP0
 
double fP1
 
double fP2
 
double fP3
 
double fxmin
 
double fxmax
 
double fX
 
double fCosTheta
 
double fLnD
 
double fBetaI
 
double fiBetaI
 
double fLnD_n
 
double fBt
 
double fLnD_n2
 
double fBt2
 

Detailed Description

Definition at line 156 of file TPhoton.h.

Constructor & Destructor Documentation

◆ TPhotonD()

TPhotonD::TPhotonD ( )
inline

Definition at line 158 of file TPhoton.h.

158:TPhoton(){};
TPhoton()
Definition TPhoton.h:26

Member Function Documentation

◆ GetEnergy() [1/2]

double TPhotonD::GetEnergy ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 161 of file TPhoton.h.

161 {
162 double t1 = log(gRandom->Rndm())*fP1;
163 fX = fP0*exp(t1);
164 return fX;
165 }
EvtComplex exp(const EvtComplex &c)
double fX
Definition TPhoton.h:16
double fP0
Definition TPhoton.h:10
double fP1
Definition TPhoton.h:11

◆ GetEnergy() [2/2]

double TPhotonD::GetEnergy ( const double & delta,
const double & b2 )
inline

Definition at line 167 of file TPhoton.h.

167 {
168 fNorm = pow(delta,b2);
169 fX = delta*exp(log(gRandom->Rndm())/b2);
170 return fX;
171 }
double fNorm
Definition TPhoton.h:9

◆ GetENorm()

double TPhotonD::GetENorm ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 173 of file TPhoton.h.

173{return fNorm;}

◆ Init() [1/2]

void TPhotonD::Init ( )
virtual

Reimplemented from TPhoton.

◆ Init() [2/2]

void TPhotonD::Init ( const double & ,
const double &  )

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