ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
ServiceExtensionGeoModelXml
src
ServiceExtensionManager.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 SERVICEEXTENSIONGEOMODELXML_SERVICEEXTENSIONMANAGER_H
13
#define SERVICEEXTENSIONGEOMODELXML_SERVICEEXTENSIONMANAGER_H
14
15
#include "GeoModelKernel/GeoVPhysVol.h"
16
#include "GeoModelKernel/GeoVDetectorManager.h"
17
#include "
AthenaKernel/CLASS_DEF.h
"
18
19
20
namespace
ITk
{
21
22
class
ServiceExtensionManager
:
public
GeoVDetectorManager {
23
24
public
:
25
26
// Constructor
27
ServiceExtensionManager
(
const
std::string & name);
28
29
// Destructor
30
~ServiceExtensionManager
();
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
ServiceExtensionManager
&
operator=
(
const
ServiceExtensionManager
&right);
42
ServiceExtensionManager
(
const
ServiceExtensionManager
&right);
43
44
// data members
45
std::vector<PVConstLink>
m_volume
;
46
};
47
48
}
// namespace InDetDD
49
50
CLASS_DEF
(
ITk::ServiceExtensionManager
, 61947039, 1)
51
52
#endif
CLASS_DEF.h
macros to associate a CLID to a type
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:67
ITk::ServiceExtensionManager
Definition
ServiceExtensionManager.h:22
ITk::ServiceExtensionManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition
ServiceExensionManager.cxx:29
ITk::ServiceExtensionManager::addTreeTop
void addTreeTop(const PVConstLink &)
Definition
ServiceExensionManager.cxx:35
ITk::ServiceExtensionManager::operator=
const ServiceExtensionManager & operator=(const ServiceExtensionManager &right)
ITk::ServiceExtensionManager::ServiceExtensionManager
ServiceExtensionManager(const std::string &name)
Definition
ServiceExensionManager.cxx:9
ITk::ServiceExtensionManager::ServiceExtensionManager
ServiceExtensionManager(const ServiceExtensionManager &right)
ITk::ServiceExtensionManager::~ServiceExtensionManager
~ServiceExtensionManager()
Definition
ServiceExensionManager.cxx:16
ITk::ServiceExtensionManager::m_volume
std::vector< PVConstLink > m_volume
Definition
ServiceExtensionManager.h:45
ITk::ServiceExtensionManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition
ServiceExensionManager.cxx:23
ITk
Definition
ITkPixelOfflineCalibCondAlg.cxx:13
Generated on
for ATLAS Offline Software by
1.17.0