VGM Version 5.3
|
The map between VGM and Geant4 placements. More...
#include <PlacementMap.h>
Public Types | |
typedef std::map< VGM::IPlacement *, G4VPhysicalVolume * > | G4PlacementMap |
typedef G4PlacementMap::const_iterator | G4PlacementMapCIterator |
typedef std::map< G4VPhysicalVolume *, VGM::IPlacement * > | VgmPlacementMap |
typedef VgmPlacementMap::const_iterator | VgmPlacementMapCIterator |
Public Member Functions | |
PlacementMap () | |
virtual | ~PlacementMap () |
void | AddPlacement (VGM::IPlacement *, G4VPhysicalVolume *) |
G4VPhysicalVolume * | GetPlacement (VGM::IPlacement *iPlacement) const |
VGM::IPlacement * | GetPlacement (G4VPhysicalVolume *pv) const |
Static Public Member Functions | |
static PlacementMap * | Instance () |
The map between VGM and Geant4 placements.
Definition at line 37 of file PlacementMap.h.
std::map<VGM::IPlacement*, G4VPhysicalVolume*> Geant4GM::PlacementMap::G4PlacementMap |
Definition at line 40 of file PlacementMap.h.
G4PlacementMap::const_iterator Geant4GM::PlacementMap::G4PlacementMapCIterator |
Definition at line 41 of file PlacementMap.h.
std::map<G4VPhysicalVolume*, VGM::IPlacement*> Geant4GM::PlacementMap::VgmPlacementMap |
Definition at line 43 of file PlacementMap.h.
VgmPlacementMap::const_iterator Geant4GM::PlacementMap::VgmPlacementMapCIterator |
Definition at line 44 of file PlacementMap.h.
Geant4GM::PlacementMap::PlacementMap | ( | ) |
Standard default constructor
Definition at line 38 of file PlacementMap.cxx.
|
virtual |
Definition at line 52 of file PlacementMap.cxx.
|
static |
Singleton access function.
Definition at line 28 of file PlacementMap.cxx.
void Geant4GM::PlacementMap::AddPlacement | ( | VGM::IPlacement * | iPlacement, |
G4VPhysicalVolume * | g4Placement ) |
Add the specified pair in the map
Definition at line 59 of file PlacementMap.cxx.
G4VPhysicalVolume * Geant4GM::PlacementMap::GetPlacement | ( | VGM::IPlacement * | iPlacement | ) | const |
Find the G4 physical volume corresponding to a specified VGM placement
Definition at line 69 of file PlacementMap.cxx.
VGM::IPlacement * Geant4GM::PlacementMap::GetPlacement | ( | G4VPhysicalVolume * | pv | ) | const |
Find the VGM placement corresponding to a specified G4 physical volume
Definition at line 82 of file PlacementMap.cxx.