ATLAS Offline Software
Loading...
Searching...
No Matches
PRDHandle_TRT.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_TRT_H
6#define PRDHANDLE_TRT_H
7
11
13public:
14
16 virtual ~PRDHandle_TRT() {};
17
18 void buildShapes(SoNode*&shape_simple, SoNode*&shape_detailed);
19 int regionIndex();
20 inline bool highLight() const;
21
22 bool transformUsesSurfacePositionOnly() const { return true; }
23
25 const Trk::PrepRawData * getPRD() const { return m_driftcircle; }
26
27 bool isBarrel() const { return m_driftcircle->detectorElement()->type()==InDetDD::TRT_BaseElement::BARREL; }
28 bool isPositiveZ() const { return m_driftcircle->detectorElement()->center().z() > 0.0; }
29 bool highLevel() const { return m_driftcircle->highLevel(); }
30
31 virtual QStringList clicked() const;
32
33
34private:
36
37};
38
40// INLINES //
42
43inline bool PRDHandle_TRT::highLight() const
44{
45 return highLevel() && static_cast<PRDCollHandle_TRT*>(collHandle())->highLightHighThreshold();
46}
47
48
49#endif
PRDHandleBase(PRDCollHandleBase *)
PRDCollHandleBase * collHandle() const
bool isPositiveZ() const
bool isBarrel() const
const InDet::TRT_DriftCircle * m_driftcircle
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
bool highLevel() const
const InDet::TRT_DriftCircle * driftCircle() const
const Trk::PrepRawData * getPRD() const
virtual ~PRDHandle_TRT()
bool highLight() const
virtual QStringList clicked() const
bool transformUsesSurfacePositionOnly() const
PRDHandle_TRT(PRDCollHandle_TRT *, const InDet::TRT_DriftCircle *)