43 :parent(nullptr), channels(nullptr)
51 G4VDecayChannelVector::iterator iCh;
67 G4cout <<
" G4DecayTable::Insert :: bad G4VDecayChannel (mismatch parent) "
73 G4VDecayChannelVector::iterator iCh;
75 if (br > (*iCh)->GetBR()) {
87 if (
channels->size()<1)
return nullptr;
91 G4VDecayChannelVector::iterator iCh;
94 if ( !((*iCh)->IsOKWithParentMass(parentMass)) )
continue;
95 sumBR += (*iCh)->GetBR();
99 G4cout <<
" G4DecayTable::SelectADecayChannel :: no possible DecayChannel"
105 const size_t MAX_LOOP = 10000;
106 for (
size_t loop_counter=0; loop_counter <MAX_LOOP; ++loop_counter){
111 sum += (*iCh)->GetBR();
112 if ( !((*iCh)->IsOKWithParentMass(parentMass)) )
continue;
113 if (br < sum)
return (*iCh);
123 G4VDecayChannelVector::iterator iCh;