ATLAS Offline Software
Loading...
Searching...
No Matches
GeoMMHit Class Reference

#include <GeoMuonHits.h>

Inheritance diagram for GeoMMHit:
Collaboration diagram for GeoMMHit:

Public Member Functions

 GeoMMHit (const MMSimHit &h)
Amg::Vector3D getGlobalPosition () const
Amg::Vector3D getTrkLocalPosition () const
Amg::Vector3D getTrkGlobalPosition () const
const MMSimHitdata () const
 operator bool () const

Protected Member Functions

const MuonGM::MuonDetectorManagermgr () const

Static Private Member Functions

static const MuonGM::MuonDetectorManagerinit ()

Private Attributes

const MMSimHitm_hit

Detailed Description

Definition at line 149 of file GeoMuonHits.h.

Constructor & Destructor Documentation

◆ GeoMMHit()

GeoMMHit::GeoMMHit ( const MMSimHit & h)

Member Function Documentation

◆ data()

const MMSimHit & GeoMMHit::data ( ) const
inline

Definition at line 166 of file GeoMuonHits.h.

166{ return *m_hit;}
const MMSimHit * m_hit

◆ getGlobalPosition()

Amg::Vector3D GeoMMHit::getGlobalPosition ( ) const

◆ getTrkGlobalPosition()

Amg::Vector3D GeoMMHit::getTrkGlobalPosition ( ) const

◆ getTrkLocalPosition()

Amg::Vector3D GeoMMHit::getTrkLocalPosition ( ) 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()

GeoMMHit::operator bool ( ) const
inline

Definition at line 169 of file GeoMuonHits.h.

169{ return true; }

Member Data Documentation

◆ m_hit

const MMSimHit* GeoMMHit::m_hit
private

Definition at line 174 of file GeoMuonHits.h.


The documentation for this class was generated from the following file: