ClusterParameters class. More...
#include <LArHitWidthHelper.h>
Public Member Functions | |
| ClusterParameters (const pandora::Cluster *const pCluster, const float maxConsituentHitWidth, const bool isUniformHits, const float hitWidthScalingFactor) | |
| Constructor. More... | |
| ClusterParameters (const pandora::Cluster *const pCluster, const unsigned int numCaloHits, const float totalWeight, const ConstituentHitVector &constituentHitVector, const pandora::CartesianVector &lowerXExtrema, const pandora::CartesianVector &higherXExtrema) | |
| Constructor. More... | |
| const pandora::Cluster * | GetClusterAddress () const |
| Returns the address of the cluster. More... | |
| unsigned int | GetNumCaloHits () const |
| Returns the number of calo hits within the cluster. More... | |
| float | GetTotalWeight () const |
| Returns the total weight of the constituent hits. More... | |
| const ConstituentHitVector & | GetConstituentHitVector () const |
| Returns the vector of constituent hits. More... | |
| const pandora::CartesianVector & | GetLowerXExtrema () const |
| Returns the lower x extremal point of the constituent hits. More... | |
| const pandora::CartesianVector & | GetHigherXExtrema () const |
| Returns the higher x extremal point of the constituent hits. More... | |
Private Attributes | |
| const pandora::Cluster * | m_pCluster |
| The address of the cluster. More... | |
| const unsigned int | m_numCaloHits |
| The number of calo hits within the cluster. More... | |
| const ConstituentHitVector | m_constituentHitVector |
| The vector of constituent hits. More... | |
| const float | m_totalWeight |
| The total hit weight of the contituent hits. More... | |
| const pandora::CartesianVector | m_lowerXExtrema |
| The lower x extremal point of the constituent hits. More... | |
| const pandora::CartesianVector | m_higherXExtrema |
| The higher x extremal point of the constituent hits. More... | |
ClusterParameters class.
Definition at line 92 of file LArHitWidthHelper.h.
| lar_content::LArHitWidthHelper::ClusterParameters::ClusterParameters | ( | const pandora::Cluster *const | pCluster, |
| const float | maxConsituentHitWidth, | ||
| const bool | isUniformHits, | ||
| const float | hitWidthScalingFactor | ||
| ) |
Constructor.
| pCluster | from which the parameters will be obtained |
| maxConstituentHitWidth | the maximum width of a constituent hit |
| isUniform | whether to break up the hit into uniform constituent hits (and pad the hit) or not in the non-uniform case constituent hits from different hits may have different weights |
| hitWidthScalingFactor | the constituent hit width scaling factor |
| lar_content::LArHitWidthHelper::ClusterParameters::ClusterParameters | ( | const pandora::Cluster *const | pCluster, |
| const unsigned int | numCaloHits, | ||
| const float | totalWeight, | ||
| const ConstituentHitVector & | constituentHitVector, | ||
| const pandora::CartesianVector & | lowerXExtrema, | ||
| const pandora::CartesianVector & | higherXExtrema | ||
| ) |
Constructor.
| pCluster | from which the parameters will be obtained |
| numCaloHits | the number of calo hits within the cluster |
| totalWeight | the total weight of the constituent hits |
| constituentHitVector | the vector of constituent hits |
| lowerXExtrema | the lower x extremal point of the constituent hits |
| higherXExtrema | the higher x extremal point of the constituent hits |
|
inline |
Returns the address of the cluster.
Definition at line 340 of file LArHitWidthHelper.h.
|
inline |
Returns the vector of constituent hits.
Definition at line 361 of file LArHitWidthHelper.h.
|
inline |
Returns the higher x extremal point of the constituent hits.
Definition at line 375 of file LArHitWidthHelper.h.
|
inline |
Returns the lower x extremal point of the constituent hits.
Definition at line 368 of file LArHitWidthHelper.h.
|
inline |
Returns the number of calo hits within the cluster.
Definition at line 347 of file LArHitWidthHelper.h.
|
inline |
Returns the total weight of the constituent hits.
Definition at line 354 of file LArHitWidthHelper.h.
|
private |
The vector of constituent hits.
Definition at line 154 of file LArHitWidthHelper.h.
|
private |
The higher x extremal point of the constituent hits.
Definition at line 157 of file LArHitWidthHelper.h.
|
private |
The lower x extremal point of the constituent hits.
Definition at line 156 of file LArHitWidthHelper.h.
|
private |
The number of calo hits within the cluster.
Definition at line 153 of file LArHitWidthHelper.h.
|
private |
The address of the cluster.
Definition at line 152 of file LArHitWidthHelper.h.
|
private |
The total hit weight of the contituent hits.
Definition at line 155 of file LArHitWidthHelper.h.
1.8.5