ATLAS Offline Software
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
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
43 
44  // data members
45  std::vector<PVConstLink> m_volume;
46 };
47 
48 } // namespace InDetDD
49 
51 
52 #endif
ITk::ServiceExtensionManager::ServiceExtensionManager
ServiceExtensionManager(const std::string &name)
Definition: ServiceExensionManager.cxx:9
ITk::ServiceExtensionManager::m_volume
std::vector< PVConstLink > m_volume
Definition: ServiceExtensionManager.h:45
ITk::ServiceExtensionManager::addTreeTop
void addTreeTop(const PVConstLink &)
Definition: ServiceExensionManager.cxx:35
ITk::ServiceExtensionManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition: ServiceExensionManager.cxx:29
ITk::ServiceExtensionManager::ServiceExtensionManager
ServiceExtensionManager(const ServiceExtensionManager &right)
ITk::ServiceExtensionManager::operator=
const ServiceExtensionManager & operator=(const ServiceExtensionManager &right)
lumiFormat.i
int i
Definition: lumiFormat.py:92
ITk
Definition: ITkPixelOfflineCalibCondAlg.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ITk::ServiceExtensionManager::~ServiceExtensionManager
~ServiceExtensionManager()
Definition: ServiceExensionManager.cxx:16
ITk::ServiceExtensionManager
Definition: ServiceExtensionManager.h:22
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
ITk::ServiceExtensionManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition: ServiceExensionManager.cxx:23
CLASS_DEF.h
macros to associate a CLID to a type