LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_content::StitchingCosmicRayMergingTool::PfoAssociation Class Reference

PfoAssociation class. More...

#include "StitchingCosmicRayMergingTool.h"

Public Types

enum  VertexType { UNDEFINED = 0, INNER = 1, OUTER = 2 }
 Vertex enumeration. More...
 

Public Member Functions

 PfoAssociation (const VertexType parent, const VertexType daughter, const float fom)
 Constructor. More...
 
VertexType GetParent () const
 Get parent. More...
 
VertexType GetDaughter () const
 Get daughter. More...
 
float GetFigureOfMerit () const
 Get figure of merit. More...
 

Private Attributes

VertexType m_parent
 The parent vertex type. More...
 
VertexType m_daughter
 The daughter vertex type. More...
 
float m_fom
 The figure of merit. More...
 

Detailed Description

PfoAssociation class.

Definition at line 38 of file StitchingCosmicRayMergingTool.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

lar_content::StitchingCosmicRayMergingTool::PfoAssociation::PfoAssociation ( const VertexType  parent,
const VertexType  daughter,
const float  fom 
)

Constructor.

Parameters
parentthe parent vertex type
daughterthe daughter vertex type
fomthe figure of merit

Definition at line 791 of file StitchingCosmicRayMergingTool.cc.

791  :
792  m_parent(parent),
793  m_daughter(daughter),
794  m_fom(fom)
795 {
796 }

Member Function Documentation

StitchingCosmicRayMergingTool::PfoAssociation::VertexType lar_content::StitchingCosmicRayMergingTool::PfoAssociation::GetDaughter ( ) const

Get daughter.

Returns
the daughter

Definition at line 807 of file StitchingCosmicRayMergingTool.cc.

References m_daughter.

Referenced by lar_content::StitchingCosmicRayMergingTool::SelectPfoMatches().

808 {
809  return m_daughter;
810 }
float lar_content::StitchingCosmicRayMergingTool::PfoAssociation::GetFigureOfMerit ( ) const

Get figure of merit.

Returns
the figure of merit

Definition at line 814 of file StitchingCosmicRayMergingTool.cc.

References m_fom.

Referenced by lar_content::StitchingCosmicRayMergingTool::SelectPfoMatches().

815 {
816  return m_fom;
817 }
StitchingCosmicRayMergingTool::PfoAssociation::VertexType lar_content::StitchingCosmicRayMergingTool::PfoAssociation::GetParent ( ) const

Get parent.

Returns
the parent

Definition at line 800 of file StitchingCosmicRayMergingTool.cc.

References m_parent.

Referenced by lar_content::StitchingCosmicRayMergingTool::SelectPfoMatches().

801 {
802  return m_parent;
803 }

Member Data Documentation

VertexType lar_content::StitchingCosmicRayMergingTool::PfoAssociation::m_daughter
private

The daughter vertex type.

Definition at line 83 of file StitchingCosmicRayMergingTool.h.

Referenced by GetDaughter().

float lar_content::StitchingCosmicRayMergingTool::PfoAssociation::m_fom
private

The figure of merit.

Definition at line 84 of file StitchingCosmicRayMergingTool.h.

Referenced by GetFigureOfMerit().

VertexType lar_content::StitchingCosmicRayMergingTool::PfoAssociation::m_parent
private

The parent vertex type.

Definition at line 82 of file StitchingCosmicRayMergingTool.h.

Referenced by GetParent().


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