ATLAS Offline Software
Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
GeoMDTHit Class Reference

#include <GeoMuonHits.h>

Inheritance diagram for GeoMDTHit:
Collaboration diagram for GeoMDTHit:

Public Member Functions

 GeoMDTHit (const MDTSimHit &h)
 
Amg::Vector3D getGlobalPosition () const
 
const MDTSimHitdata () const
 
 operator bool () const
 

Protected Member Functions

const MuonGM::MuonDetectorManagermgr () const
 

Static Private Member Functions

static const MuonGM::MuonDetectorManagerinit ()
 

Private Attributes

const MDTSimHitm_hit
 

Detailed Description

Definition at line 63 of file GeoMuonHits.h.

Constructor & Destructor Documentation

◆ GeoMDTHit()

GeoMDTHit::GeoMDTHit ( const MDTSimHit h)

Member Function Documentation

◆ data()

const MDTSimHit& GeoMDTHit::data ( ) const
inline

Definition at line 74 of file GeoMuonHits.h.

74 { return *m_hit;}

◆ getGlobalPosition()

Amg::Vector3D GeoMDTHit::getGlobalPosition ( ) const

◆ init()

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

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
protectedinherited

Definition at line 22 of file GeoMuonHits.cxx.

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

◆ operator bool()

GeoMDTHit::operator bool ( ) const
inline

Definition at line 77 of file GeoMuonHits.h.

77 { return true; }

Member Data Documentation

◆ m_hit

const MDTSimHit* GeoMDTHit::m_hit
private

Definition at line 80 of file GeoMuonHits.h.


The documentation for this class was generated from the following file:
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
GeoMDTHit::m_hit
const MDTSimHit * m_hit
Definition: GeoMuonHits.h:80
GeoMuonHitBase::mgr
const MuonGM::MuonDetectorManager * mgr() const
Definition: GeoMuonHits.cxx:22
ServiceHandle< StoreGateSvc >