|
ATLAS Offline Software
|
#include <PRDHandle_SpacePoint.h>
Definition at line 33 of file PRDHandle_SpacePoint.h.
◆ PRDHandle_SpacePoint()
◆ ~PRDHandle_SpacePoint()
PRDHandle_SpacePoint::~PRDHandle_SpacePoint |
( |
| ) |
|
|
virtual |
◆ buildShapes()
void PRDHandle_SpacePoint::buildShapes |
( |
SoNode *& |
shape_simple, |
|
|
SoNode *& |
shape_detailed |
|
) |
| |
|
virtual |
Implements PRDHandleBase.
Definition at line 54 of file PRDHandle_SpacePoint.cxx.
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;
◆ center()
◆ clicked()
QStringList PRDHandleBase::clicked |
( |
| ) |
const |
|
virtualinherited |
◆ collHandle()
◆ common()
◆ createTransform()
SoTransform * PRDHandleBase::createTransform |
( |
| ) |
const |
|
virtualinherited |
Reimplemented in PRDHandle_sTGC, and PRDHandle_TGC.
Definition at line 371 of file PRDHandleBase.cxx.
376 std::cerr<<
"PRDHandleBase::createTransform() No prd!"<<std::endl;
377 return new SoTransform;
390 if ((theHitGPos)[0]!=(theHitGPos)[0] || (theHitGPos)[1]!=(theHitGPos)[1] || (theHitGPos)[2]!=(theHitGPos)[2]){
391 std::cerr<<
"PRDHandleBase::createTransform() NaN in globalposition"<<std::endl;
393 theHitTransform->translation.setValue((theHitGPos)[0], (theHitGPos)[1], (theHitGPos)[2]);
394 return theHitTransform;
◆ getPRD()
◆ getSecondPRD()
◆ getTransform_CLHEP()
Definition at line 322 of file PRDHandleBase.cxx.
330 transform->translation.getValue().getValue(
tx,ty,tz);
333 transform->rotation.getValue().getValue(so_rotaxis, so_rotangle);
335 so_rotaxis.getValue(rx,ry,rz);
343 std::cout<<
"VP1 PRDHandleBase Warning: getTransform_CLHEP called at inopportune moment!!"<<std::endl;
349 return Amg::Transform3D::Identity();
◆ highLight()
virtual bool PRDHandleBase::highLight |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ inMuonChamber()
virtual bool PRDHandleBase::inMuonChamber |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ isBarrel()
bool PRDHandle_SpacePoint::isBarrel |
( |
| ) |
const |
|
inline |
◆ isPixel()
bool PRDHandle_SpacePoint::isPixel |
( |
| ) |
|
|
inline |
◆ isPositiveZ()
bool PRDHandle_SpacePoint::isPositiveZ |
( |
| ) |
const |
|
inline |
◆ isSane()
virtual bool PRDHandleBase::isSane |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ isSCT()
bool PRDHandle_SpacePoint::isSCT |
( |
| ) |
|
|
inline |
◆ parentMuonChamberPV()
virtual GeoPVConstLink PRDHandleBase::parentMuonChamberPV |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ positionPRD()
◆ positionSecondPRD()
◆ regionIndex()
int PRDHandle_SpacePoint::regionIndex |
( |
| ) |
|
|
virtual |
◆ sepDetailed()
SoSeparator * PRDHandleBase::sepDetailed |
( |
| ) |
const |
|
inherited |
◆ sepSimple()
SoSeparator * PRDHandleBase::sepSimple |
( |
| ) |
const |
|
inherited |
◆ setVisible()
void PRDHandleBase::setVisible |
( |
bool |
vis | ) |
|
|
inherited |
◆ spacePoint()
◆ transformUsesSurfacePositionOnly()
virtual bool PRDHandleBase::transformUsesSurfacePositionOnly |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ update3DObjects()
void PRDHandleBase::update3DObjects |
( |
| ) |
|
|
inherited |
◆ updateMaterial()
void PRDHandleBase::updateMaterial |
( |
| ) |
|
|
inherited |
◆ visible()
bool PRDHandleBase::visible |
( |
| ) |
const |
|
inlineinherited |
◆ m_common
◆ m_d
Imp* PRDHandle_SpacePoint::m_d |
|
private |
◆ m_sp
◆ m_visible
bool PRDHandleBase::m_visible |
|
privateinherited |
The documentation for this class was generated from the following files:
const std::pair< const PrepRawData *, const PrepRawData * > & clusterList() const
return the pair of cluster pointers by reference
void rebuild3DObjects(PRDHandleBase *)
Eigen::Quaternion< double > Rotation3D
Amg::Transform3D getTransform_CLHEP() const
static Amg::Vector3D positionPRD(const Trk::PrepRawData *prd)
void incrementNumberOfObjectsForPV(const GeoPVConstLink &chamberPV)
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
TouchedMuonChamberHelper * touchedMuonChamberHelper() const
SoSeparator * sepDetailed
const Trk::SpacePoint * m_sp
const Amg::Vector3D & center() const
Returns the center position of the Surface.
void attach3DObjects(PRDHandleBase *)
PRDSysCommonData * common() const
SoMaterial * currentmaterial
void decrementNShownHandles()
HitsSoNodeManager * nodeManager() const
Amg::Vector3D getTranslationVectorFromTransform(const Amg::Transform3D &tr)
Get the Translation vector out of a Transformation.
Amg::Rotation3D getRotation3DfromAngleAxis(double angle, Amg::Vector3D &axis)
get a AngleAxis from an angle and an axis.
virtual const Trk::PrepRawData * getSecondPRD() const
PRDCollHandleBase * colhandle
virtual GeoPVConstLink parentMuonChamberPV() const
Eigen::Affine3d Transform3D
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
virtual const Surface & surface() const =0
Return surface associated with this detector element.
const Trk::PrepRawData * getPRD() const
virtual bool transformUsesSurfacePositionOnly() const
Identifier identify() const
return the identifier
virtual const Trk::PrepRawData * getPRD() const =0
const Amg::Vector2D & localPosition() const
return the local position reference
Eigen::Matrix< double, 3, 1 > Vector3D
void decrementNumberOfObjectsForPV(const GeoPVConstLink &chamberPV)
SoNode * getShapeNode_Point()
Eigen::Translation< double, 3 > Translation3D
SoMaterial * determineMaterial(PRDHandleBase *)
void incrementNShownHandles()
Amg::Vector3D center() const
virtual bool inMuonChamber() const
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
static SoTransform * toSoTransform(const HepGeom::Transform3D &, SoTransform *t=0)
PRDSysCommonData * m_common
PRDHandleBase(PRDCollHandleBase *)
const Trk::PrepRawData * getSecondPRD() const
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const =0
Specified by each surface type: LocalToGlobal method without dynamic memory allocation.
virtual const TrkDetElementBase * detectorElement() const =0
return the detector element corresponding to this PRD The pointer will be zero if the det el is not d...