TrackLineFitAlg.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////
2 ///
3 /// TrackLineFitAlg class
4 ///
5 /// Bruce Baller, baller@fnal.gov
6 ///
7 /// Algorithm for fitting a 3D line given a number of points in 3 wire planes
8 ///
9 ////////////////////////////////////////////////////////////////////////
10 #ifndef TRACKLINEFITALG_H
11 #define TRACKLINEFITALG_H
12 
13 #include <vector>
14 
16 
17 // LArSoft includes
19 namespace geo { struct WireID; }
20 
21 class TVector3;
22 
23 namespace trkf {
24 
26  public:
27 
28  void TrkLineFit(std::vector<geo::WireID>& hitWID, std::vector<double>& hitX, std::vector<double>& hitXErr,
29  double XOrigin, TVector3& Pos, TVector3& Dir, float& ChiDOF) const;
30 
31  private:
32 
34 
35  }; // class TrackLineFitAlg
36 
37 } // namespace trkf
38 
39 #endif // ifndef TRACKLINEFITALG_H
art framework interface to geometry description
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
art::ServiceHandle< geo::Geometry const > geom
LArSoft geometry interface.
Definition: ChannelGeo.h:16