LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
KHitTrack.cxx
Go to the documentation of this file.
1 
12 
13 namespace trkf {
14 
17 
25  KHitTrack::KHitTrack(const KFitTrack& trf, const std::shared_ptr<const KHitBase>& hit)
26  : KFitTrack(trf), fHit(hit)
27  {}
28 
35  KHitTrack::KHitTrack(const KETrack& tre) : KFitTrack(tre) {}
36 
39 
41  std::ostream& KHitTrack::Print(std::ostream& out, bool doTitle) const
42  {
43  if (doTitle) out << "KHitTrack:\n";
44 
45  // Print base class.
46 
47  KFitTrack::Print(out, false);
48 
49  // Print information specific to this class.
50 
51  if (fHit.get() != 0) out << " " << *fHit;
52  return out;
53  }
54 
55 } // end namespace trkf
Basic Kalman filter track class, plus one measurement on same surface.
std::shared_ptr< const KHitBase > fHit
Measurement.
Definition: KHitTrack.h:65
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
Definition: KHitTrack.cxx:41
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
Definition: KFitTrack.cxx:113
Detector simulation of raw signals on wires.
virtual ~KHitTrack()
Destructor.
Definition: KHitTrack.cxx:38
KHitTrack()
Default constructor.
Definition: KHitTrack.cxx:16