TrdMCClusterR Fit Classifier
|
Functions | |
std::vector< Line::FitLine2D > | GetClusterProjectionLinearFits (const std::vector< double > &TrkClusters_x, const std::vector< double > &TrkClusters_y, const std::vector< double > &TrkClusters_z, const int &trkID, const int &g3PID, const bool &debug=false, const double threshold=1000) |
std::vector<Line::FitLine2D> ClusterFitter::GetClusterProjectionLinearFits | ( | const std::vector< double > & | TrkClusters_x, |
const std::vector< double > & | TrkClusters_y, | ||
const std::vector< double > & | TrkClusters_z, | ||
const int & | trkID, | ||
const int & | g3PID, | ||
const bool & | debug = false , |
||
const double | threshold = 1000 |
||
) |
Function which returns the "XZ, YZ and XY" 2D linear fits of 3D clusters.
sanity check
This should never happen if the argument vectors are set up correctly!
Must have at least 2 points to fit
Return an empty vector
!!! Change (0, 20) to actual AMS z-coordinate for the TRD !!!
!!! Change (0, 20) to actual AMS z-coordinate for the TRD !!!
!!! Change (0, 20) to actual AMS z-coordinate for the TRD !!!
Return an empty vector
TrkClusters_y | particle-1 x-coordinate of clusters |
TrkClusters_z | particle-1 y-coordinate of clusters |
trkID | particle-1 z-coordinate of clusters |
threshold | !!! Set accordingly. This is just some random guess !!! |