LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
ClusterPairAssociation class. More...
#include "ClusterAssociation.h"
Public Member Functions | |
ClusterPairAssociation () | |
Default constructor. More... | |
ClusterPairAssociation (const pandora::CartesianVector &upstreamMergePoint, const pandora::CartesianVector &upstreamMergeDirection, const pandora::CartesianVector &downstreamMergePoint, const pandora::CartesianVector &downstreamMergeDirection, const pandora::Cluster *pUpstreamCluster, const pandora::Cluster *pDownstreamCluster) | |
Constructor. More... | |
const pandora::Cluster * | GetUpstreamCluster () const |
Returns the address of the upstream cluster. More... | |
const pandora::Cluster * | GetDownstreamCluster () const |
Returns the address of the downstream cluster. More... | |
const pandora::CartesianVector | GetUpstreamMergePoint () const |
Returns the upstream cluster merge point. More... | |
const pandora::CartesianVector | GetUpstreamMergeDirection () const |
Returns the cluster direction at the upstream merge point. More... | |
const pandora::CartesianVector | GetDownstreamMergePoint () const |
Returns the downstream cluster merge point. More... | |
const pandora::CartesianVector | GetDownstreamMergeDirection () const |
Returns the cluster direction at the downstream merge point. More... | |
const pandora::CartesianVector | GetConnectingLineDirection () const |
Returns the unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream) More... | |
void | SetUpstreamMergePoint (const pandora::CartesianVector &upstreamMergePoint) |
Set the upstream merge point. More... | |
void | SetDownstreamMergePoint (const pandora::CartesianVector &downstreamMergePoint) |
Set the downstream merge point. More... | |
bool | operator== (const ClusterAssociation &clusterAssociation) const |
bool | operator< (const ClusterAssociation &clusterAssociation) const |
Protected Member Functions | |
void | UpdateConnectingLine () |
Update the connecting line. More... | |
Protected Attributes | |
pandora::CartesianVector | m_upstreamMergePoint |
The upstream cluster point to be used in the merging process. More... | |
pandora::CartesianVector | m_upstreamMergeDirection |
The upstream cluster direction at the upstream merge point (points in the direction of the downstream cluster) More... | |
pandora::CartesianVector | m_downstreamMergePoint |
The downstream cluster point to be used in the merging process. More... | |
pandora::CartesianVector | m_downstreamMergeDirection |
The downstream cluster direction at the downstream merge point (points in the direction of the upstream cluster) More... | |
pandora::CartesianVector | m_connectingLineDirection |
The unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream) More... | |
Private Attributes | |
const pandora::Cluster * | m_pUpstreamCluster |
The address of the upstream cluster. More... | |
const pandora::Cluster * | m_pDownstreamCluster |
The address of the downstream cluster. More... | |
ClusterPairAssociation class.
Definition at line 108 of file ClusterAssociation.h.
|
inline |
Default constructor.
Definition at line 266 of file ClusterAssociation.h.
|
inline |
Constructor.
upstreamMergePoint | the upstream merge point |
upstreamMergeDirection | the cluster direction at the upstream merge point |
downstreamMergePoint | the downstream merge point |
downstreamMergeDirection | the cluster direction at the downstream merge point |
pUpstreamCluster | the address of the upstream cluster |
pDownstreamCluster | the address of the downstream cluster |
Definition at line 255 of file ClusterAssociation.h.
|
inlineinherited |
Returns the unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream)
Definition at line 222 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_connectingLineDirection.
Referenced by lar_content::TrackRefinementBaseAlgorithm::AddHitsToMainTrack(), lar_content::TrackRefinementBaseAlgorithm::AreExtrapolatedHitsGood(), lar_content::TrackRefinementBaseAlgorithm::GetTrackSegmentBoundaries(), and lar_content::TrackRefinementBaseAlgorithm::IsTrackContinuous().
|
inline |
Returns the address of the downstream cluster.
Definition at line 282 of file ClusterAssociation.h.
References m_pDownstreamCluster.
Referenced by lar_content::TrackMergeRefinementAlgorithm::ConsiderClusterAssociation(), lar_content::TrackMergeRefinementAlgorithm::CreateMainTrack(), lar_content::TrackMergeRefinementAlgorithm::GetUnavailableProtectedClusters(), and lar_content::TrackMergeRefinementAlgorithm::Run().
|
inlineinherited |
Returns the cluster direction at the downstream merge point.
Definition at line 215 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_downstreamMergeDirection.
Referenced by lar_content::ClusterAssociation::operator==().
|
inlineinherited |
Returns the downstream cluster merge point.
Definition at line 208 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_downstreamMergePoint.
Referenced by lar_content::TrackMergeRefinementAlgorithm::AreExtrapolatedHitsNearBoundaries(), lar_content::TrackMergeRefinementAlgorithm::CreateMainTrack(), lar_content::TrackRefinementBaseAlgorithm::GetTrackSegmentBoundaries(), lar_content::ClusterAssociation::operator==(), and lar_content::TrackMergeRefinementAlgorithm::Run().
|
inline |
Returns the address of the upstream cluster.
Definition at line 275 of file ClusterAssociation.h.
References m_pUpstreamCluster.
Referenced by lar_content::TrackMergeRefinementAlgorithm::ConsiderClusterAssociation(), lar_content::TrackMergeRefinementAlgorithm::CreateMainTrack(), lar_content::TrackMergeRefinementAlgorithm::GetUnavailableProtectedClusters(), and lar_content::TrackMergeRefinementAlgorithm::Run().
|
inlineinherited |
Returns the cluster direction at the upstream merge point.
Definition at line 201 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_upstreamMergeDirection.
Referenced by lar_content::ClusterAssociation::operator==().
|
inlineinherited |
Returns the upstream cluster merge point.
Definition at line 194 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_upstreamMergePoint.
Referenced by lar_content::TrackRefinementBaseAlgorithm::AddHitsToMainTrack(), lar_content::TrackRefinementBaseAlgorithm::AreExtrapolatedHitsGood(), lar_content::TrackMergeRefinementAlgorithm::AreExtrapolatedHitsNearBoundaries(), lar_content::TrackMergeRefinementAlgorithm::CreateMainTrack(), lar_content::TrackRefinementBaseAlgorithm::GetTrackSegmentBoundaries(), lar_content::TrackRefinementBaseAlgorithm::IsTrackContinuous(), lar_content::ClusterAssociation::operator<(), lar_content::ClusterAssociation::operator==(), and lar_content::TrackMergeRefinementAlgorithm::Run().
|
inlineinherited |
Definition at line 187 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::GetUpstreamMergePoint(), lar_content::ClusterAssociation::m_upstreamMergePoint, and lar_content::LArClusterHelper::SortCoordinatesByPosition().
|
inlineinherited |
Definition at line 177 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::GetDownstreamMergeDirection(), lar_content::ClusterAssociation::GetDownstreamMergePoint(), lar_content::ClusterAssociation::GetUpstreamMergeDirection(), lar_content::ClusterAssociation::GetUpstreamMergePoint(), lar_content::ClusterAssociation::m_downstreamMergeDirection, lar_content::ClusterAssociation::m_downstreamMergePoint, lar_content::ClusterAssociation::m_upstreamMergeDirection, and lar_content::ClusterAssociation::m_upstreamMergePoint.
|
inlineinherited |
Set the downstream merge point.
downstreamMergePoint | the new downstream merge point |
Definition at line 237 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_downstreamMergePoint, and lar_content::ClusterAssociation::UpdateConnectingLine().
|
inlineinherited |
Set the upstream merge point.
upstreamMergePoint | the new upstream merge point |
Definition at line 229 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_upstreamMergePoint, and lar_content::ClusterAssociation::UpdateConnectingLine().
|
inlineprotectedinherited |
Update the connecting line.
Definition at line 245 of file ClusterAssociation.h.
References lar_content::ClusterAssociation::m_connectingLineDirection, lar_content::ClusterAssociation::m_downstreamMergePoint, and lar_content::ClusterAssociation::m_upstreamMergePoint.
Referenced by lar_content::ClusterAssociation::SetDownstreamMergePoint(), and lar_content::ClusterAssociation::SetUpstreamMergePoint().
|
protectedinherited |
The unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream)
Definition at line 99 of file ClusterAssociation.h.
Referenced by lar_content::ClusterAssociation::ClusterAssociation(), lar_content::ClusterAssociation::GetConnectingLineDirection(), and lar_content::ClusterAssociation::UpdateConnectingLine().
|
protectedinherited |
The downstream cluster direction at the downstream merge point (points in the direction of the upstream cluster)
Definition at line 98 of file ClusterAssociation.h.
Referenced by lar_content::ClusterAssociation::GetDownstreamMergeDirection(), and lar_content::ClusterAssociation::operator==().
|
protectedinherited |
The downstream cluster point to be used in the merging process.
Definition at line 97 of file ClusterAssociation.h.
Referenced by lar_content::ClusterAssociation::ClusterAssociation(), lar_content::ClusterAssociation::GetDownstreamMergePoint(), lar_content::ClusterAssociation::operator==(), lar_content::ClusterAssociation::SetDownstreamMergePoint(), and lar_content::ClusterAssociation::UpdateConnectingLine().
|
private |
The address of the downstream cluster.
Definition at line 146 of file ClusterAssociation.h.
Referenced by GetDownstreamCluster().
|
private |
The address of the upstream cluster.
Definition at line 145 of file ClusterAssociation.h.
Referenced by GetUpstreamCluster().
|
protectedinherited |
The upstream cluster direction at the upstream merge point (points in the direction of the downstream cluster)
Definition at line 96 of file ClusterAssociation.h.
Referenced by lar_content::ClusterAssociation::GetUpstreamMergeDirection(), and lar_content::ClusterAssociation::operator==().
|
protectedinherited |
The upstream cluster point to be used in the merging process.
Definition at line 95 of file ClusterAssociation.h.
Referenced by lar_content::ClusterAssociation::ClusterAssociation(), lar_content::ClusterAssociation::GetUpstreamMergePoint(), lar_content::ClusterAssociation::operator<(), lar_content::ClusterAssociation::operator==(), lar_content::ClusterAssociation::SetUpstreamMergePoint(), and lar_content::ClusterAssociation::UpdateConnectingLine().