LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
KHitsTrack.cxx
Go to the documentation of this file.
1 
12 
13 namespace trkf {
14 
17 
25 
33 
36 
38  std::ostream& KHitsTrack::Print(std::ostream& out, bool doTitle) const
39  {
40  if (doTitle) out << "KHitsTrack:\n";
41 
42  // Print information specific to this class.
43 
44  out << " " << fHits.size() << " hits.\n";
45 
46  // Print base class.
47 
48  KFitTrack::Print(out, false);
49  return out;
50  }
51 
52 } // end namespace trkf
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
Definition: KFitTrack.cxx:113
Basic Kalman filter track class, with measurements.
KHitsTrack()
Default constructor.
Definition: KHitsTrack.cxx:16
std::vector< std::shared_ptr< const KHitBase > > fHits
Measurement collection.
Definition: KHitsTrack.h:66
virtual ~KHitsTrack()
Destructor.
Definition: KHitsTrack.cxx:35
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
Definition: KHitsTrack.cxx:38