|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_STRAIGHTLINESURFACE_H
10 #define TRKSURFACES_STRAIGHTLINESURFACE_H
25 template<
class SURFACE,
class BOUNDS_CNV>
27 template<
class SURFACE,
class BOUNDS_CNV>
32 class TrkDetElementBase;
33 class LocalParameters;
34 template<
int DIM,
class T,
class S>
250 bool Bound)
const override final;
254 const override final;
264 double tol2 = 0.)
const override final;
273 double tol2 = 0.)
const override final;
282 template<class SURFACE, class BOUNDS_CNV>
284 template<class SURFACE, class BOUNDS_CNV>
295 #include "TrkSurfaces/StraightLineSurface.icc"
296 #endif // TRKSURFACES_STRAIGHTLINESURFACE_H
virtual ~StraightLineSurface()=default
Destructor.
virtual const SurfaceBounds & bounds() const override final
This method returns the bounds of the Surface by reference.
std::unique_ptr< ParametersBase< 5, Trk::Charged > > ChargedTrackParametersUniquePtr
Unique ptr types.
Eigen::Matrix< double, 2, 1 > Vector2D
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
constexpr virtual SurfaceType type() const override final
Return the surface type.
virtual bool isOnSurface(const Amg::Vector3D &glopo, const BoundaryCheck &bchk=true, double tol1=0., double tol2=0.) const override final
This method checks if the provided GlobalPosition is inside the assigned straw radius,...
std::unique_ptr< ParametersBase< 5, Trk::Neutral > > NeutralTrackParametersUniquePtr
bool const RAWDATA *ch2 const
virtual StraightLineSurface * clone() const override final
Implicit constructor.
StraightLineSurface & operator=(StraightLineSurface &&slsf) noexcept=default
Move Assignment operator.
virtual bool globalToLocal(const Amg::Vector3D &glob, const Amg::Vector3D &mom, Amg::Vector2D &loc) const override final
Specified for StraightLineSurface: GlobalToLocal method without dynamic memory allocation This method...
AmgSymMatrix(5) &GXFTrackState
virtual bool operator==(const Surface &sf) const override
Equality operator.
virtual Amg::RotationMatrix3D measurementFrame(const Amg::Vector3D &glopos, const Amg::Vector3D &glomom) const override final
Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perig...
static constexpr SurfaceType staticType
virtual DistanceSolution straightLineDistanceEstimate(const Amg::Vector3D &pos, const Amg::Vector3D &dir) const override final
fast straight line distance evaluation to Surface
StraightLineSurface()
Default Constructor - needed for persistency.
Eigen::Affine3d Transform3D
static const NoBounds s_boundless
SharedObject< const CylinderBounds > m_bounds
NoBounds as return object when no bounds are declared.
CxxUtils::CachedValue< Amg::Vector3D > m_lineDirection
bounds (shared)
virtual bool insideBounds(const Amg::Vector2D &locpos, double tol1=0., double tol2=0.) const override final
This surface calls the iside method of the bouns.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
Cached value with atomic update.
virtual bool insideBoundsCheck(const Amg::Vector2D &locpos, const BoundaryCheck &bchk) const override final
double charge(const T &p)
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for StraightLineSurface: LocalToGlobal method without dynamic memory allocation.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual std::string name() const override final
Return properly formatted class name for screen output.
virtual Intersection straightLineIntersection(const Amg::Vector3D &pos, const Amg::Vector3D &dir, bool forceDir, Trk::BoundaryCheck bchk) const override final
fast straight line intersection schema - standard: provides closest intersection and (signed) path le...
std::shared_ptr< T > SharedObject
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
std::unique_ptr< ParametersT< DIM, T, StraightLineSurface > > createUniqueParameters(double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(DIM)> cov=std::nullopt) const
Use the Surface as a ParametersBase constructor, from local parameters.
virtual Surface::ChargedTrackParametersUniquePtr createUniqueTrackParameters(double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final
Use the Surface as a ParametersBase constructor, from local parameters - charged.
const Amg::Vector3D & lineDirection() const
Special method for StraightLineSurface - provides the Line direction from cache: speedup.
StraightLineSurface(StraightLineSurface &&slsf) noexcept=default
Move constructor.
virtual double pathCorrection(const Amg::Vector3D &, const Amg::Vector3D &) const override final
the pathCorrection for derived classes with thickness
bool operator==(const StraightLineSurface &cf) const
StraightLineSurface & operator=(const StraightLineSurface &slsf)
Assignment operator.
virtual NeutralTrackParametersUniquePtr createUniqueNeutralParameters(double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final
Use the Surface as a ParametersBase constructor, from local parameters - neutral.