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

The map between VGM and Geant4 solids. More...

#include <SolidMap.h>

Public Types

typedef std::map< VGM::ISolid *, G4VSolid * > G4SolidMap
 
typedef G4SolidMap::const_iterator G4SolidMapCIterator
 
typedef std::map< G4VSolid *, VGM::ISolid * > VgmSolidMap
 
typedef VgmSolidMap::const_iterator VgmSolidMapCIterator
 

Public Member Functions

 SolidMap ()
 
virtual ~SolidMap ()
 
void AddSolid (VGM::ISolid *, G4VSolid *)
 
G4VSolid * GetSolid (VGM::ISolid *iSolid) const
 
VGM::ISolidGetSolid (G4VSolid *solid) const
 

Static Public Member Functions

static SolidMapInstance ()
 

Detailed Description

The map between VGM and Geant4 solids.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file SolidMap.h.

Member Typedef Documentation

◆ G4SolidMap

Definition at line 38 of file SolidMap.h.

◆ G4SolidMapCIterator

G4SolidMap::const_iterator Geant4GM::SolidMap::G4SolidMapCIterator

Definition at line 39 of file SolidMap.h.

◆ VgmSolidMap

Definition at line 41 of file SolidMap.h.

◆ VgmSolidMapCIterator

VgmSolidMap::const_iterator Geant4GM::SolidMap::VgmSolidMapCIterator

Definition at line 42 of file SolidMap.h.

Constructor & Destructor Documentation

◆ SolidMap()

Geant4GM::SolidMap::SolidMap ( )

Standard default constructor

Definition at line 38 of file SolidMap.cxx.

◆ ~SolidMap()

Geant4GM::SolidMap::~SolidMap ( )
virtual

Definition at line 52 of file SolidMap.cxx.

Member Function Documentation

◆ Instance()

Geant4GM::SolidMap * Geant4GM::SolidMap::Instance ( )
static

Singleton access function.

Definition at line 28 of file SolidMap.cxx.

◆ AddSolid()

void Geant4GM::SolidMap::AddSolid ( VGM::ISolid * iSolid,
G4VSolid * g4Solid )

Add the specified pair in the map

Definition at line 59 of file SolidMap.cxx.

◆ GetSolid() [1/2]

G4VSolid * Geant4GM::SolidMap::GetSolid ( VGM::ISolid * iSolid) const

Find the G4 solid corresponding to a specified VGM solid

Definition at line 68 of file SolidMap.cxx.

◆ GetSolid() [2/2]

VGM::ISolid * Geant4GM::SolidMap::GetSolid ( G4VSolid * solid) const

Find the VGM solid corresponding to a specified G4 solid

Definition at line 80 of file SolidMap.cxx.


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