LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
VertexFitAlg.h
Go to the documentation of this file.
1 #ifndef VERTEXFITALG_H
11 #define VERTEXFITALG_H
12 
13 #include <vector>
14 
15 // Framework includes
17 
18 // LArSoft includes
21 
22 // ROOT includes
23 #include "RtypesCore.h"
24 #include "TVector3.h"
25 
26 namespace trkf {
27 
28  class VertexFitAlg {
29  public:
30  void VertexFit(std::vector<std::vector<geo::WireID>> const& hitWID,
31  std::vector<std::vector<double>> const& hitX,
32  std::vector<std::vector<double>> const& hitXErr,
33  TVector3& VtxPos,
34  TVector3& VtxPosErr,
35  std::vector<TVector3>& TrkDir,
36  std::vector<TVector3>& TrkDirErr,
37  float& ChiDOF) const;
38 
39  // Variables for minuit.
41 
42  static void fcnVtxPos(Int_t&, Double_t*, Double_t& fval, double* par, Int_t flag);
43 
44  private:
46 
47  }; // class VertexFitAlg
48 
49 } // namespace trkf
50 
51 #endif // ifndef VERTEXFITALG_H
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:289
void VertexFit(std::vector< std::vector< geo::WireID >> const &hitWID, std::vector< std::vector< double >> const &hitX, std::vector< std::vector< double >> const &hitXErr, TVector3 &VtxPos, TVector3 &VtxPosErr, std::vector< TVector3 > &TrkDir, std::vector< TVector3 > &TrkDirErr, float &ChiDOF) const
static void fcnVtxPos(Int_t &, Double_t *, Double_t &fval, double *par, Int_t flag)
art::ServiceHandle< geo::Geometry const > geom
Definition: VertexFitAlg.h:45
static VertexFitMinuitStruct fVtxFitMinStr
Definition: VertexFitAlg.h:40
art framework interface to geometry description