68 KHitBase(
const std::shared_ptr<const Surface>& psurf,
int plane = -1);
103 const KTrack* ref = 0)
const = 0;
106 virtual double getChisq()
const = 0;
112 virtual std::ostream&
Print(std::ostream& out,
bool doTitle =
true)
const;
void setMeasSurface(const std::shared_ptr< const Surface > &psurf)
Measurement surface.
double getPredDistance() const
Prediction distance.
int getMeasPlane() const
Measurement plane index.
std::shared_ptr< const Surface > fMeasSurf
Measurement surface.
int getID() const
Unique id.
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
virtual ~KHitBase()=default
Destructor.
std::shared_ptr< const Surface > fPredSurf
Prediction surface.
std::ostream & operator<<(std::ostream &out, const KGTrack &trg)
Output operator.
Base class for Kalman filter surface.
KHitBase()
Default constructor.
double fPredDist
Prediction distance.
virtual void update(KETrack &tre) const =0
Update track method.
virtual double getChisq() const =0
Return incremental chisquare.
int fMeasPlane
Measurement plane index.
virtual bool predict(const KETrack &tre, const Propagator &prop, const KTrack *ref=0) const =0
Prediction method (return false if fail).
void setMeasPlane(int plane)
Measurement plane.
Basic Kalman filter track class, with error.
const std::shared_ptr< const Surface > & getMeasSurface() const
Measurement surface.
const std::shared_ptr< const Surface > & getPredSurface() const
Predition surface.