ATLAS Offline Software
PRDHandle_CSC.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_CSC_H
6 #define PRDHANDLE_CSC_H
7 
11 #include <QStringList>
12 
13 class PRDHandle_CSC : public PRDHandleBase {
14 public:
15 
17  virtual ~PRDHandle_CSC() {};
18 
19  void buildShapes(SoNode*&shape_simple, SoNode*&shape_detailed);
20  int regionIndex();
21 
22  const Muon::CscPrepData * csc() const { return m_csc; }
23  const Trk::PrepRawData * getPRD() const { return m_csc; }
24 
25 
26  bool inMuonChamber() const { return true; }
27  GeoPVConstLink parentMuonChamberPV() const { return m_csc->detectorElement()->parentStationPV(); }
28 
29  virtual QStringList clicked() const;//Called when user selects the node. The returned strings will be displayed in the textbox.
30 
31 
32 private:
34 
35 };
36 
37 #endif
PRDHandle_CSC::csc
const Muon::CscPrepData * csc() const
Definition: PRDHandle_CSC.h:22
PRDHandle_CSC::~PRDHandle_CSC
virtual ~PRDHandle_CSC()
Definition: PRDHandle_CSC.h:17
PRDHandle_CSC::PRDHandle_CSC
PRDHandle_CSC(PRDCollHandle_CSC *, const Muon::CscPrepData *)
Definition: PRDHandle_CSC.cxx:24
PRDHandle_CSC::inMuonChamber
bool inMuonChamber() const
Definition: PRDHandle_CSC.h:26
PRDHandle_CSC::regionIndex
int regionIndex()
Definition: PRDHandle_CSC.cxx:139
CscPrepData.h
Muon::CscPrepData
Class representing clusters from the CSC.
Definition: CscPrepData.h:39
PRDHandle_CSC
Definition: PRDHandle_CSC.h:13
PRDCollHandle_CSC.h
Muon::CscPrepData::detectorElement
virtual const MuonGM::CscReadoutElement * detectorElement() const override final
Return the detector element corresponding to this PRD.
Definition: CscPrepData.h:148
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDHandle_CSC::m_csc
const Muon::CscPrepData * m_csc
Definition: PRDHandle_CSC.h:33
PRDHandle_CSC::clicked
virtual QStringList clicked() const
Definition: PRDHandle_CSC.cxx:147
PRDHandle_CSC::getPRD
const Trk::PrepRawData * getPRD() const
Definition: PRDHandle_CSC.h:23
PRDHandleBase
Definition: PRDHandleBase.h:35
PRDHandle_CSC::parentMuonChamberPV
GeoPVConstLink parentMuonChamberPV() const
Definition: PRDHandle_CSC.h:27
PRDHandle_CSC::buildShapes
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
Definition: PRDHandle_CSC.cxx:31
PRDCollHandle_CSC
Definition: PRDCollHandle_CSC.h:10
MuonGM::MuonReadoutElement::parentStationPV
PVConstLink parentStationPV() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonReadoutElement.cxx:100
PRDHandleBase.h