ATLAS Offline Software
DetectorDescription
GeoModel
GeoAdaptors
src
GeoMuonHits.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
GeoAdaptors/GeoMuonHits.h
"
7
#include "
StoreGate/StoreGateSvc.h
"
8
#include "GaudiKernel/ServiceHandle.h"
9
10
11
const
MuonGM::MuonDetectorManager
*
GeoMuonHitBase::init
()
12
{
13
ServiceHandle<StoreGateSvc>
detStore
(
"DetectorStore"
,
"GeoSiHit"
);
14
const
MuonGM::MuonDetectorManager
*
mgr
=
nullptr
;
15
if
(
detStore
->retrieve(
mgr
,
"Muon"
).isFailure()) {
16
std::abort();
17
}
18
return
mgr
;
19
}
20
21
22
const
MuonGM::MuonDetectorManager
*
GeoMuonHitBase::mgr
()
const
23
{
24
const
MuonGM::MuonDetectorManager
*
const
mgr
=
init
();
25
return
mgr
;
26
}
GeoMuonHits.h
GeoMuonHitBase::init
static const MuonGM::MuonDetectorManager * init()
Definition:
GeoMuonHits.cxx:11
python.PyKernel.detStore
detStore
Definition:
PyKernel.py:41
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition:
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
GeoMuonHitBase::mgr
const MuonGM::MuonDetectorManager * mgr() const
Definition:
GeoMuonHits.cxx:22
StoreGateSvc.h
ServiceHandle< StoreGateSvc >
Generated on Sun Dec 22 2024 21:10:50 for ATLAS Offline Software by
1.8.18