45 PCAxis(
bool ok,
int nHits,
const double* eigenValues,
const EigenVectors& eigenVecs,
const double* avePos,
const double aveHitDoca = 9999.,
size_t id=0);
double getAveHitDoca() const
const EigenVectors & getEigenVectors() const
const double * getEigenValues() const
bool fSvdOK
SVD Decomposition was successful.
Reconstruction base classes.
friend bool operator<(const PCAxis &a, const PCAxis &b)
double fEigenValues[3]
Eigen values from SVD decomposition.
int getNumHitsUsed() const
friend std::ostream & operator<<(std::ostream &o, const PCAxis &a)
EigenVectors fEigenVectors
The three principle axes.
const double * getAvePosition() const
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