#include <G4DecayTable.hh>
Definition at line 50 of file G4DecayTable.hh.
G4DecayTable::G4DecayTable |
( |
| ) |
|
Definition at line 43 of file G4DecayTable.cc.
std::vector< G4VDecayChannel * > G4VDecayChannelVector
G4DecayTable::~G4DecayTable |
( |
| ) |
|
Definition at line 48 of file G4DecayTable.cc.
51 G4VDecayChannelVector::iterator i;
52 for (i = channels->begin(); i!= channels->end(); ++i) {
void G4DecayTable::DumpInfo |
( |
| ) |
const |
Definition at line 102 of file G4DecayTable.cc.
106 G4VDecayChannelVector::iterator i;
107 for (i = channels->begin(); i!= channels->end(); ++i) {
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4int G4DecayTable::entries |
( |
| ) |
const |
|
inline |
Definition at line 113 of file G4DecayTable.hh.
116 if ( (index>=0) && (index<
G4int(channels->size())) ){
117 selectedChannel = (*channels)[index];
119 return selectedChannel;
Definition at line 60 of file G4DecayTable.cc.
64 G4cout <<
" G4DecayTable::Insert :: bad G4VDecayChannel (mismatch parent) "
70 G4VDecayChannelVector::iterator i;
71 for (i = channels->begin(); i!= channels->end(); ++i) {
72 if (r > (*i)->GetBR()) {
73 channels->insert(i,aChannel);
77 channels->push_back(aChannel);
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4ParticleDefinition * GetParent()
Definition at line 81 of file G4DecayTable.cc.
84 if (channels->size()<1)
return 0;
86 if(parentMass<0.) parentMass=parent->
GetPDGMass();
87 const size_t MAX_LOOP = 10000;
88 for (
size_t loop_counter=0; loop_counter <MAX_LOOP; ++loop_counter){
92 G4VDecayChannelVector::iterator i;
93 for (i = channels->begin(); i!= channels->end(); ++i) {
94 sumBR += (*i)->GetBR();
95 if ( !((*i)->IsOKWithParentMass(parentMass)) )
continue;
96 if (r < sumBR)
return (*i);
G4double GetPDGMass() const
The documentation for this class was generated from the following files: