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