ATLAS Offline Software
PRDHandle_RPC.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_RPC_H
6 #define PRDHANDLE_RPC_H
7 
11 
12 class PRDHandle_RPC : public PRDHandleBase {
13 public:
14 
16  virtual ~PRDHandle_RPC() {};
17 
18  void buildShapes(SoNode*&shape_simple, SoNode*&shape_detailed);
19  int regionIndex();
20  QStringList clicked() const;
21 
22  const Muon::RpcPrepData * rpc() const { return m_rpc; }
23  const Trk::PrepRawData * getPRD() const { return m_rpc; }
24 
25  bool inMuonChamber() const { return true; }
26  GeoPVConstLink parentMuonChamberPV() const { return m_rpc->detectorElement()->parentStationPV(); }
27 
28 private:
30 
31 };
32 
33 #endif
PRDHandle_RPC::rpc
const Muon::RpcPrepData * rpc() const
Definition: PRDHandle_RPC.h:22
PRDHandle_RPC::parentMuonChamberPV
GeoPVConstLink parentMuonChamberPV() const
Definition: PRDHandle_RPC.h:26
PRDHandle_RPC::regionIndex
int regionIndex()
Definition: PRDHandle_RPC.cxx:114
PRDHandle_RPC::getPRD
const Trk::PrepRawData * getPRD() const
Definition: PRDHandle_RPC.h:23
PRDHandle_RPC::m_rpc
const Muon::RpcPrepData * m_rpc
Definition: PRDHandle_RPC.h:29
PRDCollHandle_RPC.h
PRDCollHandle_RPC
Definition: PRDCollHandle_RPC.h:10
Muon::RpcPrepData
Class to represent RPC measurements.
Definition: RpcPrepData.h:35
Muon::RpcPrepData::detectorElement
virtual const MuonGM::RpcReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
Definition: RpcPrepData.h:202
PRDHandle_RPC::clicked
QStringList clicked() const
Definition: PRDHandle_RPC.cxx:122
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDHandle_RPC::inMuonChamber
bool inMuonChamber() const
Definition: PRDHandle_RPC.h:25
PRDHandle_RPC::buildShapes
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
Definition: PRDHandle_RPC.cxx:29
PRDHandle_RPC
Definition: PRDHandle_RPC.h:12
PRDHandle_RPC::~PRDHandle_RPC
virtual ~PRDHandle_RPC()
Definition: PRDHandle_RPC.h:16
PRDHandleBase
Definition: PRDHandleBase.h:35
RpcPrepData.h
PRDHandle_RPC::PRDHandle_RPC
PRDHandle_RPC(PRDCollHandle_RPC *, const Muon::RpcPrepData *)
Definition: PRDHandle_RPC.cxx:22
MuonGM::MuonReadoutElement::parentStationPV
PVConstLink parentStationPV() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonReadoutElement.cxx:100
PRDHandleBase.h