ATLAS Offline Software
ALFA_DetectorManager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ALFA_DetectorManager_h
6 #define ALFA_DetectorManager_h 1
7 
8 
9 
10 #include "GeoModelKernel/GeoVPhysVol.h"
11 #include "GeoModelKernel/GeoVDetectorManager.h"
12 
13 #include <vector>
14 
15 class ALFA_DetectorManager : public GeoVDetectorManager
16 {
17  public:
18 
19  // Constructor
21 
22  // Destructor
24 
25  // Access to raw geometry:
26  virtual unsigned int getNumTreeTops() const;
27 
28  // Access to raw geometry:
29  virtual PVConstLink getTreeTop(unsigned int i) const;
30 
31  // Add a Tree top:
32  void addTreeTop(PVLink);
33 
34  private:
35 
38 
39  std::vector<PVLink> m_volume;
40 
41 };
42 
43 #ifndef GAUDI_NEUTRAL
44 #include "AthenaKernel/CLASS_DEF.h"
46 CLASS_DEF(ALFA_DetectorManager, 114886926, 1)
47 #endif
48 
49 #endif
ALFA_DetectorManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition: ALFA_DetectorManager.cxx:16
ALFA_DetectorManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition: ALFA_DetectorManager.cxx:21
ALFA_DetectorManager
Definition: ALFA_DetectorManager.h:16
ALFA_DetectorManager::~ALFA_DetectorManager
~ALFA_DetectorManager()
ALFA_DetectorManager::addTreeTop
void addTreeTop(PVLink)
Definition: ALFA_DetectorManager.cxx:26
lumiFormat.i
int i
Definition: lumiFormat.py:85
ALFA_DetectorManager::ALFA_DetectorManager
ALFA_DetectorManager(const ALFA_DetectorManager &right)
ALFA_DetectorManager::operator=
const ALFA_DetectorManager & operator=(const ALFA_DetectorManager &right)
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
ALFA_DetectorManager::m_volume
std::vector< PVLink > m_volume
Definition: ALFA_DetectorManager.h:39
ALFA_DetectorManager::ALFA_DetectorManager
ALFA_DetectorManager()
Definition: ALFA_DetectorManager.cxx:7
CLASS_DEF.h
macros to associate a CLID to a type