ATLAS Offline Software
Protected Member Functions | Static Private Member Functions | List of all members
GeoMuonHitBase Class Reference

#include <GeoMuonHits.h>

Inheritance diagram for GeoMuonHitBase:
Collaboration diagram for GeoMuonHitBase:

Protected Member Functions

const MuonGM::MuonDetectorManagermgr () const
 

Static Private Member Functions

static const MuonGM::MuonDetectorManagerinit ()
 

Detailed Description

Definition at line 53 of file GeoMuonHits.h.

Member Function Documentation

◆ init()

const MuonGM::MuonDetectorManager * GeoMuonHitBase::init ( )
staticprivate

Definition at line 11 of file GeoMuonHits.cxx.

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 }

◆ mgr()

const MuonGM::MuonDetectorManager * GeoMuonHitBase::mgr ( ) const
protected

Definition at line 22 of file GeoMuonHits.cxx.

23 {
24  const MuonGM::MuonDetectorManager* const mgr = init();
25  return mgr;
26 }

The documentation for this class was generated from the following files:
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
ServiceHandle< StoreGateSvc >