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... | |
Public Member Functions inherited from lar_content::ClusterAssociation | |
ClusterAssociation () | |
Default constructor. More... | |
ClusterAssociation (const pandora::CartesianVector &upstreamMergePoint, const pandora::CartesianVector &upstreamMergeDirection, const pandora::CartesianVector &downstreamMergePoint, const pandora::CartesianVector &downstreamMergeDirection) | |
Constructor. 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 |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from lar_content::ClusterAssociation | |
void | UpdateConnectingLine () |
Update the connecting line. More... | |
Protected Attributes inherited from lar_content::ClusterAssociation | |
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... | |
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.
|
inline |
Returns the address of the downstream cluster.
Definition at line 279 of file ClusterAssociation.h.
|
inline |
Returns the address of the upstream cluster.
Definition at line 272 of file ClusterAssociation.h.
|
private |
The address of the downstream cluster.
Definition at line 146 of file ClusterAssociation.h.
|
private |
The address of the upstream cluster.
Definition at line 145 of file ClusterAssociation.h.