#include <Cluster3D.h>
Definition at line 222 of file Cluster3D.h.
reco::PrincipalComponents::PrincipalComponents |
( |
| ) |
|
Definition at line 190 of file Cluster3D.cxx.
bool m_svdOK
SVD Decomposition was successful.
double m_aveHitDoca
Average doca of hits used in PCA.
EigenValues m_eigenValues
Eigen values from SVD decomposition.
Eigen::Vector3f m_avePosition
Average position of hits fed to PCA.
EigenVectors m_eigenVectors
The three principle axes.
int m_numHitsUsed
Number of hits in the decomposition.
reco::PrincipalComponents::PrincipalComponents |
( |
bool |
ok, |
|
|
int |
nHits, |
|
|
const EigenValues & |
eigenValues, |
|
|
const EigenVectors & |
eigenVecs, |
|
|
const Eigen::Vector3f & |
avePos, |
|
|
const float |
aveHitDoca = 9999. |
|
) |
| |
Definition at line 199 of file Cluster3D.cxx.
bool m_svdOK
SVD Decomposition was successful.
double m_aveHitDoca
Average doca of hits used in PCA.
EigenValues m_eigenValues
Eigen values from SVD decomposition.
Eigen::Vector3f m_avePosition
Average position of hits fed to PCA.
EigenVectors m_eigenVectors
The three principle axes.
int m_numHitsUsed
Number of hits in the decomposition.
void reco::PrincipalComponents::flipAxis |
( |
size_t |
axis | ) |
|
Definition at line 208 of file Cluster3D.cxx.
EigenVectors m_eigenVectors
The three principle axes.
const float reco::PrincipalComponents::getAveHitDoca |
( |
| ) |
const |
|
inline |
Definition at line 249 of file Cluster3D.h.
double m_aveHitDoca
Average doca of hits used in PCA.
const Eigen::Vector3f& reco::PrincipalComponents::getAvePosition |
( |
| ) |
const |
|
inline |
Definition at line 248 of file Cluster3D.h.
Eigen::Vector3f m_avePosition
Average position of hits fed to PCA.
const EigenValues& reco::PrincipalComponents::getEigenValues |
( |
| ) |
const |
|
inline |
Definition at line 246 of file Cluster3D.h.
EigenValues m_eigenValues
Eigen values from SVD decomposition.
const EigenVectors& reco::PrincipalComponents::getEigenVectors |
( |
| ) |
const |
|
inline |
Definition at line 247 of file Cluster3D.h.
EigenVectors m_eigenVectors
The three principle axes.
int reco::PrincipalComponents::getNumHitsUsed |
( |
| ) |
const |
|
inline |
Definition at line 245 of file Cluster3D.h.
int m_numHitsUsed
Number of hits in the decomposition.
bool reco::PrincipalComponents::getSvdOK |
( |
| ) |
const |
|
inline |
Definition at line 244 of file Cluster3D.h.
bool m_svdOK
SVD Decomposition was successful.
void reco::PrincipalComponents::setAveHitDoca |
( |
double |
doca | ) |
const |
|
inline |
Definition at line 252 of file Cluster3D.h.
double m_aveHitDoca
Average doca of hits used in PCA.
Definition at line 235 of file Cluster3D.cxx.
237 if (
a.m_svdOK &&
b.m_svdOK)
238 return a.m_eigenValues(0) >
b.m_eigenValues(0);
Definition at line 215 of file Cluster3D.cxx.
220 o <<
" PCAxis ID run with " <<
a.m_numHitsUsed <<
" space points" <<
std::endl;
221 o <<
" - center position: " <<
std::setw(6) <<
a.m_avePosition(0) <<
", " <<
a.m_avePosition(1) <<
", " <<
a.m_avePosition(2) <<
std::endl;
223 <<
a.m_eigenValues(1) <<
", " <<
a.m_eigenValues(1) <<
std::endl;
224 o <<
" - average doca: " <<
a.m_aveHitDoca <<
std::endl;
230 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 reco::PrincipalComponents::m_aveHitDoca |
|
mutableprivate |
Average doca of hits used in PCA.
Definition at line 238 of file Cluster3D.h.
Eigen::Vector3f reco::PrincipalComponents::m_avePosition |
|
private |
Average position of hits fed to PCA.
Definition at line 237 of file Cluster3D.h.
Eigen values from SVD decomposition.
Definition at line 235 of file Cluster3D.h.
int reco::PrincipalComponents::m_numHitsUsed |
|
private |
Number of hits in the decomposition.
Definition at line 234 of file Cluster3D.h.
bool reco::PrincipalComponents::m_svdOK |
|
private |
SVD Decomposition was successful.
Definition at line 233 of file Cluster3D.h.
The documentation for this class was generated from the following files: