44 :parent(nullptr), channels(nullptr)
52 G4VDecayChannelVector::iterator iCh;
68 G4cout <<
" G4DecayTable::Insert :: bad G4VDecayChannel (mismatch parent) "
74 G4VDecayChannelVector::iterator iCh;
76 if (br > (*iCh)->GetBR()) {
92 G4VDecayChannelVector::iterator iCh;
95 if ( !((*iCh)->IsOKWithParentMass(parentMass)) )
continue;
96 sumBR += (*iCh)->GetBR();
100 G4cout <<
" G4DecayTable::SelectADecayChannel :: no possible DecayChannel"
106 const size_t MAX_LOOP = 10000;
107 for (
size_t loop_counter=0; loop_counter <MAX_LOOP; ++loop_counter){
112 sum += (*iCh)->GetBR();
113 if ( !((*iCh)->IsOKWithParentMass(parentMass)) )
continue;
114 if (br < sum)
return (*iCh);
124 G4VDecayChannelVector::iterator iCh;
G4VDecayChannelVector * channels
G4ParticleDefinition * parent
const G4String & GetParticleName() const
void Insert(G4VDecayChannel *aChannel)
G4double GetPDGMass() const
std::vector< G4VDecayChannel * > G4VDecayChannelVector
G4GLOB_DLL std::ostream G4cout
G4ParticleDefinition * GetParent()
G4VDecayChannel * SelectADecayChannel(G4double parentMass=-1.)