ATLAS Offline Software
Loading...
Searching...
No Matches
PRDHandle_Pixel.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_PIXEL_H
6#define PRDHANDLE_PIXEL_H
7
10
12class SoGroup;
13
15public:
16
18 virtual ~PRDHandle_Pixel() {};
19
20 void buildShapes(SoNode*&shape_simple, SoNode*&shape_detailed);
21 int regionIndex();
22
23 const InDet::PixelCluster * cluster() const { return m_cluster; }
24 const Trk::PrepRawData * getPRD() const { return m_cluster; }
25 bool isBarrel() const { return m_cluster->detectorElement()->isBarrel(); }
26 bool isPositiveZ() const { return m_cluster->detectorElement()->center().z() > 0.0; }
27 bool isSane() const;
28
29private:
31
32 SoGroup* createErrorAtPixelCluster( const double& sigmaScale,
33 const int& numPoints ) const;
34
35
36};
37
38#endif
PRDHandleBase(PRDCollHandleBase *)
bool isBarrel() const
const Trk::PrepRawData * getPRD() const
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
bool isPositiveZ() const
const InDet::PixelCluster * m_cluster
SoGroup * createErrorAtPixelCluster(const double &sigmaScale, const int &numPoints) const
const InDet::PixelCluster * cluster() const
PRDHandle_Pixel(PRDCollHandle_Pixel *, const InDet::PixelCluster *)
virtual ~PRDHandle_Pixel()
bool isSane() const
returns false if anything seems weird about the Pixelcluster