47 const std::vector<G4int>& vTrans,
48 const std::vector<G4float>& wLevelGamma,
49 const std::vector<G4float>& wGamma,
50 const std::vector<G4float>& vRatio,
51 const std::vector<
const std::vector<G4float>*>& wShell)
52 : length(ntrans), fTimeGamma(tgamma)
60 for(
size_t i=0; i<
length; ++i) {
61 fTrans.push_back(vTrans[i]);
72 for(
size_t i=0; i<
length; ++i) {
78void G4NucLevel::PrintError(
size_t idx,
const G4String& ss)
const
81 for(
size_t i=0; i<
length; ++i) {
89 ed <<
"Index of a level " << idx <<
" >= "
90 <<
length <<
" (number of transitions)";
99 for(
size_t i=0; i<
length; ++i) {
108 size_t len = vec->size();
110 for(
size_t j=0; j<len; ++j) { out << std::setw(7) << (*vec)[j]; }
static const char sss[MAX_N_PAR+2]
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cout
G4int TransitionType(size_t idx) const
std::vector< G4int > fTrans
std::vector< G4float > fGammaCumProbability
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)
void StreamInfo(std::ostream &os) const
std::vector< G4float > fGammaProbability
std::vector< const std::vector< G4float > * > fShellProbability
size_t FinalExcitationIndex(size_t idx) const
std::vector< G4float > fMpRatio