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

Constructor & Destructor Documentation

◆ TPhotonF()

TPhotonF::TPhotonF ( )
inline

Definition at line 94 of file TPhoton.h.

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

Member Function Documentation

◆ GetEnergy()

double TPhotonF::GetEnergy ( )
inlinevirtual

Reimplemented from TPhoton.

Definition at line 96 of file TPhoton.h.

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

Reimplemented from TPhoton.

Definition at line 100 of file TPhoton.h.

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