#include <TPhoton.h>
Definition at line 156 of file TPhoton.h.
◆ TPhotonD()
◆ GetEnergy() [1/2]
double TPhotonD::GetEnergy |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from TPhoton.
Definition at line 161 of file TPhoton.h.
161 {
162 double t1 = log(gRandom->Rndm())*
fP1;
165 }
EvtComplex exp(const EvtComplex &c)
◆ GetEnergy() [2/2]
double TPhotonD::GetEnergy |
( |
const double & |
delta, |
|
|
const double & |
b2 |
|
) |
| |
|
inline |
Definition at line 167 of file TPhoton.h.
167 {
168 fNorm = pow(delta,b2);
169 fX = delta*
exp(log(gRandom->Rndm())/b2);
171 }
◆ GetENorm()
double TPhotonD::GetENorm |
( |
| ) |
|
|
inlinevirtual |
◆ Init() [1/2]
◆ Init() [2/2]
void TPhotonD::Init |
( |
const double & |
, |
|
|
const double & |
|
|
) |
| |
The documentation for this class was generated from the following file: