59 vector<const G4MolecularDissociationChannel*>& decayChannels = it_map
61 if (!decayChannels.empty())
63 for (
int i = 0; i < (int) decayChannels.size(); i++)
67 delete decayChannels[i];
71 decayChannels.clear();
90 if(
this == &right)
return *
this;
97const vector<const G4MolecularDissociationChannel*>*
103 return &(it_exstates->second);
108const vector<const G4MolecularDissociationChannel*>*
115 if(it->first->GetLabel() == exState)
return &(it->second);
142 ChannelMap::const_iterator channelsIter;
148 const vector<const G4MolecularDissociationChannel*>& decayVect =
149 channelsIter->second;
154 for(
size_t i = 0; i <
max; i++)
164 errMsg <<
"The probabilities for deecitation of molecular configuration "
165 << channelsIter->first->GetName()
166 <<
" with label :" << channelsIter->first->GetLabel()
167 <<
" don't sum up to 1";
168 G4Exception(
"G4MolecularDissociationTable::CheckDataConsistency",
169 "BRANCHING_RATIOS_CONSISTENCY",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4DNA::ChannelMap fDissociationChannels
void Serialize(std::ostream &)
~G4MolecularDissociationTable()
const std::vector< const G4MolecularDissociationChannel * > * GetDecayChannels(const G4MolecularConfiguration *) const
G4MolecularDissociationTable()
G4MolecularDissociationTable & operator=(const G4MolecularDissociationTable &right)
void CheckDataConsistency() const
void AddChannel(const G4MolecularConfiguration *molConf, const G4MolecularDissociationChannel *channel)
ParticleList decay(Cluster *const c)
Carries out a cluster decay.
T max(const T t1, const T t2)
brief Return the largest of the two arguments