#include <G4CascadeChannelTables.hh>
Static Public Member Functions | |
static const G4CascadeChannel * | GetTable (G4int initialState) |
static const G4CascadeChannel * | GetTable (G4int had1, G4int had2) |
static void | PrintTable (G4int initialState, std::ostream &os=G4cout) |
static void | AddTable (G4int initialState, G4CascadeChannel *table) |
Definition at line 47 of file G4CascadeChannelTables.hh.
void G4CascadeChannelTables::AddTable | ( | G4int | initialState, | |
G4CascadeChannel * | table | |||
) | [static] |
Definition at line 71 of file G4CascadeChannelTables.cc.
References SaveTable().
00071 { 00072 instance().SaveTable(initialState, table); 00073 }
const G4CascadeChannel * G4CascadeChannelTables::GetTable | ( | G4int | had1, | |
G4int | had2 | |||
) | [static] |
Definition at line 64 of file G4CascadeChannelTables.cc.
References GetTable().
00064 { 00065 return GetTable(had1*had2); 00066 }
const G4CascadeChannel * G4CascadeChannelTables::GetTable | ( | G4int | initialState | ) | [static] |
Definition at line 55 of file G4CascadeChannelTables.cc.
References FindTable(), and LoadTable().
Referenced by G4InuclCollider::collide(), G4ElementaryParticleCollider::collide(), G4IntraNucleiCascader::decayTrappedParticle(), GetTable(), G4CascadeInterface::IsApplicable(), PrintTable(), and G4NucleiModel::totalCrossSection().
00055 { 00056 const G4CascadeChannel* theTable = instance().FindTable(initialState); 00057 if (!theTable) theTable = instance().LoadTable(initialState); 00058 return theTable; 00059 }
void G4CascadeChannelTables::PrintTable | ( | G4int | initialState, | |
std::ostream & | os = G4cout | |||
) | [static] |
Definition at line 102 of file G4CascadeChannelTables.cc.
References GetTable(), and G4CascadeChannel::printTable().
00102 { 00103 const G4CascadeChannel* tbl = GetTable(initialState); 00104 if (tbl) tbl->printTable(os); 00105 }