BOSS 8.0.0
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 149 of file TPhoton.h.

Constructor & Destructor Documentation

◆ TPhotonD()

TPhotonD::TPhotonD ( )
inline

Definition at line 151 of file TPhoton.h.

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

Member Function Documentation

◆ GetEnergy() [1/2]

double TPhotonD::GetEnergy ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 154 of file TPhoton.h.

154 {
155 double t1 = log( gRandom->Rndm() ) * fP1;
156 fX = fP0 * exp( t1 );
157 return fX;
158 }
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 160 of file TPhoton.h.

160 {
161 fNorm = pow( delta, b2 );
162 fX = delta * exp( log( gRandom->Rndm() ) / b2 );
163 return fX;
164 }
double fNorm
Definition TPhoton.h:9

◆ GetENorm()

double TPhotonD::GetENorm ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 166 of file TPhoton.h.

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