VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
volumes
PlacementMap.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The RootGM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
13
//
19
20
#ifndef ROOT_GM_PLACEMENT_MAP_H
21
#define ROOT_GM_PLACEMENT_MAP_H
22
23
#include <map>
24
25
class
TGeoNode;
26
27
namespace
VGM
{
28
class
IPlacement
;
29
}
30
31
namespace
RootGM
{
32
33
class
PlacementMap
;
34
35
class
PlacementMap
36
{
37
public
:
38
typedef
std::map<VGM::IPlacement*, TGeoNode*>
RootPlacementMap
;
39
typedef
RootPlacementMap::const_iterator
RootPlacementMapCIterator
;
40
41
public
:
42
PlacementMap
();
43
virtual
~PlacementMap
();
44
45
// static access methods
46
static
PlacementMap
*
Instance
();
47
48
// methods
49
void
AddPlacement
(
VGM::IPlacement
*, TGeoNode*);
50
TGeoNode*
GetPlacement
(
VGM::IPlacement
* iPlacement)
const
;
51
52
protected
:
53
PlacementMap
(
const
PlacementMap
&);
54
55
private
:
56
// static data members
57
static
PlacementMap
* fgInstance;
58
59
// data members
60
RootPlacementMap
fPlacements;
61
};
62
63
}
// namespace RootGM
64
65
#endif
// ROOT_GM_PLACEMENT_MAP_H
RootGM::PlacementMap
The map between VGM and Root placements.
Definition
PlacementMap.h:36
RootGM::PlacementMap::~PlacementMap
virtual ~PlacementMap()
Definition
PlacementMap.cxx:52
RootGM::PlacementMap::RootPlacementMapCIterator
RootPlacementMap::const_iterator RootPlacementMapCIterator
Definition
PlacementMap.h:39
RootGM::PlacementMap::GetPlacement
TGeoNode * GetPlacement(VGM::IPlacement *iPlacement) const
Definition
PlacementMap.cxx:72
RootGM::PlacementMap::PlacementMap
PlacementMap()
Definition
PlacementMap.cxx:38
RootGM::PlacementMap::Instance
static PlacementMap * Instance()
Definition
PlacementMap.cxx:28
RootGM::PlacementMap::AddPlacement
void AddPlacement(VGM::IPlacement *, TGeoNode *)
Definition
PlacementMap.cxx:63
RootGM::PlacementMap::RootPlacementMap
std::map< VGM::IPlacement *, TGeoNode * > RootPlacementMap
Definition
PlacementMap.h:38
VGM::IPlacement
The VGM interface to positions of volumes.
Definition
IPlacement.h:44
RootGM
VGM implementation for Root.
Definition
axis.h:28
VGM
VGM interfaces.
Definition
VMedium.h:28
Generated on
for VGM by
1.17.0