20#ifndef GEANT4_GM_VOLUME_MAP_H
21#define GEANT4_GM_VOLUME_MAP_H
39 typedef std::map<VGM::IVolume*, G4LogicalVolume*>
G4VolumeMap;
52 void AddParamVolume(G4LogicalVolume*,
const std::vector<G4LogicalVolume*>&);
58 const std::vector<G4LogicalVolume*>&
GetParamVolumes(G4LogicalVolume* lv)
const;
70 std::vector<G4LogicalVolume*> fDummyVector;
The map between VGM and Geant4 volumes.
void AddParamVolume(G4LogicalVolume *, const std::vector< G4LogicalVolume * > &)
void AddVolume(VGM::IVolume *, G4LogicalVolume *)
std::map< G4LogicalVolume *, std::vector< G4LogicalVolume * > > G4ParamVolumesMap
std::map< G4LogicalVolume *, VGM::IVolume * > VgmVolumeMap
static VolumeMap * Instance()
const std::vector< G4LogicalVolume * > & GetParamVolumes(G4LogicalVolume *lv) const
G4LogicalVolume * GetVolume(VGM::IVolume *iVolume) const
std::map< VGM::IVolume *, G4LogicalVolume * > G4VolumeMap
The VGM interface to volumes.
VGM implementation for Geant4.