47 #define G4NUCLEVEL_HH 1
57 const std::vector<size_t>& idxTrans,
58 const std::vector<G4int>& vTrans,
59 const std::vector<G4float>& wLevelGamma,
60 const std::vector<G4float>& wLevelGammaE,
61 const std::vector<G4float>& wGamma,
62 const std::vector<G4float>& vRatio,
63 const std::vector<
const std::vector<G4float>*>& wShell);
90 void PrintError(
size_t idx,
const G4String&)
const;
121 if(idx >=
length) { PrintError(idx,
"FinalExcitationEnergy"); }
129 if(idx >=
length) { PrintError(idx,
"TransitionType"); }
137 if(idx >=
length) { PrintError(idx,
"MixingRatio"); }
145 if(idx >=
length) { PrintError(idx,
"GammaProbability"); }
153 if(idx >=
length) { PrintError(idx,
"GammaProbability"); }
162 for(; idx<
length; ++idx) {
172 for(; idx<
length; ++idx) {
181 if(idx >=
length) { PrintError(idx,
"SampleShell"); }
186 size_t nn = prob->size();
188 for(; i<
nn; ++i) {
if(x <= (*prob)[i]) {
break; } }
G4float GammaProbability(size_t idx) const
std::vector< size_t > fFinalIndex
G4NucLevel(size_t ntrans, const std::vector< size_t > &idxTrans, const std::vector< G4int > &vTrans, const std::vector< G4float > &wLevelGamma, const std::vector< G4float > &wLevelGammaE, const std::vector< G4float > &wGamma, const std::vector< G4float > &vRatio, const std::vector< const std::vector< G4float > * > &wShell)
G4float MultipolarityRatio(size_t idx) const
std::vector< G4int > fTrans
G4bool operator!=(const G4NucLevel &right) const =delete
std::vector< const std::vector< G4float > * > fShellProbability
G4float MixingRatio(size_t idx) const
std::vector< G4float > fGammaProbability
const G4NucLevel & operator=(const G4NucLevel &right)=delete
std::vector< G4float > fGammaCumProbability
std::vector< G4float > fMpRatio
G4bool operator<(const G4NucLevel &right) const =delete
size_t SampleGammaTransition(G4double rndm) const
size_t NumberOfTransitions() const
G4int TransitionType(size_t idx) const
G4bool operator==(const G4NucLevel &right) const =delete
size_t SampleShell(size_t idx, G4double rndm) const
std::vector< G4float > fGammaECumProbability
size_t SampleGammaETransition(G4double rndm) const
size_t FinalExcitationIndex(size_t idx) const