BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TPhotonI Class Reference

#include <TPhoton.h>

+ Inheritance diagram for TPhotonI:

Public Member Functions

 TPhotonI ()
 
void Init ()
 
double GetEnergy ()
 
double GetENorm ()
 
- Public Member Functions inherited from TPhoton
 TPhoton ()
 
virtual ~TPhoton ()
 
virtual void Init ()
 
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 ()
 
virtual double GetENorm ()
 
virtual double GetEnergy ()
 
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 78 of file TPhoton.h.

Constructor & Destructor Documentation

◆ TPhotonI()

TPhotonI::TPhotonI ( )
inline

Definition at line 80 of file TPhoton.h.

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

Member Function Documentation

◆ GetEnergy()

double TPhotonI::GetEnergy ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 82 of file TPhoton.h.

82 {
83 double d = fP0*exp(gRandom->Rndm()*fP1);
84 fX = d/(1+d);
85 return fX;
86 }
EvtComplex exp(const EvtComplex &c)
Definition: EvtComplex.hh:252
double fX
Definition: TPhoton.h:16
double fP0
Definition: TPhoton.h:10
double fP1
Definition: TPhoton.h:11

◆ GetENorm()

double TPhotonI::GetENorm ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 87 of file TPhoton.h.

87{return fNorm*fX*(1-fX);}
double fNorm
Definition: TPhoton.h:9

◆ Init()

void TPhotonI::Init ( )
virtual

Reimplemented from TPhoton.


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