#include <TPhoton.h>
Definition at line 125 of file TPhoton.h.
◆ TPhotonS()
◆ GetEnergy() [1/2]
double TPhotonS::GetEnergy |
( |
| ) |
|
|
inlinevirtual |
◆ GetEnergy() [2/2]
void TPhotonS::GetEnergy |
( |
double & | x1, |
|
|
double & | x2, |
|
|
double & | x3, |
|
|
double & | x4 ) |
|
inline |
Definition at line 133 of file TPhoton.h.
133 {
134 double t1 = log(gRandom->Rndm())*
fP1;
136
137 double t2 = log(gRandom->Rndm())*
fP1;
139
140 double t3 = log(gRandom->Rndm())*
fP1;
142
143 double t4 = log(gRandom->Rndm())*
fP1;
145
146 fX = t1 + t2 + t3 + t4;
147
148 }
EvtComplex exp(const EvtComplex &c)
◆ GetENorm()
double TPhotonS::GetENorm |
( |
| ) |
|
|
inlinevirtual |
◆ GetX()
double TPhotonS::GetX |
( |
| ) |
|
|
inline |
◆ GetXNorm()
double TPhotonS::GetXNorm |
( |
| ) |
|
|
inline |
◆ Init() [1/2]
◆ Init() [2/2]
void TPhotonS::Init |
( |
const double & | , |
|
|
const double & | ) |
◆ fP2
◆ fP3
The documentation for this class was generated from the following file: