ATLAS Offline Software
MuonDetectorFactoryLite.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MuonDetectorFactoryLite_H
6 #define MuonDetectorFactoryLite_H
7 
9 #include "GeoModelKernel/GeoVDetectorFactory.h"
10 #include "GeoModelRead/ReadGeoModel.h"
11 #include <string>
12 
13 class GeoPhysVol;
14 class StoreGateSvc;
15 class IRDBAccessSvc;
16 
17 namespace MuonGM {
18 
19  class MuonDetectorFactoryLite : public GeoVDetectorFactory {
20 
21 
22  public:
23  // Constructor:
24  MuonDetectorFactoryLite(StoreGateSvc *pDetStore, GeoModelIO::ReadGeoModel * sqliteReader);
25 
26  // Destructor:
28 
29  // Creates the raw geometry tree: required,
30  virtual void create(GeoPhysVol *world) override;
31 
32  virtual const MuonDetectorManager *getDetectorManager() const override;
34 
35 
36  inline void setRDBAccess(IRDBAccessSvc *access);
37 
38 
39  private:
40 
44  GeoModelIO::ReadGeoModel *m_sqliteReader;
45  };
46 
47 
49 
50 
51 } // namespace MuonGM
52 
53 #endif
MuonGM::MuonDetectorFactoryLite::~MuonDetectorFactoryLite
~MuonDetectorFactoryLite()
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::MuonDetectorFactoryLite::getDetectorManager
virtual const MuonDetectorManager * getDetectorManager() const override
Definition: MuonDetectorFactoryLite.cxx:48
MuonGM::MuonDetectorFactoryLite::m_pDetStore
StoreGateSvc * m_pDetStore
Definition: MuonDetectorFactoryLite.h:42
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
python.dummyaccess.access
def access(filename, mode)
Definition: dummyaccess.py:18
MuonGM::MuonDetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition: MuonDetectorFactoryLite.cxx:51
MuonGM::MuonDetectorFactoryLite::setRDBAccess
void setRDBAccess(IRDBAccessSvc *access)
Definition: MuonDetectorFactoryLite.h:48
MuonGM::MuonDetectorFactoryLite::m_pRDBAccess
IRDBAccessSvc * m_pRDBAccess
Definition: MuonDetectorFactoryLite.h:43
MuonGM::MuonDetectorFactoryLite::m_manager
MuonDetectorManager * m_manager
Definition: MuonDetectorFactoryLite.h:41
MuonGM::MuonDetectorFactoryLite
Definition: MuonDetectorFactoryLite.h:19
MuonDetectorManager.h
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
MuonGM::MuonDetectorFactoryLite::MuonDetectorFactoryLite
MuonDetectorFactoryLite(StoreGateSvc *pDetStore, GeoModelIO::ReadGeoModel *sqliteReader)
Definition: MuonDetectorFactoryLite.cxx:41
MuonGM::MuonDetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition: MuonDetectorFactoryLite.h:44