LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
KHitTrack.h
Go to the documentation of this file.
1 
25 #ifndef KHITSTRACK_H
26 #define KHITSTRACK_H
27 
28 #include <vector>
31 
32 namespace trkf {
33 
34  class KHitTrack : public KFitTrack
35  {
36  public:
37 
39  KHitTrack();
40 
42  KHitTrack(const KFitTrack& trf, const std::shared_ptr<const KHitBase>& hit);
43 
45  KHitTrack(const KETrack& tre);
46 
48  virtual ~KHitTrack();
49 
50  // Accessor.
51 
53  const std::shared_ptr<const KHitBase>& getHit() const {return fHit;}
54 
55  // Modifiers.
56 
58  void setHit(const std::shared_ptr<const KHitBase>& hit) {fHit = hit;}
59 
61  virtual std::ostream& Print(std::ostream& out, bool doTitle = true) const;
62 
63  private:
64 
65  // Attributes.
66 
68  std::shared_ptr<const KHitBase> fHit;
69  };
70 }
71 
72 #endif
const std::shared_ptr< const KHitBase > & getHit() const
Measurement.
Definition: KHitTrack.h:53
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
void setHit(const std::shared_ptr< const KHitBase > &hit)
Set measurement.
Definition: KHitTrack.h:58
Detector simulation of raw signals on wires.
virtual ~KHitTrack()
Destructor.
Definition: KHitTrack.cxx:42
Basic Kalman filter track class, with fit information.
KHitTrack()
Default constructor.
Definition: KHitTrack.cxx:16
Base class for Kalman filter measurement.