1 #ifndef GARSOFT_RECO_TRACKER2ALGS_H 2 #define GARSOFT_RECO_TRACKER2ALGS_H 17 float &xc,
float &yc);
20 void ouchef(
double *
x,
double *
y,
int np,
double &xcirccent,
double &ycirccent,
21 double &rcirc,
double &chisq,
int &ifail);
25 std::vector<int> &TPCClusterlist,
26 float &curvature_init,
33 unsigned int initialtpnTPCClusters,
37 std::vector<int> &hlf,
38 std::vector<int> &hlb,
40 float &lengthforwards,
41 float &lengthbackwards,
42 float sorttransweight,
46 std::vector<int> &hlf,
47 std::vector<int> &hlb,
49 float &lengthforwards,
50 float &lengthbackwards,
55 size_t ij2idxsort2(
size_t nclus,
size_t i,
size_t j);
57 void idx2ijsort2(
size_t nclus,
size_t idx,
size_t &i,
size_t &j);
59 bool sort2_check_cyclic(std::vector<int> &link1, std::vector<int> &link2,
int i,
int j);
bool sort2_check_cyclic(std::vector< int > &link1, std::vector< int > &link2, int i, int j)
void ouchef(double *x, double *y, int np, double &xcirccent, double &ycirccent, double &rcirc, double &chisq, int &ifail)
float capprox(float x1, float y1, float x2, float y2, float x3, float y3, float &xc, float &yc)
General GArSoft Utilities.
void sort_TPCClusters_along_track(const std::vector< gar::rec::TPCCluster > &TPCClusters, std::vector< int > &hlf, std::vector< int > &hlb, int printlevel, float &lengthforwards, float &lengthbackwards, float sorttransweight, float sortdistback)
void sort_TPCClusters_along_track2(const std::vector< gar::rec::TPCCluster > &TPCClusters, std::vector< int > &hlf, std::vector< int > &hlb, int printlevel, float &lengthforwards, float &lengthbackwards, float dcut)
size_t ij2idxsort2(size_t nclus, size_t i, size_t j)
void idx2ijsort2(size_t nclus, size_t idx, size_t &i, size_t &j)
int initial_trackpar_estimate(const std::vector< gar::rec::TPCCluster > &TPCClusters, std::vector< int > &TPCClusterlist, float &curvature_init, float &lambda_init, float &phi_init, float &xpos, float &ypos, float &zpos, float &x_other_end, unsigned int initialtpnTPCClusters, int printlevel)