LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
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.
References m_axisLengths.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildShower(), and lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo().
const CartesianVector & lar_content::LArShowerPCA::GetCentroid | ( | ) | const |
Return centroid.
Definition at line 67 of file LArPfoObjects.cc.
References m_centroid.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildPCAxis(), lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo(), and lar_pandora::LArPandoraShowerCreation::produce().
const CartesianVector & lar_content::LArShowerPCA::GetEigenValues | ( | ) | const |
Return vector of eigenvalues.
Definition at line 95 of file LArPfoObjects.cc.
References m_eigenValues.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildPCAxis(), lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo(), and lar_pandora::LArPandoraShowerCreation::produce().
const CartesianVector & lar_content::LArShowerPCA::GetPrimaryAxis | ( | ) | const |
Return primary axis.
Definition at line 74 of file LArPfoObjects.cc.
References m_primaryAxis.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildPCAxis(), lar_pandora::LArPandoraShowerCreation::BuildShower(), lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo(), and lar_pandora::LArPandoraShowerCreation::produce().
float lar_content::LArShowerPCA::GetPrimaryLength | ( | ) | const |
Return primary length.
Definition at line 109 of file LArPfoObjects.cc.
References m_axisLengths.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildShower(), and lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo().
const CartesianVector & lar_content::LArShowerPCA::GetSecondaryAxis | ( | ) | const |
Return secondary axis.
Definition at line 81 of file LArPfoObjects.cc.
References m_secondaryAxis.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildPCAxis(), lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo(), and lar_pandora::LArPandoraShowerCreation::produce().
float lar_content::LArShowerPCA::GetSecondaryLength | ( | ) | const |
Return secondary length.
Definition at line 116 of file LArPfoObjects.cc.
References m_axisLengths.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildShower(), and lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo().
const CartesianVector & lar_content::LArShowerPCA::GetTertiaryAxis | ( | ) | const |
Return tertiary axis.
Definition at line 88 of file LArPfoObjects.cc.
References m_tertiaryAxis.
Referenced by lar_pandora::LArPandoraShowerCreation::BuildPCAxis(), lar_content::PcaShowerParticleBuildingAlgorithm::CreatePfo(), and lar_pandora::LArPandoraShowerCreation::produce().
float lar_content::LArShowerPCA::GetTertiaryLength | ( | ) | const |
Return tertiary length.
Definition at line 123 of file LArPfoObjects.cc.
References m_axisLengths.
|
private |
The vector of lengths.
Definition at line 196 of file LArPfoObjects.h.
Referenced by GetAxisLengths(), GetPrimaryLength(), GetSecondaryLength(), and GetTertiaryLength().
|
private |
|
private |
The vector of eigenvalues.
Definition at line 195 of file LArPfoObjects.h.
Referenced by GetEigenValues().
|
private |
|
private |
The secondary axis.
Definition at line 193 of file LArPfoObjects.h.
Referenced by GetSecondaryAxis().
|
private |