|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #include <Inventor/C/errors/debugerror.h>
22 #include <Inventor/nodes/SoPointSet.h>
23 #include <Inventor/nodes/SoVertexProperty.h>
45 static const double l=
isSCT() ? 100.0 : 200.0;
47 return static_cast<int>(
c.z()/
l)
48 +1000*
static_cast<int>(
c.y()/
l)
49 +1000000*
static_cast<int>(
c.x()/
l);
59 SoPointSet *
points =
new SoPointSet;
60 SoVertexProperty * vertices =
new SoVertexProperty;
61 vertices->vertex.set1Value(0,
p.x(),
p.y(),
p.z());
63 points->vertexProperty.setValue(vertices);
68 shape_detailed = shape_simple;
Amg::Transform3D getTransform_CLHEP() const
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
const Trk::SpacePoint * m_sp
PRDSysCommonData * common() const
HitsSoNodeManager * nodeManager() const
virtual ~PRDHandle_SpacePoint()
Eigen::Affine3d Transform3D
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
PRDHandle_SpacePoint(PRDCollHandle_SpacePoints *, const Trk::SpacePoint *)
Eigen::Matrix< double, 3, 1 > Vector3D
SoNode * getShapeNode_Point()
Amg::Vector3D center() const
const Trk::PrepRawData * getSecondPRD() const