4#ifndef MUONPREPRAWDATA_NSWCLUSTERING_UTILS_H
5#define MUONPREPRAWDATA_NSWCLUSTERING_UTILS_H
24 return Amg::Vector3D{rotDir.x(), rotDir.y(), std::abs(rotDir.z())};
30 return Amg::Vector3D{rotDir.x(), rotDir.y(), std::abs(rotDir.z())};
Class representing clusters in the muon system.
virtual const Amg::Vector3D & globalPosition() const =0
Returns the global position of the measurement (calculated on the fly)
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...
Identifier identify() const
return the identifier
Abstract Base Class for tracking surfaces.
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
virtual const Surface & surface() const =0
Return surface associated with this detector element.
Eigen::Quaternion< double > Rotation3D
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Amg::Vector3D toLocal(const Amg::Transform3D &toLocalTrans, const Amg::Vector3D &dir)
Rotates a direction vector into a local frame: x-axis : Parallell to the radial direction of the dete...
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.