ATLAS Offline Software
PRDHandle_sTGC.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_STGC_H
6 #define PRDHANDLE_STGC_H
7 
11 
12 class PRDHandle_sTGC : public PRDHandleBase {
13 public:
14 
16  virtual ~PRDHandle_sTGC() {};
17 
18  SoTransform * createTransform() const ; // FIXME!
19  void buildShapes(SoNode*&shape_simple, SoNode*&shape_detailed) ;
20 
21  int regionIndex();
22 
23  const Muon::sTgcPrepData * stgc() const { return m_stgc; }
24  const Trk::PrepRawData * getPRD() const { return m_stgc; }
25 
26  bool inMuonChamber() const { return true; }
27  GeoPVConstLink parentMuonChamberPV() const { return m_stgc->detectorElement()->parentStationPV(); }
28 
29 private:
31 
32 };
33 
34 #endif
PRDHandle_sTGC::regionIndex
int regionIndex()
Definition: PRDHandle_sTGC.cxx:166
PRDHandle_sTGC::parentMuonChamberPV
GeoPVConstLink parentMuonChamberPV() const
Definition: PRDHandle_sTGC.h:27
PRDHandle_sTGC::createTransform
SoTransform * createTransform() const
Definition: PRDHandle_sTGC.cxx:29
sTgcPrepData.h
PRDHandle_sTGC::PRDHandle_sTGC
PRDHandle_sTGC(PRDCollHandle_sTGC *, const Muon::sTgcPrepData *)
Definition: PRDHandle_sTGC.cxx:21
PRDHandle_sTGC::getPRD
const Trk::PrepRawData * getPRD() const
Definition: PRDHandle_sTGC.h:24
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDHandle_sTGC::stgc
const Muon::sTgcPrepData * stgc() const
Definition: PRDHandle_sTGC.h:23
PRDHandle_sTGC::m_stgc
const Muon::sTgcPrepData * m_stgc
Definition: PRDHandle_sTGC.h:30
PRDHandle_sTGC::inMuonChamber
bool inMuonChamber() const
Definition: PRDHandle_sTGC.h:26
Muon::sTgcPrepData::detectorElement
virtual const MuonGM::sTgcReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
Definition: sTgcPrepData.h:139
PRDHandle_sTGC::~PRDHandle_sTGC
virtual ~PRDHandle_sTGC()
Definition: PRDHandle_sTGC.h:16
PRDHandleBase
Definition: PRDHandleBase.h:35
PRDCollHandle_sTGC
Definition: PRDCollHandle_sTGC.h:10
Muon::sTgcPrepData
Class to represent sTgc measurements.
Definition: sTgcPrepData.h:20
PRDCollHandle_sTGC.h
MuonGM::MuonReadoutElement::parentStationPV
PVConstLink parentStationPV() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonReadoutElement.cxx:100
PRDHandleBase.h
PRDHandle_sTGC
Definition: PRDHandle_sTGC.h:12
PRDHandle_sTGC::buildShapes
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
Definition: PRDHandle_sTGC.cxx:60