#include <SurfPlane.h>
Public Member Functions | |
SurfPlane () | |
Default constructor. More... | |
virtual | ~SurfPlane () |
Destructor. More... | |
double | PointingError (const TrackVector &vec, const TrackError &err) const |
Get pointing error of track. More... | |
void | getStartingError (TrackError &err) const |
Get starting error matrix for Kalman filter. More... | |
Public Member Functions inherited from trkf::Surface | |
Surface () | |
Default constructor. More... | |
virtual | ~Surface () |
Destructor. More... | |
virtual Surface * | clone () const =0 |
Clone method. More... | |
virtual bool | isTrackValid (const TrackVector &vec) const =0 |
Surface-specific tests of validity of track parameters. More... | |
virtual void | toLocal (const double xyz[3], double uvw[3]) const =0 |
Transform global to local coordinates. More... | |
virtual void | toGlobal (const double uvw[3], double xyz[3]) const =0 |
Transform local to global coordinates. More... | |
virtual TrackVector | getDiff (const TrackVector &vec1, const TrackVector &vec2) const |
Calculate difference of two track parameter vectors. More... | |
virtual void | getPosition (const TrackVector &vec, double xyz[3]) const =0 |
Get position of track. More... | |
virtual TrackDirection | getDirection (const TrackVector &, TrackDirection dir=UNKNOWN) const |
Get direction of track (default UNKNOWN). More... | |
virtual void | getMomentum (const TrackVector &vec, double mom[3], TrackDirection dir=UNKNOWN) const =0 |
Get momentum vector of track. More... | |
virtual bool | isParallel (const Surface &surf) const =0 |
Test whether two surfaces are parallel, within tolerance. More... | |
virtual double | distanceTo (const Surface &surf) const =0 |
Find perpendicular forward distance to a parallel surface. More... | |
virtual bool | isEqual (const Surface &surf) const =0 |
Test two surfaces for equality, within tolerance. More... | |
virtual std::ostream & | Print (std::ostream &out) const =0 |
Printout. More... | |
Additional Inherited Members | |
Public Types inherited from trkf::Surface | |
enum | TrackDirection { FORWARD, BACKWARD, UNKNOWN } |
Track direction enum. More... | |
Definition at line 28 of file SurfPlane.h.
trkf::SurfPlane::SurfPlane | ( | ) |
|
virtual |
|
virtual |
Get starting error matrix for Kalman filter.
Get starting error matrix for Kalman filter.
Arguments:
err - Error matrix.
Implements trkf::Surface.
Definition at line 80 of file SurfPlane.cxx.
|
virtual |
Get pointing error of track.
Get pointing error of track.
Arguments:
vec - Track parameters. err - Track error matrix.
Returns: Pointing error.
This method calculates the track pointing error based on the slope track paramers and errors (parameters 2 and 3).
Implements trkf::Surface.
Definition at line 36 of file SurfPlane.cxx.