ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonDetDescr
MuonGeoModel
MuonGeoModel
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
8
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
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:
27
~MuonDetectorFactoryLite
();
28
29
// Creates the raw geometry tree: required,
30
virtual
void
create
(GeoPhysVol *world)
override
;
31
32
virtual
const
MuonDetectorManager
*
getDetectorManager
()
const override
;
33
MuonDetectorManager
*
getDetectorManager
();
34
35
36
inline
void
setRDBAccess
(
IRDBAccessSvc
*access);
37
38
39
private
:
40
41
MuonDetectorManager
*
m_manager
{
nullptr
};
42
StoreGateSvc
*
m_pDetStore
{
nullptr
};
43
IRDBAccessSvc
*
m_pRDBAccess
{
nullptr
};
44
GeoModelIO::ReadGeoModel *
m_sqliteReader
;
45
};
46
47
48
void
MuonDetectorFactoryLite::setRDBAccess
(
IRDBAccessSvc
*access) {
m_pRDBAccess
= access; }
49
50
51
}
// namespace MuonGM
52
53
#endif
MuonDetectorManager.h
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition
IRDBAccessSvc.h:45
MuonGM::MuonDetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition
MuonDetectorFactoryLite.cxx:51
MuonGM::MuonDetectorFactoryLite::m_pRDBAccess
IRDBAccessSvc * m_pRDBAccess
Definition
MuonDetectorFactoryLite.h:43
MuonGM::MuonDetectorFactoryLite::setRDBAccess
void setRDBAccess(IRDBAccessSvc *access)
Definition
MuonDetectorFactoryLite.h:48
MuonGM::MuonDetectorFactoryLite::MuonDetectorFactoryLite
MuonDetectorFactoryLite(StoreGateSvc *pDetStore, GeoModelIO::ReadGeoModel *sqliteReader)
Definition
MuonDetectorFactoryLite.cxx:41
MuonGM::MuonDetectorFactoryLite::m_manager
MuonDetectorManager * m_manager
Definition
MuonDetectorFactoryLite.h:41
MuonGM::MuonDetectorFactoryLite::m_pDetStore
StoreGateSvc * m_pDetStore
Definition
MuonDetectorFactoryLite.h:42
MuonGM::MuonDetectorFactoryLite::~MuonDetectorFactoryLite
~MuonDetectorFactoryLite()
MuonGM::MuonDetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition
MuonDetectorFactoryLite.h:44
MuonGM::MuonDetectorFactoryLite::getDetectorManager
virtual const MuonDetectorManager * getDetectorManager() const override
Definition
MuonDetectorFactoryLite.cxx:48
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:51
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition
GeoMuonHits.h:27
Generated on
for ATLAS Offline Software by
1.17.0