Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::ClusterPairAssociation Class Reference

ClusterPairAssociation class. More...

#include "ClusterAssociation.h"

Inheritance diagram for lar_content::ClusterPairAssociation:
Collaboration diagram for lar_content::ClusterPairAssociation:

Public Member Functions

 ClusterPairAssociation ()
 Default constructor.
 
 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.
 
const pandora::ClusterGetUpstreamCluster () const
 Returns the address of the upstream cluster.
 
const pandora::ClusterGetDownstreamCluster () const
 Returns the address of the downstream cluster.
 
const pandora::CartesianVector GetUpstreamMergePoint () const
 Returns the upstream cluster merge point.
 
const pandora::CartesianVector GetUpstreamMergeDirection () const
 Returns the cluster direction at the upstream merge point.
 
const pandora::CartesianVector GetDownstreamMergePoint () const
 Returns the downstream cluster merge point.
 
const pandora::CartesianVector GetDownstreamMergeDirection () const
 Returns the cluster direction at the downstream merge point.
 
const pandora::CartesianVector GetConnectingLineDirection () const
 Returns the unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream)
 
void SetUpstreamMergePoint (const pandora::CartesianVector &upstreamMergePoint)
 Set the upstream merge point.
 
void SetDownstreamMergePoint (const pandora::CartesianVector &downstreamMergePoint)
 Set the downstream merge point.
 
bool operator== (const ClusterAssociation &clusterAssociation) const
 
bool operator< (const ClusterAssociation &clusterAssociation) const
 

Protected Member Functions

void UpdateConnectingLine ()
 Update the connecting line.
 

Protected Attributes

pandora::CartesianVector m_upstreamMergePoint
 The upstream cluster point to be used in the merging process.
 
pandora::CartesianVector m_upstreamMergeDirection
 The upstream cluster direction at the upstream merge point (points in the direction of the downstream cluster)
 
pandora::CartesianVector m_downstreamMergePoint
 The downstream cluster point to be used in the merging process.
 
pandora::CartesianVector m_downstreamMergeDirection
 The downstream cluster direction at the downstream merge point (points in the direction of the upstream cluster)
 
pandora::CartesianVector m_connectingLineDirection
 The unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream)
 

Private Attributes

const pandora::Clusterm_pUpstreamCluster
 The address of the upstream cluster.
 
const pandora::Clusterm_pDownstreamCluster
 The address of the downstream cluster.
 

Detailed Description

ClusterPairAssociation class.

Definition at line 108 of file ClusterAssociation.h.

Constructor & Destructor Documentation

◆ ClusterPairAssociation() [1/2]

lar_content::ClusterPairAssociation::ClusterPairAssociation ( )
inline

Default constructor.

Definition at line 266 of file ClusterAssociation.h.

◆ ClusterPairAssociation() [2/2]

lar_content::ClusterPairAssociation::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 
)
inline

Constructor.

Parameters
upstreamMergePointthe upstream merge point
upstreamMergeDirectionthe cluster direction at the upstream merge point
downstreamMergePointthe downstream merge point
downstreamMergeDirectionthe cluster direction at the downstream merge point
pUpstreamClusterthe address of the upstream cluster
pDownstreamClusterthe address of the downstream cluster

Definition at line 255 of file ClusterAssociation.h.

Member Function Documentation

◆ GetConnectingLineDirection()

const pandora::CartesianVector lar_content::ClusterAssociation::GetConnectingLineDirection ( ) const
inlineinherited

Returns the unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream)

Returns
the unit displacement vector from the upstream merge point to the downstream merge point

Definition at line 222 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ GetDownstreamCluster()

const pandora::Cluster * lar_content::ClusterPairAssociation::GetDownstreamCluster ( ) const
inline

Returns the address of the downstream cluster.

Returns
the address of the downstream cluster

Definition at line 279 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ GetDownstreamMergeDirection()

const pandora::CartesianVector lar_content::ClusterAssociation::GetDownstreamMergeDirection ( ) const
inlineinherited

Returns the cluster direction at the downstream merge point.

Returns
the cluster direction at the downstream merge point

Definition at line 215 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ GetDownstreamMergePoint()

const pandora::CartesianVector lar_content::ClusterAssociation::GetDownstreamMergePoint ( ) const
inlineinherited

Returns the downstream cluster merge point.

Returns
the downstream merge point

Definition at line 208 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ GetUpstreamCluster()

const pandora::Cluster * lar_content::ClusterPairAssociation::GetUpstreamCluster ( ) const
inline

Returns the address of the upstream cluster.

Returns
the address of the upstream cluster

Definition at line 272 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ GetUpstreamMergeDirection()

const pandora::CartesianVector lar_content::ClusterAssociation::GetUpstreamMergeDirection ( ) const
inlineinherited

Returns the cluster direction at the upstream merge point.

Returns
the cluster direction at the upstream merge point

Definition at line 201 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ GetUpstreamMergePoint()

const pandora::CartesianVector lar_content::ClusterAssociation::GetUpstreamMergePoint ( ) const
inlineinherited

Returns the upstream cluster merge point.

Returns
the upstream merge point

Definition at line 194 of file ClusterAssociation.h.

Here is the caller graph for this function:

◆ operator<()

bool lar_content::ClusterAssociation::operator< ( const ClusterAssociation clusterAssociation) const
inlineinherited

Definition at line 187 of file ClusterAssociation.h.

Here is the call graph for this function:

◆ operator==()

bool lar_content::ClusterAssociation::operator== ( const ClusterAssociation clusterAssociation) const
inlineinherited

Definition at line 177 of file ClusterAssociation.h.

Here is the call graph for this function:

◆ SetDownstreamMergePoint()

void lar_content::ClusterAssociation::SetDownstreamMergePoint ( const pandora::CartesianVector downstreamMergePoint)
inlineinherited

Set the downstream merge point.

Parameters
downstreamMergePointthe new downstream merge point

Definition at line 237 of file ClusterAssociation.h.

Here is the call graph for this function:

◆ SetUpstreamMergePoint()

void lar_content::ClusterAssociation::SetUpstreamMergePoint ( const pandora::CartesianVector upstreamMergePoint)
inlineinherited

Set the upstream merge point.

Parameters
upstreamMergePointthe new upstream merge point

Definition at line 229 of file ClusterAssociation.h.

Here is the call graph for this function:

◆ UpdateConnectingLine()

void lar_content::ClusterAssociation::UpdateConnectingLine ( )
inlineprotectedinherited

Update the connecting line.

Definition at line 245 of file ClusterAssociation.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_connectingLineDirection

pandora::CartesianVector lar_content::ClusterAssociation::m_connectingLineDirection
protectedinherited

The unit vector of the line connecting the upstream and downstream merge points (upstream -> downstream)

Definition at line 99 of file ClusterAssociation.h.

◆ m_downstreamMergeDirection

pandora::CartesianVector lar_content::ClusterAssociation::m_downstreamMergeDirection
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.

◆ m_downstreamMergePoint

pandora::CartesianVector lar_content::ClusterAssociation::m_downstreamMergePoint
protectedinherited

The downstream cluster point to be used in the merging process.

Definition at line 97 of file ClusterAssociation.h.

◆ m_pDownstreamCluster

const pandora::Cluster* lar_content::ClusterPairAssociation::m_pDownstreamCluster
private

The address of the downstream cluster.

Definition at line 146 of file ClusterAssociation.h.

◆ m_pUpstreamCluster

const pandora::Cluster* lar_content::ClusterPairAssociation::m_pUpstreamCluster
private

The address of the upstream cluster.

Definition at line 145 of file ClusterAssociation.h.

◆ m_upstreamMergeDirection

pandora::CartesianVector lar_content::ClusterAssociation::m_upstreamMergeDirection
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.

◆ m_upstreamMergePoint

pandora::CartesianVector lar_content::ClusterAssociation::m_upstreamMergePoint
protectedinherited

The upstream cluster point to be used in the merging process.

Definition at line 95 of file ClusterAssociation.h.


The documentation for this class was generated from the following file: