Geant4 11.1.1
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 133 of file G4CascadeChannelTables.cc.

133 {
134 for(auto& itr : tables)
135 delete itr.second;
136 tables.clear();
137}

Member Function Documentation

◆ GetTable() [1/2]

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

Definition at line 149 of file G4CascadeChannelTables.cc.

149 {
150 return GetTable(had1*had2);
151}
static const G4CascadeChannel * GetTable(G4int initialState)

◆ GetTable() [2/2]

◆ Print()

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

Definition at line 167 of file G4CascadeChannelTables.cc.

167 {
168 const TableMap& theTables = instance().tables; // For convenience
169 TableMap::const_iterator entry;
170 for (entry = theTables.begin(); entry != theTables.end(); ++entry) {
171 if (entry->second) entry->second->printTable(os);
172 }
173}

Referenced by G4ElementaryParticleCollider::collide().

◆ PrintTable()

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

Definition at line 175 of file G4CascadeChannelTables.cc.

175 {
176 const G4CascadeChannel* tbl = GetTable(initialState);
177 if (tbl) tbl->printTable(os);
178}
virtual void printTable(std::ostream &os=G4cout) const =0

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