Namespaces | Functions
tracker2algs.h File Reference
#include <vector>
#include <iostream>
#include <cstddef>
#include <TMath.h>
#include <TVector3.h>
#include <ReconstructionDataProducts/TPCCluster.h>

Go to the source code of this file.

Namespaces

 gar
 General GArSoft Utilities.
 
 gar::rec
 

Functions

float gar::rec::capprox (float x1, float y1, float x2, float y2, float x3, float y3, float &xc, float &yc)
 
void gar::rec::ouchef (double *x, double *y, int np, double &xcirccent, double &ycirccent, double &rcirc, double &chisq, int &ifail)
 
int gar::rec::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)
 
void gar::rec::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 gar::rec::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 gar::rec::ij2idxsort2 (size_t nclus, size_t i, size_t j)
 
void gar::rec::idx2ijsort2 (size_t nclus, size_t idx, size_t &i, size_t &j)
 
bool gar::rec::sort2_check_cyclic (std::vector< int > &link1, std::vector< int > &link2, int i, int j)