LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Interactor.h
Go to the documentation of this file.
1 
19 #ifndef INTERACTOR_H
20 #define INTERACTOR_H
21 
24 
25 namespace trkf {
26 
27  class Interactor
28  {
29  public:
30 
32  Interactor(double tcut);
33 
35  virtual ~Interactor();
36 
37  // Accessors.
38 
39  double getTcut() const {return fTcut;}
40 
41  // Virtual methods.
42 
44  virtual Interactor* clone() const = 0;
45 
47  virtual bool noise(const KTrack& trk, double s, TrackError& noise_matrix) const = 0;
48 
49  private:
50 
51  // Attributes.
52 
53  double fTcut;
54  };
55 }
56 
57 #endif
Float_t s
Definition: plot.C:23
KSymMatrix< 5 >::type TrackError
Track error matrix, dimension 5x5.
double fTcut
Maximum delta ray energy for dE/dx.
Definition: Interactor.h:53
virtual Interactor * clone() const =0
Clone method.
virtual bool noise(const KTrack &trk, double s, TrackError &noise_matrix) const =0
Calculate noise matrix.
double getTcut() const
Definition: Interactor.h:39
Kalman filter linear algebra typedefs.
Interactor(double tcut)
Constructor.
Definition: Interactor.cxx:21
Basic Kalman filter track class, without error.
virtual ~Interactor()
Destructor.
Definition: Interactor.cxx:26