LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Surface.cxx
Go to the documentation of this file.
1 
12 
13 namespace trkf {
14 
17 
20 
22  std::ostream& operator<<(std::ostream& out, const Surface& surf)
23  {
24  return surf.Print(out);
25  }
26 
31  TrackVector Surface::getDiff(const TrackVector& vec1, const TrackVector& vec2) const
32  {
33  return vec1 - vec2;
34  }
35 
36 } // 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:31
std::ostream & operator<<(std::ostream &out, const KGTrack &trg)
Output operator.
Definition: KGTrack.cxx:300
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:19