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

ClusterAssociation class. More...

#include "VertexBasedPfoMopUpAlgorithm.h"

Public Member Functions

 ClusterAssociation ()
 Default constructor. More...
 
 ClusterAssociation (const pandora::Cluster *const pVertexCluster, const pandora::Cluster *const pDaughterCluster, const float boundedFraction, const bool isConsistentDirection)
 Constructor. More...
 
const pandora::Cluster * GetVertexCluster () const
 Get the address of the vertex cluster. More...
 
const pandora::Cluster * GetDaughterCluster () const
 Get the address of the daughter cluster. More...
 
float GetBoundedFraction () const
 Get the fraction of daughter hits bounded by the cone defined by the vertex cluster. More...
 
bool IsConsistentDirection () const
 Whether the vertex and daughter clusters have consistent directions. More...
 

Private Attributes

const pandora::Cluster * m_pVertexCluster
 The address of the vertex cluster. More...
 
const pandora::Cluster * m_pDaughterCluster
 The address of the daughter cluster. More...
 
float m_boundedFraction
 The fraction of daughter hits bounded by the cone defined by the vertex cluster. More...
 
bool m_isConsistentDirection
 Whether the vertex and daughter clusters have consistent directions. More...
 

Detailed Description

ClusterAssociation class.

Definition at line 33 of file VertexBasedPfoMopUpAlgorithm.h.

Constructor & Destructor Documentation

lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::ClusterAssociation ( )

Default constructor.

Definition at line 293 of file VertexBasedPfoMopUpAlgorithm.cc.

References m_boundedFraction, m_isConsistentDirection, m_pDaughterCluster, and m_pVertexCluster.

293  :
294  m_pVertexCluster(nullptr),
295  m_pDaughterCluster(nullptr),
296  m_boundedFraction(0.f),
298 {
299 }
const pandora::Cluster * m_pDaughterCluster
The address of the daughter cluster.
bool m_isConsistentDirection
Whether the vertex and daughter clusters have consistent directions.
TFile f
Definition: plotHisto.C:6
float m_boundedFraction
The fraction of daughter hits bounded by the cone defined by the vertex cluster.
const pandora::Cluster * m_pVertexCluster
The address of the vertex cluster.
lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::ClusterAssociation ( const pandora::Cluster *const  pVertexCluster,
const pandora::Cluster *const  pDaughterCluster,
const float  boundedFraction,
const bool  isConsistentDirection 
)

Constructor.

Parameters
pVertexClusterthe address of the vertex cluster
pDaughterClusterthe address of the daughter cluster
boundedFractionthe fraction of daughter hits bounded by the cone defined by the vertex cluster
isConsistentDirectionwhether clusters have consistent directions

Member Function Documentation

float lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::GetBoundedFraction ( ) const
inline

Get the fraction of daughter hits bounded by the cone defined by the vertex cluster.

Returns
the bounded fraction

Definition at line 384 of file VertexBasedPfoMopUpAlgorithm.h.

References m_boundedFraction.

385 {
386  return m_boundedFraction;
387 }
float m_boundedFraction
The fraction of daughter hits bounded by the cone defined by the vertex cluster.
const pandora::Cluster * lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::GetDaughterCluster ( ) const
inline

Get the address of the daughter cluster.

Returns
the address of the daughter cluster

Definition at line 377 of file VertexBasedPfoMopUpAlgorithm.h.

References m_pDaughterCluster.

378 {
379  return m_pDaughterCluster;
380 }
const pandora::Cluster * m_pDaughterCluster
The address of the daughter cluster.
const pandora::Cluster * lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::GetVertexCluster ( ) const
inline

Get the address of the vertex cluster.

Returns
the address of the vertex cluster

Definition at line 370 of file VertexBasedPfoMopUpAlgorithm.h.

References m_pVertexCluster.

371 {
372  return m_pVertexCluster;
373 }
const pandora::Cluster * m_pVertexCluster
The address of the vertex cluster.
bool lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::IsConsistentDirection ( ) const
inline

Whether the vertex and daughter clusters have consistent directions.

Returns
boolean

Definition at line 391 of file VertexBasedPfoMopUpAlgorithm.h.

References m_isConsistentDirection.

392 {
394 }
bool m_isConsistentDirection
Whether the vertex and daughter clusters have consistent directions.

Member Data Documentation

float lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::m_boundedFraction
private

The fraction of daughter hits bounded by the cone defined by the vertex cluster.

Definition at line 83 of file VertexBasedPfoMopUpAlgorithm.h.

Referenced by ClusterAssociation(), and GetBoundedFraction().

bool lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::m_isConsistentDirection
private

Whether the vertex and daughter clusters have consistent directions.

Definition at line 84 of file VertexBasedPfoMopUpAlgorithm.h.

Referenced by ClusterAssociation(), and IsConsistentDirection().

const pandora::Cluster* lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::m_pDaughterCluster
private

The address of the daughter cluster.

Definition at line 82 of file VertexBasedPfoMopUpAlgorithm.h.

Referenced by ClusterAssociation(), and GetDaughterCluster().

const pandora::Cluster* lar_content::VertexBasedPfoMopUpAlgorithm::ClusterAssociation::m_pVertexCluster
private

The address of the vertex cluster.

Definition at line 81 of file VertexBasedPfoMopUpAlgorithm.h.

Referenced by ClusterAssociation(), and GetVertexCluster().


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