ATLAS Offline Software
InnerDetector
InDetDetDescr
InDetServMatGeoModel
src
InDetServMatManager.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//
6
// This is an implemetation of the GeoVDetectorManager which
7
// is needed by Geo2G4 to get the treetop of the geoetry to
8
// have the conversion to G4. Only the basic methods are implemented
9
//
10
11
12
#ifndef INDETSERVMATGEOMODEL_INDETSERVMATMANAGER_H
13
#define INDETSERVMATGEOMODEL_INDETSERVMATMANAGER_H
14
15
#include "GeoModelKernel/GeoVPhysVol.h"
16
#include "GeoModelKernel/GeoVDetectorManager.h"
17
#include "
AthenaKernel/CLASS_DEF.h
"
18
19
20
namespace
InDetDD
{
21
22
class
InDetServMatManager
:
public
GeoVDetectorManager {
23
24
public
:
25
26
// Constructor
27
InDetServMatManager
( );
28
29
// Destructor
30
~InDetServMatManager
();
31
32
// Access to raw geometry:
33
virtual
unsigned
int
getNumTreeTops
()
const
;
34
virtual
PVConstLink
getTreeTop
(
unsigned
int
i
)
const
;
35
36
// Add a Tree top:
37
void
addTreeTop
(
const
PVConstLink&);
38
39
private
:
40
// prevent copy and assignment
41
const
InDetServMatManager
&
operator=
(
const
InDetServMatManager
&right);
42
InDetServMatManager
(
const
InDetServMatManager
&right);
43
44
// data members
45
std::vector<PVConstLink>
m_volume
;
46
};
47
48
}
// namespace InDetDD
49
50
CLASS_DEF
(
InDetDD::InDetServMatManager
, 74623874, 1)
51
52
#endif
53
54
55
56
57
InDetDD::InDetServMatManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition:
InDetServMatManager.cxx:25
InDetDD::InDetServMatManager::m_volume
std::vector< PVConstLink > m_volume
Definition:
InDetServMatManager.h:45
InDetDD::InDetServMatManager::~InDetServMatManager
~InDetServMatManager()
Definition:
InDetServMatManager.cxx:18
InDetDD::InDetServMatManager::InDetServMatManager
InDetServMatManager()
Definition:
InDetServMatManager.cxx:9
lumiFormat.i
int i
Definition:
lumiFormat.py:85
InDetDD::InDetServMatManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition:
InDetServMatManager.cxx:31
InDetDD::InDetServMatManager::operator=
const InDetServMatManager & operator=(const InDetServMatManager &right)
InDetDD::InDetServMatManager::InDetServMatManager
InDetServMatManager(const InDetServMatManager &right)
InDetDD
Message Stream Member.
Definition:
FakeTrackBuilder.h:8
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
InDetDD::InDetServMatManager::addTreeTop
void addTreeTop(const PVConstLink &)
Definition:
InDetServMatManager.cxx:37
CLASS_DEF.h
macros to associate a CLID to a type
InDetDD::InDetServMatManager
Definition:
InDetServMatManager.h:22
Generated on Thu Nov 7 2024 21:17:05 for ATLAS Offline Software by
1.8.18