#include <G4FermiChannels.hh>
Definition at line 40 of file G4FermiChannels.hh.
Definition at line 44 of file G4FermiChannels.hh.
45 : nch(0), excitation(ex), ground_mass(gmass)
46 { fvect.reserve(
nmax); cum_prob.reserve(
nmax); };
Definition at line 98 of file G4FermiChannels.hh.
100 fvect.push_back(ptr);
101 cum_prob.push_back(1.0);
const std::vector< const G4FermiPair * > & G4FermiChannels::GetChannels |
( |
| ) |
const |
|
inline |
G4double G4FermiChannels::GetExcitation |
( |
| ) |
const |
|
inline |
G4double G4FermiChannels::GetMass |
( |
| ) |
const |
|
inline |
size_t G4FermiChannels::GetNumberOfChannels |
( |
| ) |
const |
|
inline |
const G4FermiPair * G4FermiChannels::GetPair |
( |
size_t |
idx | ) |
const |
|
inline |
std::vector< G4double > & G4FermiChannels::GetProbabilities |
( |
| ) |
|
|
inline |
Definition at line 89 of file G4FermiChannels.hh.
92 for(
size_t i=0; i<nch; ++i) {
93 if(rand <= cum_prob[i]) { ptr = fvect[i];
break; }
The documentation for this class was generated from the following file:
- source/geant4.10.03.p03/source/processes/hadronic/models/de_excitation/fermi_breakup/include/G4FermiChannels.hh