51 G4VDecayChannelVector::iterator i;
64 G4cout <<
" G4DecayTable::Insert :: bad G4VDecayChannel (mismatch parent) "
70 G4VDecayChannelVector::iterator i;
72 if (r > (*i)->GetBR()) {
87 const size_t MAX_LOOP = 10000;
88 for (
size_t loop_counter=0; loop_counter <MAX_LOOP; ++loop_counter){
92 G4VDecayChannelVector::iterator i;
94 sumBR += (*i)->GetBR();
95 if ( !((*i)->IsOKWithParentMass(parentMass)) )
continue;
96 if (r < sumBR)
return (*i);
106 G4VDecayChannelVector::iterator i;
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4VDecayChannel * SelectADecayChannel(G4double parentMass=-1.)
G4VDecayChannelVector * channels
void Insert(G4VDecayChannel *aChannel)
G4double GetPDGMass() const
std::vector< G4VDecayChannel * > G4VDecayChannelVector
G4ParticleDefinition * parent
G4ParticleDefinition * GetParent()