#include <Surface.h>
Public Types | |
| enum | TrackDirection { FORWARD, BACKWARD, UNKNOWN } |
| Track direction enum. More... | |
Public Member Functions | |
| 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 double | PointingError (const TrackVector &vec, const TrackError &err) const =0 |
| Get pointing error of track. More... | |
| virtual void | getStartingError (TrackError &err) const =0 |
| Get starting error matrix for Kalman filter. 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... | |
Definition at line 51 of file lardata/lardata/RecoObjects/Surface.h.
Track direction enum.
| Enumerator | |
|---|---|
| FORWARD | |
| BACKWARD | |
| UNKNOWN | |
Definition at line 56 of file lardata/lardata/RecoObjects/Surface.h.
| trkf::Surface::Surface | ( | ) |
|
virtual |
|
pure virtual |
Clone method.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Find perpendicular forward distance to a parallel surface.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
virtual |
Calculate difference of two track parameter vectors.
Calculate difference of two track parameter vectors. This method has a default implementation which is just the numeric difference. Surfaces that require a more sophisticated difference (e.g. phi-wrap difference) should override this method.
Reimplemented in trkf::SurfYZLine.
Definition at line 33 of file lardata/lardata/RecoObjects/Surface.cxx.
|
inlinevirtual |
Get direction of track (default UNKNOWN).
Definition at line 85 of file lardata/lardata/RecoObjects/Surface.h.
|
pure virtual |
Get momentum vector of track.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Get position of track.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Get starting error matrix for Kalman filter.
Implemented in trkf::SurfLine, and trkf::SurfPlane.
|
pure virtual |
Test two surfaces for equality, within tolerance.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Test whether two surfaces are parallel, within tolerance.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Surface-specific tests of validity of track parameters.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Get pointing error of track.
Implemented in trkf::SurfLine, and trkf::SurfPlane.
|
pure virtual |
Printout.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Transform local to global coordinates.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
|
pure virtual |
Transform global to local coordinates.
Implemented in trkf::SurfXYZPlane, trkf::SurfYZLine, and trkf::SurfYZPlane.
1.8.5