LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lar_content::BranchGrowingAlgorithm::Association Class Reference

Association class. More...

#include "BranchGrowingAlgorithm.h"

Public Member Functions

 Association ()
 Default constructor. More...
 
 Association (const unsigned int order, const AssociationType type)
 Constructor. More...
 
void SetOrder (const unsigned int order)
 Set association order. More...
 
void SetType (const AssociationType associationType)
 Set association type. More...
 
unsigned int GetOrder () const
 Get association order. More...
 
AssociationType GetType () const
 Get association type. More...
 

Private Attributes

unsigned int m_order
 
AssociationType m_type
 

Detailed Description

Association class.

Definition at line 38 of file BranchGrowingAlgorithm.h.

Constructor & Destructor Documentation

lar_content::BranchGrowingAlgorithm::Association::Association ( )
inline
lar_content::BranchGrowingAlgorithm::Association::Association ( const unsigned int  order,
const AssociationType  type 
)
inline

Constructor.

Parameters
orderthe association order
typethe association type

Definition at line 137 of file BranchGrowingAlgorithm.h.

Member Function Documentation

unsigned int lar_content::BranchGrowingAlgorithm::Association::GetOrder ( ) const
inline

Get association order.

Returns
the association order

Definition at line 159 of file BranchGrowingAlgorithm.h.

References m_order.

160 {
161  return m_order;
162 }
BranchGrowingAlgorithm::AssociationType lar_content::BranchGrowingAlgorithm::Association::GetType ( ) const
inline

Get association type.

Returns
the association type

Definition at line 166 of file BranchGrowingAlgorithm.h.

References m_type.

Referenced by lar_content::BranchGrowingAlgorithm::FindAssociatedClusters(), and lar_content::BranchGrowingAlgorithm::IdentifyClusterMerges().

167 {
168  return m_type;
169 }
void lar_content::BranchGrowingAlgorithm::Association::SetOrder ( const unsigned int  order)
inline

Set association order.

Parameters
orderthe association order

Definition at line 145 of file BranchGrowingAlgorithm.h.

References m_order.

146 {
147  m_order = order;
148 }
void lar_content::BranchGrowingAlgorithm::Association::SetType ( const AssociationType  associationType)
inline

Set association type.

Parameters
associationTypethe association type

Definition at line 152 of file BranchGrowingAlgorithm.h.

References m_type.

Referenced by lar_content::BranchGrowingAlgorithm::FindAssociatedClusters().

153 {
154  m_type = associationType;
155 }

Member Data Documentation

unsigned int lar_content::BranchGrowingAlgorithm::Association::m_order
private

Definition at line 83 of file BranchGrowingAlgorithm.h.

Referenced by GetOrder(), and SetOrder().

AssociationType lar_content::BranchGrowingAlgorithm::Association::m_type
private

Definition at line 84 of file BranchGrowingAlgorithm.h.

Referenced by GetType(), and SetType().


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