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

#include <G4CascadeChannelTables.hh>

Public Member Functions

 ~G4CascadeChannelTables ()
 

Static Public Member Functions

static const G4CascadeChannelGetTable (G4int initialState)
 
static const G4CascadeChannelGetTable (G4int had1, G4int had2)
 
static void Print (std::ostream &os=G4cout)
 
static void PrintTable (G4int initialState, std::ostream &os=G4cout)
 

Detailed Description

Definition at line 52 of file G4CascadeChannelTables.hh.

Constructor & Destructor Documentation

◆ ~G4CascadeChannelTables()

G4CascadeChannelTables::~G4CascadeChannelTables ( )

Definition at line 140 of file G4CascadeChannelTables.cc.

140 {
141 TableMap::iterator entry;
142 for (entry = tables.begin(); entry != tables.end(); ++entry) {
143 delete entry->second; entry->second = 0;
144 }
145
146 tables.clear();
147}

Member Function Documentation

◆ GetTable() [1/2]

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

Definition at line 159 of file G4CascadeChannelTables.cc.

159 {
160 return GetTable(had1*had2);
161}
static const G4CascadeChannel * GetTable(G4int initialState)

◆ GetTable() [2/2]

◆ Print()

void G4CascadeChannelTables::Print ( std::ostream &  os = G4cout)
static

Definition at line 177 of file G4CascadeChannelTables.cc.

177 {
178 const TableMap& theTables = instance().tables; // For convenience
179 TableMap::const_iterator entry;
180 for (entry = theTables.begin(); entry != theTables.end(); ++entry) {
181 if (entry->second) entry->second->printTable(os);
182 }
183}

Referenced by G4ElementaryParticleCollider::collide().

◆ PrintTable()

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

Definition at line 185 of file G4CascadeChannelTables.cc.

185 {
186 const G4CascadeChannel* tbl = GetTable(initialState);
187 if (tbl) tbl->printTable(os);
188}
virtual void printTable(std::ostream &os=G4cout) const =0

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