67 KHitBase(
const std::shared_ptr<const Surface>& psurf,
int plane = -1);
101 const KTrack* ref = 0)
const = 0;
104 virtual double getChisq()
const = 0;
110 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.
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.
Base class for Kalman filter track propagator.
double fPredDist
Prediction distance.
virtual ~KHitBase()
Destructor.
virtual void update(KETrack &tre) const =0
Update track method.
virtual double getChisq() const =0
Return incremental chisquare.
int fMeasPlane
Measurement plane index.
void setMeasPlane(int plane)
Measurement plane.
Basic Kalman filter track class, with error.
const std::shared_ptr< const Surface > & getMeasSurface() const
Measurement surface.
virtual bool predict(const KETrack &tre, const Propagator *prop=0, const KTrack *ref=0) const =0
Prediction method (return false if fail).
const std::shared_ptr< const Surface > & getPredSurface() const
Predition surface.