BOSS 8.0.0
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 ()
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 76 of file TPhoton.h.

Constructor & Destructor Documentation

◆ TPhotonI()

TPhotonI::TPhotonI ( )
inline

Definition at line 78 of file TPhoton.h.

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

Member Function Documentation

◆ GetEnergy()

double TPhotonI::GetEnergy ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 80 of file TPhoton.h.

80 {
81 double d = fP0 * exp( gRandom->Rndm() * fP1 );
82 fX = d / ( 1 + d );
83 return fX;
84 }
EvtComplex exp(const EvtComplex &c)
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 85 of file TPhoton.h.

85{ 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: