47 #define G4NUCLEVEL_HH 1
58 const std::vector<G4int>& vTrans,
59 const std::vector<G4float>& wLevelGamma,
60 const std::vector<G4float>& wGamma,
61 const std::vector<G4float>& vRatio,
62 const std::vector<
const std::vector<G4float>*>& wShell);
91 void PrintError(
size_t idx,
const G4String&)
const;
117 if(idx >=
length) { PrintError(idx,
"FinalExcitationEnergy"); }
119 return (
size_t)(
fTrans[idx]/10000);
125 if(idx >=
length) { PrintError(idx,
"TransitionType"); }
138 if(idx >=
length) { PrintError(idx,
"GammaProbability"); }
146 if(idx >=
length) { PrintError(idx,
"GammaCumProbability"); }
154 if(idx >=
length) { PrintError(idx,
"GammaProbability"); }
163 for(; idx<
length; ++idx) {
172 if(idx >=
length) { PrintError(idx,
"SampleShell"); }
179 for(i=0; i<
nn; ++i) {
if(x <= (*prob)[i]) {
break; } }
184 inline const std::vector<G4float>*
188 if(idx >=
length) { PrintError(idx,
"ShellProbability"); }
std::vector< G4int > fTrans
G4int SampleShell(size_t idx, G4double rndm) const
std::vector< G4float > fGammaCumProbability
size_t SampleGammaTransition(G4double rndm) const
std::vector< const std::vector< G4float > * > fShellProbability
G4float MultipolarityRatio(size_t idx) const
G4NucLevel(size_t ntrans, G4double tgamma, const std::vector< G4int > &vTrans, const std::vector< G4float > &wLevelGamma, const std::vector< G4float > &wGamma, const std::vector< G4float > &vRatio, const std::vector< const std::vector< G4float > * > &wShell)
const std::vector< G4float > * ShellProbabilty(size_t idx) const
G4float GammaCumProbability(size_t idx) const
G4bool operator!=(const G4NucLevel &right) const =delete
size_t FinalExcitationIndex(size_t idx) const
G4float GammaProbability(size_t idx) const
G4bool operator<(const G4NucLevel &right) const =delete
std::vector< G4float > fGammaProbability
void StreamInfo(std::ostream &os) const
G4double GetTimeGamma() const
G4bool operator==(const G4NucLevel &right) const =delete
std::vector< G4float > fMpRatio
const G4NucLevel & operator=(const G4NucLevel &right)=delete
size_t NumberOfTransitions() const
G4int TransitionType(size_t idx) const