ATLAS Offline Software
CavernInfraDetectorManager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CAVERNINFRAGEOMODEL_CAVERNINFRADETECTORMANAGER_H
6 #define CAVERNINFRAGEOMODEL_CAVERNINFRADETECTORMANAGER_H
7 
8 #include "GeoModelKernel/GeoVPhysVol.h"
9 #include "GeoModelKernel/GeoVDetectorManager.h"
10 #include <vector>
11 
12 class CavernInfraDetectorManager : public GeoVDetectorManager
13 {
14  public:
16 
19 
21 
22  // Access to raw geometry:
23  virtual unsigned int getNumTreeTops() const override;
24  virtual PVConstLink getTreeTop(unsigned int i) const override;
25 
26  void addTreeTop(PVLink); // Add a Tree top:
27 
28  private:
29  // Tree Tops
30  std::vector<PVLink> m_treeTops;
31 };
32 
33 #ifndef GAUDI_NEUTRAL
34 #include "AthenaKernel/CLASS_DEF.h"
36 #endif
37 
38 #endif
39 
40 
CavernInfraDetectorManager::CavernInfraDetectorManager
CavernInfraDetectorManager(const CavernInfraDetectorManager &right)=delete
CavernInfraDetectorManager::m_treeTops
std::vector< PVLink > m_treeTops
Definition: CavernInfraDetectorManager.h:30
CavernInfraDetectorManager::~CavernInfraDetectorManager
~CavernInfraDetectorManager()
lumiFormat.i
int i
Definition: lumiFormat.py:92
CavernInfraDetectorManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const override
Definition: CavernInfraDetectorManager.cxx:21
CavernInfraDetectorManager::addTreeTop
void addTreeTop(PVLink)
Definition: CavernInfraDetectorManager.cxx:29
CavernInfraDetectorManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const override
Definition: CavernInfraDetectorManager.cxx:16
CavernInfraDetectorManager
Definition: CavernInfraDetectorManager.h:13
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
CavernInfraDetectorManager::operator=
const CavernInfraDetectorManager & operator=(const CavernInfraDetectorManager &right)=delete
CavernInfraDetectorManager::CavernInfraDetectorManager
CavernInfraDetectorManager()
Definition: CavernInfraDetectorManager.cxx:7
CLASS_DEF.h
macros to associate a CLID to a type