ATLAS Offline Software
PRDHandle_TGC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PRDHANDLE_TGC_H
6 #define PRDHANDLE_TGC_H
7 
11 
12 class PRDHandle_TGC : public PRDHandleBase {
13 public:
14 
16  virtual ~PRDHandle_TGC() {};
17 
18  SoTransform * createTransform() const;
19 
20  void buildShapes(SoNode*&shape_simple, SoNode*&shape_detailed);
21  int regionIndex();
22 
23  const Muon::TgcPrepData * tgc() const { return m_tgc; }
24  const Trk::PrepRawData * getPRD() const { return m_tgc; }
25 
26  bool inMuonChamber() const { return true; }
27  GeoPVConstLink parentMuonChamberPV() const { return m_tgc->detectorElement()->parentStationPV(); }
28 
29 private:
31 
32 };
33 
34 #endif
PRDHandle_TGC::parentMuonChamberPV
GeoPVConstLink parentMuonChamberPV() const
Definition: PRDHandle_TGC.h:27
PRDHandle_TGC::getPRD
const Trk::PrepRawData * getPRD() const
Definition: PRDHandle_TGC.h:24
PRDCollHandle_TGC
Definition: PRDCollHandle_TGC.h:10
Muon::TgcPrepData::detectorElement
virtual const MuonGM::TgcReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD The pointer will be zero if the det el is not ...
Definition: TgcPrepData.h:120
PRDHandle_TGC::inMuonChamber
bool inMuonChamber() const
Definition: PRDHandle_TGC.h:26
PRDCollHandle_TGC.h
PRDHandle_TGC::regionIndex
int regionIndex()
Definition: PRDHandle_TGC.cxx:185
TgcPrepData.h
PRDHandle_TGC::tgc
const Muon::TgcPrepData * tgc() const
Definition: PRDHandle_TGC.h:23
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDHandle_TGC::m_tgc
const Muon::TgcPrepData * m_tgc
Definition: PRDHandle_TGC.h:30
PRDHandle_TGC::~PRDHandle_TGC
virtual ~PRDHandle_TGC()
Definition: PRDHandle_TGC.h:16
PRDHandle_TGC::createTransform
SoTransform * createTransform() const
Definition: PRDHandle_TGC.cxx:31
PRDHandle_TGC::PRDHandle_TGC
PRDHandle_TGC(PRDCollHandle_TGC *, const Muon::TgcPrepData *)
Definition: PRDHandle_TGC.cxx:24
PRDHandle_TGC
Definition: PRDHandle_TGC.h:12
Muon::TgcPrepData
Class to represent TGC measurements.
Definition: TgcPrepData.h:32
PRDHandleBase
Definition: PRDHandleBase.h:35
PRDHandle_TGC::buildShapes
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
Definition: PRDHandle_TGC.cxx:97
MuonGM::MuonReadoutElement::parentStationPV
PVConstLink parentStationPV() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonReadoutElement.cxx:100
PRDHandleBase.h