ATLAS Offline Software
Loading...
Searching...
No Matches
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;}
const MDTSimHit * m_hit
Definition GeoMuonHits.h:80

◆ 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}
const MuonGM::MuonDetectorManager * mgr() const

◆ 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}
static const MuonGM::MuonDetectorManager * init()

◆ 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: