#include <G4PWATotalXsecTable.hh>
Definition at line 132 of file G4PWATotalXsecTable.hh.
G4PWATotalXsecTable::G4PWATotalXsecTable |
( |
| ) |
|
|
inline |
G4PWATotalXsecTable::~G4PWATotalXsecTable |
( |
| ) |
|
Definition at line 200 of file G4PWATotalXsecTable.cc.
201 for(
G4int i = 0; i < fgNumZet; ++i)
202 if(fgPWATotalXsecTable[i]) {
203 delete fgPWATotalXsecTable[i];
204 fgPWATotalXsecTable[i] = 0;
void G4PWATotalXsecTable::Initialise |
( |
| ) |
|
Definition at line 209 of file G4PWATotalXsecTable.cc.
210 G4int isUsedZ[fgNumZet] ={0};
213 for(
unsigned int imat = 0; imat < theMaterialTable->size(); ++imat) {
214 const G4ElementVector *theElemVect = ((*theMaterialTable)[imat])->GetElementVector();
215 for(
unsigned int ielem = 0; ielem < theElemVect->size(); ++ielem) {
217 zet = zet>fgNumZet ? fgNumZet : zet;
223 for(
G4int i = 0; i < fgNumZet; ++i)
224 if(isUsedZ[i] && !fgPWATotalXsecTable[i])
226 else if(!isUsedZ[i] && fgPWATotalXsecTable[i]) {
227 delete fgPWATotalXsecTable[i];
228 fgPWATotalXsecTable[i] = 0;
std::vector< G4Element * > G4ElementVector
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
The documentation for this class was generated from the following files: