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

The map between VGM and Root placements. More...

#include <PlacementMap.h>

Public Types

typedef std::map< VGM::IPlacement *, TGeoNode * > RootPlacementMap
 
typedef RootPlacementMap::const_iterator RootPlacementMapCIterator
 

Public Member Functions

 PlacementMap ()
 
virtual ~PlacementMap ()
 
void AddPlacement (VGM::IPlacement *, TGeoNode *)
 
TGeoNode * GetPlacement (VGM::IPlacement *iPlacement) const
 

Static Public Member Functions

static PlacementMapInstance ()
 

Protected Member Functions

 PlacementMap (const PlacementMap &)
 

Detailed Description

The map between VGM and Root placements.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file PlacementMap.h.

Member Typedef Documentation

◆ RootPlacementMap

Definition at line 38 of file PlacementMap.h.

◆ RootPlacementMapCIterator

typedef RootPlacementMap::const_iterator RootGM::PlacementMap::RootPlacementMapCIterator

Definition at line 39 of file PlacementMap.h.

Constructor & Destructor Documentation

◆ PlacementMap() [1/2]

RootGM::PlacementMap::PlacementMap ( )

Standard default constructor

Definition at line 38 of file PlacementMap.cxx.

◆ ~PlacementMap()

RootGM::PlacementMap::~PlacementMap ( )
virtual

Definition at line 52 of file PlacementMap.cxx.

◆ PlacementMap() [2/2]

RootGM::PlacementMap::PlacementMap ( const PlacementMap & )
protected

Protected copy constructor

Definition at line 46 of file PlacementMap.cxx.

Member Function Documentation

◆ Instance()

RootGM::PlacementMap * RootGM::PlacementMap::Instance ( )
static

Singleton access function.

Definition at line 28 of file PlacementMap.cxx.

◆ AddPlacement()

void RootGM::PlacementMap::AddPlacement ( VGM::IPlacement * iPlacement,
TGeoNode * rtPlacement )

Add the specified pair in the map

Definition at line 63 of file PlacementMap.cxx.

◆ GetPlacement()

TGeoNode * RootGM::PlacementMap::GetPlacement ( VGM::IPlacement * iPlacement) const

Find the Root node corresponding to a specified VGM placement.

Definition at line 72 of file PlacementMap.cxx.


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