VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::PlacementMap Class Reference

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::IPlacementGetPlacement (G4VPhysicalVolume *pv) const
 

Static Public Member Functions

static PlacementMapInstance ()
 

Detailed Description

The map between VGM and Geant4 placements.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 37 of file PlacementMap.h.

Member Typedef Documentation

◆ G4PlacementMap

Definition at line 40 of file PlacementMap.h.

◆ G4PlacementMapCIterator

G4PlacementMap::const_iterator Geant4GM::PlacementMap::G4PlacementMapCIterator

Definition at line 41 of file PlacementMap.h.

◆ VgmPlacementMap

Definition at line 43 of file PlacementMap.h.

◆ VgmPlacementMapCIterator

VgmPlacementMap::const_iterator Geant4GM::PlacementMap::VgmPlacementMapCIterator

Definition at line 44 of file PlacementMap.h.

Constructor & Destructor Documentation

◆ PlacementMap()

Geant4GM::PlacementMap::PlacementMap ( )

Standard default constructor

Definition at line 38 of file PlacementMap.cxx.

◆ ~PlacementMap()

Geant4GM::PlacementMap::~PlacementMap ( )
virtual

Definition at line 52 of file PlacementMap.cxx.

Member Function Documentation

◆ Instance()

Geant4GM::PlacementMap * Geant4GM::PlacementMap::Instance ( )
static

Singleton access function.

Definition at line 28 of file PlacementMap.cxx.

◆ AddPlacement()

void Geant4GM::PlacementMap::AddPlacement ( VGM::IPlacement * iPlacement,
G4VPhysicalVolume * g4Placement )

Add the specified pair in the map

Definition at line 59 of file PlacementMap.cxx.

◆ GetPlacement() [1/2]

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.

◆ GetPlacement() [2/2]

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.


The documentation for this class was generated from the following files: