BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TPhotonF Class Reference

#include <TPhoton.h>

Inheritance diagram for TPhotonF:

Public Member Functions

 TPhotonF ()
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 90 of file TPhoton.h.

Constructor & Destructor Documentation

◆ TPhotonF()

TPhotonF::TPhotonF ( )
inline

Definition at line 92 of file TPhoton.h.

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

Referenced by TPhotonFS::TPhotonFS().

Member Function Documentation

◆ GetEnergy()

double TPhotonF::GetEnergy ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 94 of file TPhoton.h.

94 {
95 fX = fP0 * exp( gRandom->Rndm() * fP1 );
96 return fX;
97 }
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 TPhotonF::GetENorm ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 98 of file TPhoton.h.

98{ return fNorm * fX; }
double fNorm
Definition TPhoton.h:9

◆ Init()

void TPhotonF::Init ( )
virtual

Reimplemented from TPhoton.


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