|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef TRKNIRVANA_PREPRAWDATACOMPARISONFUNCTION_H
15 #define TRKNIRVANA_PREPRAWDATACOMPARISONFUNCTION_H
83 throw std::runtime_error(
84 "PrepRawDataComparisonFunction: surface type error!");
110 throw std::runtime_error(
111 "PrepRawDataComparisonFunction: surface type error!");
115 return path1 < path2;
134 double denom = 1 - parallelity * parallelity;
135 return (std::abs(
denom) > 10
e-7)
137 trackToWire.dot(dirWire) * parallelity) /
152 #endif // TRKNIRVANA_PREPRAWDATACOMPARISONFUNCTION_H
PrepRawDataComparisonFunction(const Amg::Vector3D &sp, const Amg::Vector3D &dir)
Full relation definition using a straight line propagation.
PrepRawDataComparisonFunction & operator=(PrepRawDataComparisonFunction &&PCF)=default
PrepRawDataComparisonFunction & operator=(const PrepRawDataComparisonFunction &PCF)=default
const Amg::Vector3D & center() const
Returns the center position of the Surface.
double pathIntersectWithDisc(const Trk::DiscSurface &dsf) const
virtual const Amg::Vector3D & normal() const
Returns the normal vector of the Surface (i.e.
PrepRawDataComparisonFunction(const PrepRawDataComparisonFunction &PCF)=default
Ensure that the ATLAS eigen extensions are properly loaded.
PrepRawDataComparisonFunction()=delete
double pathIntersectWithLine(const Trk::StraightLineSurface &lsf) const
Eigen::Matrix< double, 3, 1 > Vector3D
PrepRawDataComparisonFunction(PrepRawDataComparisonFunction &&PCF)=default
~PrepRawDataComparisonFunction()=default
Amg::Vector3D m_direction
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
Class providing comparison function, or relational definition, for PrepRawData.
bool operator()(const Trk::PrepRawData *one, const Trk::PrepRawData *two) const
The comparison function defining in what case a PRD is 'smaller' than a second one.
double pathIntersectWithPlane(const Trk::PlaneSurface &psf) const
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
constexpr virtual SurfaceType type() const =0
Returns the Surface type to avoid dynamic casts.