vertex1algs.h
Go to the documentation of this file.
1 #ifndef GARSOFT_RECO_VERTEX2ALGS_H
2 #define GARSOFT_RECO_VERTEX2ALGS_H
3 
4 #include <vector>
5 #include <iostream>
6 #include <cstddef>
7 #include <TMath.h>
8 #include <TVector3.h>
9 #include <TVectorF.h>
11 #include <Reco/TrackPar.h>
12 
13 namespace gar {
14  namespace rec {
15 
16  // fit an arbitrary number of tracks to a single vertex
17  // returns 0 if success, 1 if failure
18  // covmat is 3x3
19 
20  int fitVertex(std::vector<TrackPar> &tracks,
21  std::vector<float> &xyz,
22  float &chisquared,
23  std::vector< std::vector<float> > &covmat,
24  double &time,
25  std::vector<TrackEnd> usebeg,
26  std::vector<float> &doca);
27 
28  }
29 }
30 #endif
rec
Definition: tracks.py:88
int fitVertex(std::vector< TrackPar > &tracks, std::vector< float > &xyz, float &chisquared, std::vector< std::vector< float > > &covmat, double &time, std::vector< TrackEnd > usebeg, std::vector< float > &doca)
Definition: vertex1algs.cxx:8
struct vector vector
Definition: tracks.py:1
General GArSoft Utilities.