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

#include <GeoMuonHits.h>

Inheritance diagram for GeoCSCHit:
Collaboration diagram for GeoCSCHit:

Public Member Functions

 GeoCSCHit (const CSCSimHit &h)
 
Amg::Vector3D getGlobalPosition () const
 
const CSCSimHitdata () const
 
 operator bool () const
 

Protected Member Functions

const MuonGM::MuonDetectorManagermgr () const
 

Static Private Member Functions

static const MuonGM::MuonDetectorManagerinit ()
 

Private Attributes

const CSCSimHitm_hit
 

Detailed Description

Definition at line 128 of file GeoMuonHits.h.

Constructor & Destructor Documentation

◆ GeoCSCHit()

GeoCSCHit::GeoCSCHit ( const CSCSimHit h)

Member Function Documentation

◆ data()

const CSCSimHit& GeoCSCHit::data ( ) const
inline

Definition at line 139 of file GeoMuonHits.h.

139 { return *m_hit;}

◆ getGlobalPosition()

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

GeoCSCHit::operator bool ( ) const
inline

Definition at line 142 of file GeoMuonHits.h.

142 { return true; }

Member Data Documentation

◆ m_hit

const CSCSimHit* GeoCSCHit::m_hit
private

Definition at line 145 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
GeoCSCHit::m_hit
const CSCSimHit * m_hit
Definition: GeoMuonHits.h:145
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 >