25#include "RKTrackRep.h"
37 :
SpacepointMeasurement(rawHitCoords, rawHitCov, detId, hitId, trackPoint), largestErrorDirection_(0,0,1)
54 TVector3 dirInPoca = rep->
getMom(st);
59 Exception exc(
"ProlateSpacepointMeasurement::constructPlane(): Cannot construct detector plane, track direction is parallel to largest error direction", __LINE__,__FILE__);
Abstract base class for a track representation.
virtual double extrapolateToLine(StateOnPlane &state, const TVector3 &linePoint, const TVector3 &lineDirection, bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to the POCA to a line, and returns the extrapolation length and,...
virtual TVector3 getMom(const StateOnPlane &state) const =0
Get the cartesian momentum vector of a state.
Exception class for error handling in GENFIT (provides storage for diagnostic information)
TVector3 largestErrorDirection_
ProlateSpacepointMeasurement(int nDim=3)
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const
Contruct the virtual detector plane.
Class for measurements implementing a space point hit geometry.
A state with arbitrary dimension defined in a DetPlane.
const AbsTrackRep * getRep() const
Object containing AbsMeasurement and AbsFitterInfo objects.
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.