Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
+33 -9
View File
@@ -5,8 +5,26 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G3VolTable.hh,v 1.14 2000/03/02 17:54:03 gcosmo Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G3VolTable.hh,v 1.15 2000/11/24 09:50:10 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// ----------------------
// Class description:
//
// G3 volumes table.
// The G3 volumes are represented with the G3VolTableEntry objects
// that are stored in the map (sorted by names).
// In the phase of filling the G3 tables (defining G3 geometry,
// eg. by parsing the G3 input via clparse.cc)
// a G3 volume can be defined with incomplete parameters
// (negative or none) that have to be retrieved from its mother
// which may be defined later. These parameters are being resolved
// subsequently in the phase of filling G3 tables.
// That's why the G4 object counterparts (solids, logical volumes
// and physical volumes) can be created only after filling the G3 tables
// is finished and all incomplete parameters are resolved.
// ----------------------
//
// modified by I.Hrivnacova, 13.10.99
@@ -20,14 +38,11 @@ class G4LogicalVolume;
class G4Material;
class G4VSolid;
class G3VolTable{
private:
G3VolTableEntry* G3toG4TopVTE;
G4String _FirstKey;
G4std::map<G4String, G3VolTableEntry*, G4std::less<G4String> > VTD;
G4int _NG3Pos;
class G3VolTable
{
public: // with description
public:
G3VolTableEntry* PutVTE(G3VolTableEntry* aVTE);
G3VolTableEntry* GetVTE(const G4String& Vname);
void PrintAll();
@@ -39,6 +54,15 @@ public:
void VTEStat();
void CountG3Pos();
void Clear();
private:
G3VolTableEntry* G3toG4TopVTE;
G4String _FirstKey;
G4std::map<G4String, G3VolTableEntry*, G4std::less<G4String> > VTD;
G4int _NG3Pos;
};
extern G3VolTable G3Vol;
#endif