#include <G4NucLevel.hh>
Definition at line 53 of file G4NucLevel.hh.
Definition at line 44 of file G4NucLevel.cc.
47 :fEnergy(
energy),fHalfLifeTime(halfLife)
49 fTransitionEnergy = eGamma;
50 fCumProbability = wGamma;
51 nTransitions = wGamma.size();
double precision function energy(A, Z)
G4NucLevel::~G4NucLevel |
( |
| ) |
|
G4double G4NucLevel::LevelEnergy |
( |
| ) |
const |
|
inline |
G4double G4NucLevel::LevelHalfLife |
( |
| ) |
const |
|
inline |
G4double G4NucLevel::SampleEnergy |
( |
| ) |
const |
|
inline |
Definition at line 95 of file G4NucLevel.hh.
References G4UniformRand, and test::x.
99 for(
size_t i=0; i<nTransitions; ++i) {
100 if(x < fCumProbability[i]) {
101 e = fTransitionEnergy[i];
The documentation for this class was generated from the following files: