LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Surface.cxx
Go to the documentation of this file.
1 
12 
13 namespace trkf {
14 
17  {}
18 
21  {}
22 
24  std::ostream& operator<<(std::ostream& out, const Surface& surf)
25  {
26  return surf.Print(out);
27  }
28 
33  TrackVector Surface::getDiff(const TrackVector& vec1, const TrackVector& vec2) const
34  {
35  return vec1 - vec2;
36  }
37 
38 } // end namespace trkf
virtual std::ostream & Print(std::ostream &out) const =0
Printout.
virtual TrackVector getDiff(const TrackVector &vec1, const TrackVector &vec2) const
Calculate difference of two track parameter vectors.
Definition: Surface.cxx:33
std::ostream & operator<<(std::ostream &out, const KGTrack &trg)
Output operator.
Definition: KGTrack.cxx:306
Base class for Kalman filter surface.
KVector< 5 >::type TrackVector
Track state vector, dimension 5.
Surface()
Default constructor.
Definition: Surface.cxx:16
virtual ~Surface()
Destructor.
Definition: Surface.cxx:20