ATLAS Offline Software
GeoTRTUncompressedHit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEOADAPTORS_GEOTRTUNCOMPRESSEDHIT_H
6 #define GEOADAPTORS_GEOTRTUNCOMPRESSEDHIT_H
7 //----------------------------------------------------------//
8 // //
9 // An adaptor for TRT_UncompressedHits. //
10 // //
11 // Joe Boudreau Feb 04. //
12 // //
13 // This adaptor class allows TRT_UncompressedHits to behave //
14 // as if they knew which detector they were in. //
15 // //
16 // //
17 //----------------------------------------------------------//
18 #include "CLHEP/Geometry/Point3D.h"
19 class TRTUncompressedHit;
20 
21 namespace InDetDD {
22  class TRT_DetectorManager;
23 }
24 
26 
27  public:
28 
29  // Constructor:
31 
32  // Get the absolute global position:
33  HepGeom::Point3D<double> getGlobalPosition() const;
34 
35  // Is this hit OK?
36  operator bool () const { return true; }
37 
38  private:
39  static const InDetDD::TRT_DetectorManager* init();
40  const InDetDD::TRT_DetectorManager* mgr() const;
41 
43 };
44 
46 
47 #endif
GeoTRTUncompressedHit::GeoTRTUncompressedHit
GeoTRTUncompressedHit(const TRTUncompressedHit &h)
TRTUncompressedHit
Definition: TRTUncompressedHit.h:11
GeoTRTUncompressedHit.icc
GeoTRTUncompressedHit::mgr
const InDetDD::TRT_DetectorManager * mgr() const
Definition: GeoTRTUncompressedHit.cxx:22
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
h
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
GeoTRTUncompressedHit
Definition: GeoTRTUncompressedHit.h:25
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition: TrigDecision_v1.cxx:60
GeoTRTUncompressedHit::getGlobalPosition
HepGeom::Point3D< double > getGlobalPosition() const
GeoTRTUncompressedHit::m_hit
const TRTUncompressedHit * m_hit
Definition: GeoTRTUncompressedHit.h:42