32 #ifndef G4FermiChannels_h
33 #define G4FermiChannels_h 1
49 inline const std::vector<const G4FermiPair*>&
GetChannels()
const;
69 std::vector<const G4FermiPair*>
fvect;
86 return (idx <
nch) ?
fvect[idx] :
nullptr;
92 for(
size_t i=0; i<
nch; ++i) {
100 fvect.push_back(ptr);
std::vector< const G4FermiPair * > fvect
G4bool operator==(const G4FermiChannels &) const =delete
const G4FermiPair * SamplePair(G4double rand) const
std::vector< G4double > cum_prob
const std::vector< const G4FermiPair * > & GetChannels() const
const G4FermiChannels & operator=(const G4FermiChannels &)=delete
const G4FermiPair * GetPair(size_t idx) const
size_t GetNumberOfChannels() const
G4bool operator!=(const G4FermiChannels &) const =delete
void AddChannel(const G4FermiPair *)
std::vector< G4double > & GetProbabilities()
G4double GetExcitation() const
G4FermiChannels(size_t nmax, G4double ex, G4double gmass)