Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CascadeChannelTables Class Reference

#include <G4CascadeChannelTables.hh>

Static Public Member Functions

static const G4CascadeChannelGetTable (G4int initialState)
 
static const G4CascadeChannelGetTable (G4int had1, G4int had2)
 
static void PrintTable (G4int initialState, std::ostream &os=G4cout)
 
static void AddTable (G4int initialState, G4CascadeChannel *table)
 

Detailed Description

Definition at line 47 of file G4CascadeChannelTables.hh.

Member Function Documentation

◆ AddTable()

void G4CascadeChannelTables::AddTable ( G4int  initialState,
G4CascadeChannel table 
)
static

Definition at line 71 of file G4CascadeChannelTables.cc.

71 {
72 instance().SaveTable(initialState, table);
73}

◆ GetTable() [1/2]

const G4CascadeChannel * G4CascadeChannelTables::GetTable ( G4int  had1,
G4int  had2 
)
static

Definition at line 64 of file G4CascadeChannelTables.cc.

64 {
65 return GetTable(had1*had2);
66}
static const G4CascadeChannel * GetTable(G4int initialState)

◆ GetTable() [2/2]

const G4CascadeChannel * G4CascadeChannelTables::GetTable ( G4int  initialState)
static

Definition at line 55 of file G4CascadeChannelTables.cc.

55 {
56 const G4CascadeChannel* theTable = instance().FindTable(initialState);
57 if (!theTable) theTable = instance().LoadTable(initialState);
58 return theTable;
59}

Referenced by G4InuclCollider::collide(), G4ElementaryParticleCollider::collide(), G4IntraNucleiCascader::decayTrappedParticle(), GetTable(), G4CascadeInterface::IsApplicable(), PrintTable(), and G4NucleiModel::totalCrossSection().

◆ PrintTable()

void G4CascadeChannelTables::PrintTable ( G4int  initialState,
std::ostream &  os = G4cout 
)
static

Definition at line 102 of file G4CascadeChannelTables.cc.

102 {
103 const G4CascadeChannel* tbl = GetTable(initialState);
104 if (tbl) tbl->printTable(os);
105}
virtual void printTable(std::ostream &os=G4cout) const =0

The documentation for this class was generated from the following files: