SurfPlane.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 ///
3 /// \file SurfPlane.h
4 ///
5 /// \brief Base class for Kalman filter planar surfaces.
6 ///
7 /// \author H. Greenlee
8 ///
9 /// This class acts as an intermediate layer between abstract surfaces
10 /// (base class Surface), and concrete planar surfaces (like
11 /// SurfYZPlane and SurfXYZPlane). It does not include any data
12 /// members of its own. However, it guarantees the existence of a
13 /// local Cartesian coordinate system (u,v,w), in which this plane is
14 /// located at w=0, and the track parameters are (u, v, du/dw, dv/dw,
15 /// q/p). This class does not specify how the local Cartesian
16 /// coordinate system is related to the global coordinate system.
17 ///
18 ////////////////////////////////////////////////////////////////////////
19 
20 #ifndef SURFPLANE_H
21 #define SURFPLANE_H
22 
25 
26 namespace trkf {
27 
28  class SurfPlane : public Surface
29  {
30  public:
31 
32  /// Default constructor.
33  SurfPlane();
34 
35  /// Destructor.
36  virtual ~SurfPlane();
37 
38  // Overrides.
39 
40  /// Get pointing error of track.
41  double PointingError(const TrackVector& vec, const TrackError& err) const;
42 
43  /// Get starting error matrix for Kalman filter.
44  void getStartingError(TrackError& err) const;
45  };
46 }
47 
48 #endif
void getStartingError(TrackError &err) const
Get starting error matrix for Kalman filter.
Definition: SurfPlane.cxx:80
KSymMatrix< 5 >::type TrackError
Track error matrix, dimension 5x5.
SurfPlane()
Default constructor.
Definition: SurfPlane.cxx:17
Base class for Kalman filter surface.
KVector< 5 >::type TrackVector
Track state vector, dimension 5.
void err(const char *fmt,...)
Definition: message.cpp:226
Kalman filter linear algebra typedefs.
double PointingError(const TrackVector &vec, const TrackError &err) const
Get pointing error of track.
Definition: SurfPlane.cxx:36
virtual ~SurfPlane()
Destructor.
Definition: SurfPlane.cxx:21