LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
ConstituentHit class. More...
#include "LArHitWidthHelper.h"
Classes | |
class | SortByDistanceToPoint |
SortByDistanceToPoint class. More... | |
Public Member Functions | |
ConstituentHit (const pandora::CartesianVector &positionVector, const float hitWidth, const pandora::Cluster *const pParentClusterAddress) | |
Constructor. More... | |
const pandora::CartesianVector & | GetPositionVector () const |
Returns the constituent hit central position. More... | |
float | GetHitWidth () const |
Returns the constituent hit width. More... | |
const pandora::Cluster * | GetParentClusterAddress () const |
Returns the address of the parent cluster. More... | |
Private Attributes | |
pandora::CartesianVector | m_positionVector |
The central position of the consituent hit. More... | |
float | m_hitWidth |
The width of the constituent hit. More... | |
const pandora::Cluster * | m_pParentClusterAddress |
The address of the cluster the constituent hit belongs to. More... | |
ConstituentHit class.
Definition at line 25 of file LArHitWidthHelper.h.
lar_content::LArHitWidthHelper::ConstituentHit::ConstituentHit | ( | const pandora::CartesianVector & | positionVector, |
const float | hitWidth, | ||
const pandora::Cluster *const | pParentClusterAddress | ||
) |
Constructor.
positionVector | the central position of the constituent hit |
hitWidth | the hit width of the constituent hit |
pParentClusterAddress | the address of the original, unbroken hit to which it belongs |
Definition at line 16 of file LArHitWidthHelper.cc.
Referenced by lar_content::LArHitWidthHelper::SplitHitIntoConstituents().
|
inline |
Returns the constituent hit width.
Definition at line 346 of file LArHitWidthHelper.h.
References m_hitWidth.
|
inline |
Returns the address of the parent cluster.
Definition at line 353 of file LArHitWidthHelper.h.
References m_pParentClusterAddress.
|
inline |
Returns the constituent hit central position.
Definition at line 339 of file LArHitWidthHelper.h.
References m_positionVector.
Referenced by lar_content::LArHitWidthHelper::ConstituentHit::SortByDistanceToPoint::operator()().
|
private |
The width of the constituent hit.
Definition at line 84 of file LArHitWidthHelper.h.
Referenced by GetHitWidth().
|
private |
The central position of the consituent hit.
Definition at line 83 of file LArHitWidthHelper.h.
Referenced by GetPositionVector().
|
private |
The address of the cluster the constituent hit belongs to.
Definition at line 85 of file LArHitWidthHelper.h.
Referenced by GetParentClusterAddress().