LArShowerPCA class. More...
#include <LArPfoObjects.h>
Public Member Functions | |
LArShowerPCA (const pandora::CartesianVector ¢roid, const pandora::CartesianVector &primaryAxis, const pandora::CartesianVector &secondaryAxis, const pandora::CartesianVector &tertiaryAxis, const pandora::CartesianVector &eigenvalues) | |
Constructor. More... | |
const pandora::CartesianVector & | GetCentroid () const |
Return centroid. More... | |
const pandora::CartesianVector & | GetPrimaryAxis () const |
Return primary axis. More... | |
const pandora::CartesianVector & | GetSecondaryAxis () const |
Return secondary axis. More... | |
const pandora::CartesianVector & | GetTertiaryAxis () const |
Return tertiary axis. More... | |
const pandora::CartesianVector & | GetEigenValues () const |
Return vector of eigenvalues. More... | |
const pandora::CartesianVector & | GetAxisLengths () const |
Return vector of lengths. More... | |
float | GetPrimaryLength () const |
Return primary length. More... | |
float | GetSecondaryLength () const |
Return secondary length. More... | |
float | GetTertiaryLength () const |
Return tertiary length. More... | |
Private Attributes | |
const pandora::CartesianVector | m_centroid |
The centroid. More... | |
const pandora::CartesianVector | m_primaryAxis |
The primary axis. More... | |
const pandora::CartesianVector | m_secondaryAxis |
The secondary axis. More... | |
const pandora::CartesianVector | m_tertiaryAxis |
The tertiary axis. More... | |
const pandora::CartesianVector | m_eigenValues |
The vector of eigenvalues. More... | |
const pandora::CartesianVector | m_axisLengths |
The vector of lengths. More... | |
LArShowerPCA class.
Definition at line 112 of file LArPfoObjects.h.
lar_content::LArShowerPCA::LArShowerPCA | ( | const pandora::CartesianVector & | centroid, |
const pandora::CartesianVector & | primaryAxis, | ||
const pandora::CartesianVector & | secondaryAxis, | ||
const pandora::CartesianVector & | tertiaryAxis, | ||
const pandora::CartesianVector & | eigenvalues | ||
) |
Constructor.
centroid | centroid of shower |
primaryAxis | primary axis of shower |
secondaryAxis | secondary axis of shower |
tertiaryAxis | tertiary axis of shower |
axisLengths | ordered vector of shower lengths |
Definition at line 52 of file LArPfoObjects.cc.
const CartesianVector & lar_content::LArShowerPCA::GetAxisLengths | ( | ) | const |
Return vector of lengths.
Definition at line 102 of file LArPfoObjects.cc.
const CartesianVector & lar_content::LArShowerPCA::GetCentroid | ( | ) | const |
Return centroid.
Definition at line 67 of file LArPfoObjects.cc.
const CartesianVector & lar_content::LArShowerPCA::GetEigenValues | ( | ) | const |
Return vector of eigenvalues.
Definition at line 95 of file LArPfoObjects.cc.
const CartesianVector & lar_content::LArShowerPCA::GetPrimaryAxis | ( | ) | const |
Return primary axis.
Definition at line 74 of file LArPfoObjects.cc.
float lar_content::LArShowerPCA::GetPrimaryLength | ( | ) | const |
Return primary length.
Definition at line 109 of file LArPfoObjects.cc.
const CartesianVector & lar_content::LArShowerPCA::GetSecondaryAxis | ( | ) | const |
Return secondary axis.
Definition at line 81 of file LArPfoObjects.cc.
float lar_content::LArShowerPCA::GetSecondaryLength | ( | ) | const |
Return secondary length.
Definition at line 116 of file LArPfoObjects.cc.
const CartesianVector & lar_content::LArShowerPCA::GetTertiaryAxis | ( | ) | const |
Return tertiary axis.
Definition at line 88 of file LArPfoObjects.cc.
float lar_content::LArShowerPCA::GetTertiaryLength | ( | ) | const |
Return tertiary length.
Definition at line 123 of file LArPfoObjects.cc.
|
private |
The vector of lengths.
Definition at line 196 of file LArPfoObjects.h.
|
private |
The centroid.
Definition at line 191 of file LArPfoObjects.h.
|
private |
The vector of eigenvalues.
Definition at line 195 of file LArPfoObjects.h.
|
private |
The primary axis.
Definition at line 192 of file LArPfoObjects.h.
|
private |
The secondary axis.
Definition at line 193 of file LArPfoObjects.h.
|
private |
The tertiary axis.
Definition at line 194 of file LArPfoObjects.h.