1 #ifndef TrackingRecHitProjector_H
2 #define TrackingRecHitProjector_H
7 template <
class ResultingHit>
47 LocalPoint projectedHitPos = lhitPos - ldir * delta/ldir.
z();
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
RecHitPointer project(const TransientTrackingRecHit &hit, const GeomDet &det) const
TransientTrackingRecHit::RecHitPointer RecHitPointer
GlobalVector normalVector() const
Global3DPoint GlobalPoint
float localZ(const GlobalPoint &gp) const
Fast access to distance from plane for a point.
PreciseFloatType< T, U >::Type dot(const Vector3DBase< U, FrameTag > &v) const
RecHitPointer project(const TransientTrackingRecHit &hit, const GeomDet &det, const TrajectoryStateOnSurface &ts) const
LocalPoint toLocal(const GlobalPoint &gp) const
GlobalVector momentum() const
RecHitPointer project(const TransientTrackingRecHit &hit, const GeomDet &det, const GlobalVector &gdir) const
const GlobalTrajectoryParameters & globalParameters() const
virtual LocalError localPositionError() const =0
virtual GlobalPoint globalPosition() const
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
LocalError rotate(float x, float y) const
Return a new LocalError, rotated by an angle defined by the direction (x,y)
const PositionType & position() const
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.