BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
rb::TPhotonD Class Reference

#include <TPhoton_o.h>

+ Inheritance diagram for rb::TPhotonD:

Public Member Functions

 TPhotonD ()
 
void Init (const double &delta, const double &beta)
 
double GetEnergy ()
 
double GetENorm ()
 
- Public Member Functions inherited from rb::TPhoton
 TPhoton ()
 
 TPhoton (double E)
 
 TPhoton (double E, double Emin, double Emax)
 
 ~TPhoton ()
 
void SetEnergyRange (double Emin, double Emax)
 
void SetThetaRange (double thmin, double thmax)
 
void SetCosThetaRange (double c1, double c2)
 
const TLorentzVector & GetPhoton ()
 
const TLorentzVector & GetNewPhoton ()
 
double GetPhotNorm ()
 
double GetEnergy ()
 
double GetENorm ()
 
double GetCosThetaF ()
 
double GetThNormF ()
 
double GetPhi ()
 
double GetPhiNorm ()
 

Additional Inherited Members

- Protected Attributes inherited from rb::TPhoton
TLorentzVector fk
 
double fknorm
 
double fNorm
 
double fE
 
double fP0
 
double fP1
 
double fX
 
double fCosTheta
 
double fLnD
 
double fBetaI
 
double fiBetaI
 
double fLnD_n
 
double fBt
 

Detailed Description

Definition at line 58 of file TPhoton_o.h.

Constructor & Destructor Documentation

◆ TPhotonD()

rb::TPhotonD::TPhotonD ( )
inline

Definition at line 60 of file TPhoton_o.h.

60:TPhoton(){};

Member Function Documentation

◆ GetEnergy()

double rb::TPhotonD::GetEnergy ( )
inline

Definition at line 68 of file TPhoton_o.h.

68 {
69 double t1 = log(gRandom->Rndm())*fP1;
70 fX = fP0*exp(t1);
71 return fX;
72 }
EvtComplex exp(const EvtComplex &c)
double fX
Definition TPhoton_o.h:15
double fP0
Definition TPhoton_o.h:13
double fP1
Definition TPhoton_o.h:14

◆ GetENorm()

double rb::TPhotonD::GetENorm ( )
inline

Definition at line 73 of file TPhoton_o.h.

73{return fNorm;}
double fNorm
Definition TPhoton_o.h:11

◆ Init()

void rb::TPhotonD::Init ( const double & delta,
const double & beta )
inline

Definition at line 61 of file TPhoton_o.h.

61 {
62 // Initializing photons in final state
63 // by distribution 1/x
64 fP0 = delta;
65 fP1 = 2/beta;
66 fNorm = pow(delta,beta/2);
67 }
const double delta

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