All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
lar_content::ClusterPairAssociation Class Reference

ClusterPairAssociation class. More...

#include <ClusterAssociation.h>

Inheritance diagram for lar_content::ClusterPairAssociation:
lar_content::ClusterAssociation

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...
 

Detailed Description

ClusterPairAssociation class.

Definition at line 108 of file ClusterAssociation.h.

Constructor & Destructor Documentation

lar_content::ClusterPairAssociation::ClusterPairAssociation ( )
inline

Default constructor.

Definition at line 266 of file ClusterAssociation.h.

267 {
268 }
ClusterAssociation()
Default constructor.
const pandora::Cluster * m_pUpstreamCluster
The address of the upstream cluster.
const pandora::Cluster * m_pDownstreamCluster
The address of the downstream cluster.
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.

257  :
258  ClusterAssociation(upstreamMergePoint, upstreamMergeDirection, downstreamMergePoint, downstreamMergeDirection),
259  m_pUpstreamCluster(pUpstreamCluster),
260  m_pDownstreamCluster(pDownstreamCluster)
261 {
262 }
ClusterAssociation()
Default constructor.
const pandora::Cluster * m_pUpstreamCluster
The address of the upstream cluster.
const pandora::Cluster * m_pDownstreamCluster
The address of the downstream cluster.

Member Function Documentation

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.

280 {
281  return m_pDownstreamCluster;
282 }
const pandora::Cluster * m_pDownstreamCluster
The address of the downstream cluster.
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.

273 {
274  return m_pUpstreamCluster;
275 }
const pandora::Cluster * m_pUpstreamCluster
The address of the upstream cluster.

Member Data Documentation

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

The address of the downstream cluster.

Definition at line 146 of file ClusterAssociation.h.

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

The address of the upstream cluster.

Definition at line 145 of file ClusterAssociation.h.


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