56 lines
1.0 KiB
C++
56 lines
1.0 KiB
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G3VolTable.hh,v 1.11 1999/12/05 17:50:03 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-01-00 $
|
|
//
|
|
// modified by I.Hrivnacova, 13.10.99
|
|
|
|
#ifndef _G3VOLTABLE_
|
|
#define _G3VOLTABLE_ 1
|
|
|
|
#include "g4std/map"
|
|
#include "G3VolTableEntry.hh"
|
|
|
|
class G4LogicalVolume;
|
|
class G4Material;
|
|
class G4VSolid;
|
|
|
|
class G3VolTable{
|
|
private:
|
|
G3VolTableEntry* G3toG4TopVTE;
|
|
G4String _FirstKey;
|
|
G4std::map<G4String, G3VolTableEntry*, less<G4String> > VTD;
|
|
G4int _NG3Pos;
|
|
|
|
public:
|
|
G3VolTableEntry* PutVTE(G3VolTableEntry* aVTE);
|
|
G3VolTableEntry* GetVTE(const G4String& Vname);
|
|
void PrintAll();
|
|
G3VolTable();
|
|
virtual ~G3VolTable();
|
|
G4LogicalVolume* GetG3toG4Mother();
|
|
G3VolTableEntry* GetFirstVTE();
|
|
void SetFirstVTE();
|
|
void VTEStat();
|
|
void CountG3Pos();
|
|
};
|
|
extern G3VolTable G3Vol;
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|