LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PCAxis.h"
Public Types | |
typedef std::vector< std::vector< double > > | EigenVectors |
Public Member Functions | |
PCAxis () | |
PCAxis (bool ok, int nHits, const double *eigenValues, const EigenVectors &eigenVecs, const double *avePos, const double aveHitDoca=9999., size_t id=0) | |
bool | getSvdOK () const |
int | getNumHitsUsed () const |
const double * | getEigenValues () const |
const EigenVectors & | getEigenVectors () const |
const double * | getAvePosition () const |
double | getAveHitDoca () const |
size_t | getID () const |
Private Attributes | |
bool | fSvdOK |
SVD Decomposition was successful. More... | |
int | fNumHitsUsed |
Number of hits in the decomposition. More... | |
double | fEigenValues [3] |
Eigen values from SVD decomposition. More... | |
EigenVectors | fEigenVectors |
The three principle axes. More... | |
double | fAvePosition [3] |
Average position of hits fed to PCA. More... | |
double | fAveHitDoca |
Average doca of hits used in PCA. More... | |
size_t | fID |
axis ID More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const PCAxis &a) |
bool | operator< (const PCAxis &a, const PCAxis &b) |
typedef std::vector<std::vector<double> > recob::PCAxis::EigenVectors |
recob::PCAxis::PCAxis | ( | ) |
Definition at line 21 of file PCAxis.cxx.
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.
References fAvePosition, and fEigenValues.
|
inline |
Definition at line 68 of file PCAxis.h.
References fAveHitDoca.
Referenced by recob::dumper::DumpPCAxis().
|
inline |
Definition at line 67 of file PCAxis.h.
References fAvePosition.
Referenced by recob::dumper::DumpPCAxis(), and cosmic::CosmicPCAxisTagger::produce().
|
inline |
Definition at line 65 of file PCAxis.h.
References fEigenValues.
Referenced by recob::dumper::DumpPCAxis(), and cosmic::CosmicPCAxisTagger::produce().
|
inline |
Definition at line 66 of file PCAxis.h.
References fEigenVectors.
Referenced by recob::dumper::DumpPCAxis(), and cosmic::CosmicPCAxisTagger::produce().
|
inline |
Definition at line 69 of file PCAxis.h.
References fID.
Referenced by recob::dumper::DumpPCAxis(), and recob::operator<().
|
inline |
Definition at line 64 of file PCAxis.h.
References fNumHitsUsed.
Referenced by recob::dumper::DumpPCAxis().
|
inline |
Definition at line 63 of file PCAxis.h.
References fSvdOK.
Referenced by recob::dumper::DumpPCAxis().
Definition at line 73 of file PCAxis.cxx.
|
friend |
Definition at line 50 of file PCAxis.cxx.
|
private |
Average doca of hits used in PCA.
Definition at line 40 of file PCAxis.h.
Referenced by getAveHitDoca(), and recob::operator<<().
|
private |
Average position of hits fed to PCA.
Definition at line 39 of file PCAxis.h.
Referenced by getAvePosition(), recob::operator<<(), and PCAxis().
|
private |
Eigen values from SVD decomposition.
Definition at line 37 of file PCAxis.h.
Referenced by getEigenValues(), recob::operator<<(), and PCAxis().
|
private |
The three principle axes.
Definition at line 38 of file PCAxis.h.
Referenced by getEigenVectors(), and recob::operator<<().
|
private |
|
private |
Number of hits in the decomposition.
Definition at line 36 of file PCAxis.h.
Referenced by getNumHitsUsed(), and recob::operator<<().
|
private |
SVD Decomposition was successful.
Definition at line 35 of file PCAxis.h.
Referenced by getSvdOK(), and recob::operator<<().