#include <PCAxis.h>
Definition at line 25 of file PCAxis.h.
recob::PCAxis::PCAxis |
( |
| ) |
|
recob::PCAxis::PCAxis |
( |
bool |
ok, |
|
|
int |
nHits, |
|
|
const double * |
eigenValues, |
|
|
const EigenVectors & |
eigenVecs, |
|
|
const double * |
avePos, |
|
|
const double |
aveHitDoca = 9999. , |
|
|
size_t |
id = 0 |
|
) |
| |
Definition at line 26 of file PCAxis.cxx.
bool fSvdOK
SVD Decomposition was successful.
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.
double recob::PCAxis::getAveHitDoca |
( |
| ) |
const |
|
inline |
Definition at line 68 of file PCAxis.h.
double fAveHitDoca
Average doca of hits used in PCA.
const double * recob::PCAxis::getAvePosition |
( |
| ) |
const |
|
inline |
Definition at line 67 of file PCAxis.h.
double fAvePosition[3]
Average position of hits fed to PCA.
const double * recob::PCAxis::getEigenValues |
( |
| ) |
const |
|
inline |
Definition at line 65 of file PCAxis.h.
double fEigenValues[3]
Eigen values from SVD decomposition.
Definition at line 66 of file PCAxis.h.
EigenVectors fEigenVectors
The three principle axes.
size_t recob::PCAxis::getID |
( |
| ) |
const |
|
inline |
int recob::PCAxis::getNumHitsUsed |
( |
| ) |
const |
|
inline |
Definition at line 64 of file PCAxis.h.
int fNumHitsUsed
Number of hits in the decomposition.
bool recob::PCAxis::getSvdOK |
( |
| ) |
const |
|
inline |
Definition at line 63 of file PCAxis.h.
bool fSvdOK
SVD Decomposition was successful.
Definition at line 73 of file PCAxis.cxx.
76 return a.getID() <
b.getID();
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const PCAxis & |
a |
|
) |
| |
|
friend |
Definition at line 50 of file PCAxis.cxx.
55 o <<
" PCAxis ID " <<
a.fID <<
" run with " <<
a.fNumHitsUsed <<
" space points" <<
std::endl;
56 o <<
" - center position: " <<
std::setw(6) <<
a.fAvePosition[0] <<
", " <<
a.fAvePosition[1] <<
", " <<
a.fAvePosition[2] <<
std::endl;
58 <<
a.fEigenValues[1] <<
", " <<
a.fEigenValues[2] <<
std::endl;
59 o <<
" - average doca: " <<
a.fAveHitDoca <<
std::endl;
65 o <<
" Principal Components Axis is not valid" <<
std::endl;
Q_EXPORT QTSManip setprecision(int p)
Q_EXPORT QTSManip setw(int w)
QTextStream & endl(QTextStream &s)
double recob::PCAxis::fAveHitDoca |
|
private |
Average doca of hits used in PCA.
Definition at line 40 of file PCAxis.h.
double recob::PCAxis::fAvePosition[3] |
|
private |
Average position of hits fed to PCA.
Definition at line 39 of file PCAxis.h.
double recob::PCAxis::fEigenValues[3] |
|
private |
Eigen values from SVD decomposition.
Definition at line 37 of file PCAxis.h.
The three principle axes.
Definition at line 38 of file PCAxis.h.
size_t recob::PCAxis::fID |
|
private |
int recob::PCAxis::fNumHitsUsed |
|
private |
Number of hits in the decomposition.
Definition at line 36 of file PCAxis.h.
bool recob::PCAxis::fSvdOK |
|
private |
SVD Decomposition was successful.
Definition at line 35 of file PCAxis.h.
The documentation for this class was generated from the following files: