#include <G3VolTable.hh>
Definition at line 60 of file G3VolTable.hh.
G3VolTable::G3VolTable |
( |
| ) |
|
Definition at line 39 of file G3VolTable.cc.
40 : G3toG4TopVTE(0), _FirstKey(
"UnDefined"), _NG3Pos(0){
G3VolTable::~G3VolTable |
( |
| ) |
|
|
virtual |
Definition at line 43 of file G3VolTable.cc.
46 for (
VTDiterator i=VTD.begin(); i != VTD.end(); i++) {
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
void G3VolTable::Clear |
( |
| ) |
|
Definition at line 119 of file G3VolTable.cc.
121 for (
VTDiterator i=VTD.begin(); i != VTD.end(); i++) {
127 _FirstKey =
"UnDefined";
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
void G3VolTable::CountG3Pos |
( |
| ) |
|
Definition at line 54 of file G3VolTable.cc.
56 if (i == VTD.end())
return 0;
57 else return (*i).second;
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
Definition at line 61 of file G3VolTable.cc.
64 G4cout <<
"Dump of VTD - " << VTD.size() <<
" entries:" <<
G4endl;
68 G4cout <<
"G3VolTable element " << std::setw(3) << i++ <<
" name "
G4GLOB_DLL std::ostream G4cout
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
Definition at line 76 of file G3VolTable.cc.
78 if (
GetVTE(aG3VolTableEntry->GetName()) == 0 ){
81 G4String HashID = aG3VolTableEntry->GetName();
83 if (_FirstKey ==
"UnDefined") _FirstKey = HashID;
86 VTD[HashID] = aG3VolTableEntry;
88 return GetVTE(aG3VolTableEntry->GetName());
G3VolTableEntry * GetVTE(const G4String &Vname)
void G3VolTable::SetFirstVTE |
( |
| ) |
|
Definition at line 97 of file G3VolTable.cc.
98 G3toG4TopVTE = VTD[_FirstKey];
G3VolTableEntry * GetMother(G4int i)
void G3VolTable::VTEStat |
( |
| ) |
|
Definition at line 112 of file G3VolTable.cc.
113 G4cout <<
"Instantiated " << VTD.size() <<
114 " volume table entries \n"
115 <<
" " << _NG3Pos <<
" positions." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
The documentation for this class was generated from the following files: