28 const double* eigenValues,
31 const double aveHitDoca,
35 fEigenVectors(eigenVecs),
36 fAveHitDoca(aveHitDoca),
54 o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
55 o <<
" PCAxis ID " << a.
fID <<
" run with " << a.
fNumHitsUsed <<
" space points" << std::endl;
59 o <<
" - average doca: " << a.
fAveHitDoca << std::endl;
65 o <<
" Principal Components Axis is not valid" << std::endl;
75 if(a.
getID() != b. getID())
bool fSvdOK
SVD Decomposition was successful.
bool operator<(Cluster const &a, Cluster const &b)
double fEigenValues[3]
Eigen values from SVD decomposition.
EigenVectors fEigenVectors
The three principle axes.
int fNumHitsUsed
Number of hits in the decomposition.
double fAveHitDoca
Average doca of hits used in PCA.
double fAvePosition[3]
Average position of hits fed to PCA.
std::vector< std::vector< double > > EigenVectors
std::ostream & operator<<(std::ostream &o, Cluster const &c)