Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 53 of file G4CascadeChannelTables.hh.

Constructor & Destructor Documentation

G4CascadeChannelTables::~G4CascadeChannelTables ( )

Definition at line 141 of file G4CascadeChannelTables.cc.

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

Member Function Documentation

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

Definition at line 153 of file G4CascadeChannelTables.cc.

153  {
154  return instance().FindTable(initialState);
155 }
static MCTruthManager * instance

Here is the caller graph for this function:

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

Definition at line 160 of file G4CascadeChannelTables.cc.

160  {
161  return GetTable(had1*had2);
162 }
static const G4CascadeChannel * GetTable(G4int initialState)
void G4CascadeChannelTables::Print ( std::ostream &  os = G4cout)
static

Definition at line 178 of file G4CascadeChannelTables.cc.

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

Here is the caller graph for this function:

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

Definition at line 186 of file G4CascadeChannelTables.cc.

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

Here is the call graph for this function:


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