Base class for Kalman filter measurement. More...
#include <iosfwd>
#include <memory>
#include "lardata/RecoObjects/KETrack.h"
#include "lardata/RecoObjects/Surface.h"
Go to the source code of this file.
Classes | |
class | trkf::KHitBase |
Namespaces | |
trkf | |
Functions | |
std::ostream & | trkf::operator<< (std::ostream &out, const KHitBase &trk) |
Output operator. More... | |
Base class for Kalman filter measurement.
This class represents a general measurement on a surface.
This class includes the following attribute.
Each constructor initializes the unique id to zero. Derived classes may set the unique id if they wish (the unique id is protected).
This class has the following pure virtual methods.
This class does not include in its interface anything having to do with concrete measurements, predictions, or residuals, or anything with a variable dimension.
This class has two surface data members. Member fMeasSurf is the idealized measurement surface, which is set on construction and never changes. Member fPredSurf is used to remember the track surface used to make a prediction. It is updated (by derived class) every time method predict is called.
As with KTrack, the surface attributes are polymorphic, and is held via std::shared_ptr type of smart pointer, which handles memory management using reference-counted shared ownership.
Definition in file KHitBase.h.