LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
PfoAssociation class. More...
#include "VertexBasedPfoMopUpAlgorithm.h"
Public Member Functions | |
PfoAssociation (const pandora::Pfo *const pVertexPfo, const pandora::Pfo *const pDaughterPfo, const ClusterAssociation &clusterAssociationU, const ClusterAssociation &clusterAssociationV, const ClusterAssociation &clusterAssociationW) | |
Constructor. More... | |
const pandora::Pfo * | GetVertexPfo () const |
Get the address of the vertex-associated pfo. More... | |
const pandora::Pfo * | GetDaughterPfo () const |
Get the address of the non-vertex-associated candidate daughter pfo. More... | |
float | GetMeanBoundedFraction () const |
Get the mean bounded fraction, averaging over the u, v and w views. More... | |
float | GetMaxBoundedFraction () const |
Get the maximum bounded fraction from the u, v and w views. More... | |
float | GetMinBoundedFraction () const |
Get the minimum bounded fraction from the u, v and w views. More... | |
unsigned int | GetNConsistentDirections () const |
Get the number of views for which the vertex and daughter cluster directions are consistent. More... | |
const ClusterAssociation & | GetClusterAssociationU () const |
Get the cluster association in the u view. More... | |
const ClusterAssociation & | GetClusterAssociationV () const |
Get the cluster association in the v view. More... | |
const ClusterAssociation & | GetClusterAssociationW () const |
Get the cluster association in the w view. More... | |
bool | operator< (const PfoAssociation &rhs) const |
operator< More... | |
Private Attributes | |
const pandora::Pfo * | m_pVertexPfo |
The address of the vertex-associated pfo. More... | |
const pandora::Pfo * | m_pDaughterPfo |
The address of the non-vertex-associated candidate daughter pfo. More... | |
ClusterAssociation | m_clusterAssociationU |
The cluster association in the u view. More... | |
ClusterAssociation | m_clusterAssociationV |
The cluster association in the v view. More... | |
ClusterAssociation | m_clusterAssociationW |
The cluster association in the w view. More... | |
PfoAssociation class.
Definition at line 90 of file VertexBasedPfoMopUpAlgorithm.h.
lar_content::VertexBasedPfoMopUpAlgorithm::PfoAssociation::PfoAssociation | ( | const pandora::Pfo *const | pVertexPfo, |
const pandora::Pfo *const | pDaughterPfo, | ||
const ClusterAssociation & | clusterAssociationU, | ||
const ClusterAssociation & | clusterAssociationV, | ||
const ClusterAssociation & | clusterAssociationW | ||
) |
Constructor.
pVertexPfo | the address of the vertex pfo |
pDaughterPfo | the address of the daughter candidate pfo |
clusterAssociationU | the cluster association in the u view |
clusterAssociationV | the cluster association in the v view |
clusterAssociationW | the cluster association in the w view |
Definition at line 320 of file VertexBasedPfoMopUpAlgorithm.cc.
|
inline |
Get the cluster association in the u view.
Definition at line 414 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by GetMaxBoundedFraction(), GetMeanBoundedFraction(), GetMinBoundedFraction(), and GetNConsistentDirections().
|
inline |
Get the cluster association in the v view.
Definition at line 421 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by GetMaxBoundedFraction(), GetMeanBoundedFraction(), GetMinBoundedFraction(), and GetNConsistentDirections().
|
inline |
Get the cluster association in the w view.
Definition at line 428 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by GetMaxBoundedFraction(), GetMeanBoundedFraction(), GetMinBoundedFraction(), and GetNConsistentDirections().
|
inline |
Get the address of the non-vertex-associated candidate daughter pfo.
Definition at line 407 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by lar_content::VertexBasedPfoMopUpAlgorithm::MergePfos().
float lar_content::VertexBasedPfoMopUpAlgorithm::PfoAssociation::GetMaxBoundedFraction | ( | ) | const |
Get the maximum bounded fraction from the u, v and w views.
Definition at line 341 of file VertexBasedPfoMopUpAlgorithm.cc.
References GetClusterAssociationU(), GetClusterAssociationV(), and GetClusterAssociationW().
float lar_content::VertexBasedPfoMopUpAlgorithm::PfoAssociation::GetMeanBoundedFraction | ( | ) | const |
Get the mean bounded fraction, averaging over the u, v and w views.
Definition at line 332 of file VertexBasedPfoMopUpAlgorithm.cc.
References f, GetClusterAssociationU(), GetClusterAssociationV(), and GetClusterAssociationW().
Referenced by operator<().
float lar_content::VertexBasedPfoMopUpAlgorithm::PfoAssociation::GetMinBoundedFraction | ( | ) | const |
Get the minimum bounded fraction from the u, v and w views.
Definition at line 349 of file VertexBasedPfoMopUpAlgorithm.cc.
References GetClusterAssociationU(), GetClusterAssociationV(), and GetClusterAssociationW().
unsigned int lar_content::VertexBasedPfoMopUpAlgorithm::PfoAssociation::GetNConsistentDirections | ( | ) | const |
Get the number of views for which the vertex and daughter cluster directions are consistent.
Definition at line 357 of file VertexBasedPfoMopUpAlgorithm.cc.
References GetClusterAssociationU(), GetClusterAssociationV(), and GetClusterAssociationW().
|
inline |
Get the address of the vertex-associated pfo.
Definition at line 400 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by lar_content::VertexBasedPfoMopUpAlgorithm::MergePfos().
bool lar_content::VertexBasedPfoMopUpAlgorithm::PfoAssociation::operator< | ( | const PfoAssociation & | rhs | ) | const |
operator<
rhs | the pfo association object for comparison |
Definition at line 375 of file VertexBasedPfoMopUpAlgorithm.cc.
References GetMeanBoundedFraction(), m_pDaughterPfo, m_pVertexPfo, and lar_content::LArPfoHelper::SortByNHits().
|
private |
The cluster association in the u view.
Definition at line 181 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The cluster association in the v view.
Definition at line 182 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The cluster association in the w view.
Definition at line 183 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The address of the non-vertex-associated candidate daughter pfo.
Definition at line 179 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by operator<().
|
private |
The address of the vertex-associated pfo.
Definition at line 178 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by operator<().