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

#include <GeoTRTUncompressedHit.h>

Collaboration diagram for GeoTRTUncompressedHit:

Public Member Functions

 GeoTRTUncompressedHit (const TRTUncompressedHit &h)
 
HepGeom::Point3D< double > getGlobalPosition () const
 
 operator bool () const
 

Private Member Functions

const InDetDD::TRT_DetectorManagermgr () const
 

Static Private Member Functions

static const InDetDD::TRT_DetectorManagerinit ()
 

Private Attributes

const TRTUncompressedHitm_hit
 

Detailed Description

Definition at line 25 of file GeoTRTUncompressedHit.h.

Constructor & Destructor Documentation

◆ GeoTRTUncompressedHit()

GeoTRTUncompressedHit::GeoTRTUncompressedHit ( const TRTUncompressedHit h)

Member Function Documentation

◆ getGlobalPosition()

HepGeom::Point3D<double> GeoTRTUncompressedHit::getGlobalPosition ( ) const

◆ init()

const InDetDD::TRT_DetectorManager * GeoTRTUncompressedHit::init ( )
staticprivate

Definition at line 11 of file GeoTRTUncompressedHit.cxx.

12 {
13  ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "GeoSiHit");
14  const InDetDD::TRT_DetectorManager* mgr = nullptr;
15  if(detStore->retrieve(mgr,"TRT").isFailure()) {
16  std::abort();
17  }
18  return mgr;
19 }

◆ mgr()

const InDetDD::TRT_DetectorManager * GeoTRTUncompressedHit::mgr ( ) const
private

Definition at line 22 of file GeoTRTUncompressedHit.cxx.

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

◆ operator bool()

GeoTRTUncompressedHit::operator bool ( ) const
inline

Definition at line 36 of file GeoTRTUncompressedHit.h.

36 { return true; }

Member Data Documentation

◆ m_hit

const TRTUncompressedHit* GeoTRTUncompressedHit::m_hit
private

Definition at line 42 of file GeoTRTUncompressedHit.h.


The documentation for this class was generated from the following files:
GeoTRTUncompressedHit::mgr
const InDetDD::TRT_DetectorManager * mgr() const
Definition: GeoTRTUncompressedHit.cxx:22
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
GeoTRTUncompressedHit::init
static const InDetDD::TRT_DetectorManager * init()
Definition: GeoTRTUncompressedHit.cxx:11
InDetDD::TRT_DetectorManager
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Definition: TRT_DetectorManager.h:69
ServiceHandle< StoreGateSvc >