LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
HitAssociation class. More...
Public Member Functions | |
HitAssociation (const pandora::CaloHit *const pPrimaryTarget, const float primaryDistanceSquared) | |
Constructor. More... | |
void | SetSecondaryTarget (const pandora::CaloHit *const pSecondaryTarget, const float secondaryDistanceSquared) |
Set secondary target. More... | |
const pandora::CaloHit * | GetPrimaryTarget () const |
Get the primary target. More... | |
const pandora::CaloHit * | GetSecondaryTarget () const |
Get the secondary target. More... | |
float | GetPrimaryDistanceSquared () const |
Get the primary distance squared. More... | |
float | GetSecondaryDistanceSquared () const |
Get the secondary distance squared. More... | |
Private Attributes | |
const pandora::CaloHit * | m_pPrimaryTarget |
the primary target More... | |
const pandora::CaloHit * | m_pSecondaryTarget |
the secondary target More... | |
float | m_primaryDistanceSquared |
the primary distance squared More... | |
float | m_secondaryDistanceSquared |
the secondary distance squared More... | |
HitAssociation class.
Definition at line 33 of file TrackClusterCreationAlgorithm.h.
|
inline |
Constructor.
pPrimaryTarget | address of the primary target hit |
primaryDistanceSquared | distance to the primary target hit squared |
Definition at line 211 of file TrackClusterCreationAlgorithm.h.
|
inline |
Get the primary distance squared.
Definition at line 243 of file TrackClusterCreationAlgorithm.h.
References m_primaryDistanceSquared.
Referenced by lar_content::TrackClusterCreationAlgorithm::CreateSecondaryAssociation().
|
inline |
Get the primary target.
Definition at line 229 of file TrackClusterCreationAlgorithm.h.
References m_pPrimaryTarget.
Referenced by lar_content::TrackClusterCreationAlgorithm::CreateSecondaryAssociation().
|
inline |
Get the secondary distance squared.
Definition at line 250 of file TrackClusterCreationAlgorithm.h.
References m_secondaryDistanceSquared.
Referenced by lar_content::TrackClusterCreationAlgorithm::CreateSecondaryAssociation().
|
inline |
Get the secondary target.
Definition at line 236 of file TrackClusterCreationAlgorithm.h.
References m_pSecondaryTarget.
|
inline |
Set secondary target.
pSecondaryTarget | address of the secondary target hit |
secondaryDistanceSquared | distance to the primary target hit squared |
Definition at line 221 of file TrackClusterCreationAlgorithm.h.
References m_pSecondaryTarget, and m_secondaryDistanceSquared.
Referenced by lar_content::TrackClusterCreationAlgorithm::CreateSecondaryAssociation().
|
private |
the primary target
Definition at line 81 of file TrackClusterCreationAlgorithm.h.
Referenced by GetPrimaryTarget().
|
private |
the primary distance squared
Definition at line 83 of file TrackClusterCreationAlgorithm.h.
Referenced by GetPrimaryDistanceSquared().
|
private |
the secondary target
Definition at line 82 of file TrackClusterCreationAlgorithm.h.
Referenced by GetSecondaryTarget(), and SetSecondaryTarget().
|
private |
the secondary distance squared
Definition at line 84 of file TrackClusterCreationAlgorithm.h.
Referenced by GetSecondaryDistanceSquared(), and SetSecondaryTarget().