ATLAS Offline Software
Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
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;}

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

◆ 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()

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:
GeoMuonHitBase::init
static const MuonGM::MuonDetectorManager * init()
Definition: GeoMuonHits.cxx:11
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
GeoMMHit::m_hit
const MMSimHit * m_hit
Definition: GeoMuonHits.h:174
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:49
GeoMuonHitBase::mgr
const MuonGM::MuonDetectorManager * mgr() const
Definition: GeoMuonHits.cxx:22
ServiceHandle< StoreGateSvc >