![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
HierarchyPfo class. More...
#include "LArHierarchyPfo.h"
Public Member Functions | |
HierarchyPfo () | |
Default constructor. More... | |
HierarchyPfo (const pandora::ParticleFlowObject *pPfo, const ThreeDSlidingFitResult &threeDSlidingFitResult, const ExtremalPoint &upstreamPoint, const ExtremalPoint &downstreamPoint) | |
Constructor. More... | |
const pandora::ParticleFlowObject * | GetPfo () const |
Get the pfo. More... | |
void | SetPfo (const pandora::ParticleFlowObject *pPfo) |
Set the pfo. More... | |
const ThreeDSlidingFitResult & | GetSlidingFitResult () const |
Get the pfo's 3D sliding fit result. More... | |
const pandora::ParticleFlowObject * | GetPredictedParentPfo () const |
Get the best matched parent pfo. More... | |
void | SetPredictedParentPfo (const pandora::ParticleFlowObject *pPredictedParentPfo) |
Set the best matched parent pfo. More... | |
const pandora::ParticleFlowObject * | GetParentPfo () const |
Get the parent pfo. More... | |
void | SetParentPfo (const pandora::ParticleFlowObject *pParentPfo) |
Set the parent pfo. More... | |
const pandora::PfoVector & | GetChildPfoVector () const |
Get the vector of child pfos. More... | |
void | AddChildPfo (const pandora::ParticleFlowObject *const pChildPfo) |
Add a child pfo to the child pfo vector. More... | |
const ExtremalPoint & | GetUpstreamPoint () const |
Get the upstream extremal point. More... | |
void | SetUpstreamPoint (const ExtremalPoint &upstreamPoint) |
Set the upstream extremal point. More... | |
const ExtremalPoint & | GetDownstreamPoint () const |
Get the downstream extremal point. More... | |
void | SetDownstreamPoint (const ExtremalPoint &downstreamPoint) |
Set the downstream extremal point. More... | |
float | GetPrimaryScore () const |
Get the primary network score. More... | |
void | SetPrimaryScore (const float primaryScore) |
Set the primary network score. More... | |
float | GetLaterTierScore () const |
Get the later tier network score. More... | |
void | SetLaterTierScore (const float laterTierScore) |
Set the later tier network score. More... | |
bool | GetIsInHierarchy () const |
Get whether the pfo has been assigned to a particle hierarchy. More... | |
void | SetIsInHierarchy (const bool isInHierarchy) |
Set whether the pfo has been assigned to a particle hierarchy. More... | |
bool | operator== (const HierarchyPfo &rhs) const |
HierarchyPfo == operator. More... | |
bool | operator== (const pandora::ParticleFlowObject *const rhs) const |
HierarchyPfo == operator. More... | |
Private Attributes | |
const pandora::ParticleFlowObject * | m_pPfo |
a pointer to the corresponding pfo More... | |
ThreeDSlidingFitResult | m_slidingFitResult |
the 3D sliding fit result of the pfo More... | |
const pandora::ParticleFlowObject * | m_pPredictedParentPfo |
a pointer to the best matched parent pfo More... | |
const pandora::ParticleFlowObject * | m_pParentPfo |
a pointer to the assigned parent pfo More... | |
pandora::PfoVector | m_childPfoVector |
the vector of pointers to the assigned child pfos More... | |
ExtremalPoint | m_upstreamPoint |
The extremal point that lies closest to the neutrino vertex. More... | |
ExtremalPoint | m_downstreamPoint |
The extremal point that lies furthest from the neutrino vertex. More... | |
float | m_primaryScore |
the primary network score More... | |
float | m_laterTierScore |
the later tier network score More... | |
bool | m_isInHierarchy |
whether the pfo has been assigned to a particle hierarchy More... | |
HierarchyPfo class.
Definition at line 82 of file LArHierarchyPfo.h.
lar_dl_content::HierarchyPfo::HierarchyPfo | ( | ) |
Default constructor.
|
inline |
Constructor.
pPfo | pointer to the input pfo |
threeDSlidingFitResult | 3D sliding fit of the input pfo |
upstreamPoint | the extremal point closest to the neutrino vertex |
downstreamPoint | the extremal point furthest from the neutrino vertex |
Definition at line 324 of file LArHierarchyPfo.h.
|
inline |
Add a child pfo to the child pfo vector.
pChildPfo | the pointer to the child pfo to add |
Definition at line 397 of file LArHierarchyPfo.h.
References m_childPfoVector.
|
inline |
Get the vector of child pfos.
Definition at line 390 of file LArHierarchyPfo.h.
References m_childPfoVector.
Referenced by lar_dl_content::DLNeutrinoHierarchyAlgorithm::BuildPandoraHierarchy().
|
inline |
Get the downstream extremal point.
Definition at line 418 of file LArHierarchyPfo.h.
References m_downstreamPoint.
Referenced by lar_dl_content::DLNeutrinoHierarchyAlgorithm::BuildPandoraHierarchy(), lar_dl_content::DLPrimaryHierarchyTool::CalculateNetworkVariables(), lar_dl_content::DLLaterTierHierarchyTool::CalculateNetworkVariables(), lar_dl_content::DLLaterTierHierarchyTool::IsShowerVertexUpstream(), and lar_dl_content::DLCheatHierarchyTool::Run().
|
inline |
Get whether the pfo has been assigned to a particle hierarchy.
Definition at line 460 of file LArHierarchyPfo.h.
References m_isInHierarchy.
Referenced by lar_dl_content::DLNeutrinoHierarchyAlgorithm::BuildPandoraHierarchy().
|
inline |
Get the later tier network score.
Definition at line 446 of file LArHierarchyPfo.h.
References m_laterTierScore.
|
inline |
Get the parent pfo.
Definition at line 376 of file LArHierarchyPfo.h.
References m_pParentPfo.
Referenced by lar_dl_content::DLNeutrinoHierarchyAlgorithm::BuildPandoraHierarchy().
|
inline |
Get the pfo.
Definition at line 341 of file LArHierarchyPfo.h.
References m_pPfo.
Referenced by lar_dl_content::DLPrimaryHierarchyTool::CalculateNetworkVariables(), lar_dl_content::DLLaterTierHierarchyTool::CalculateNetworkVariables(), lar_dl_content::DLLaterTierHierarchyTool::IsShowerVertexUpstream(), operator==(), lar_dl_content::DLCheatHierarchyTool::Run(), lar_dl_content::DLLaterTierHierarchyTool::Run(), lar_dl_content::DLPrimaryHierarchyTool::Run(), and lar_dl_content::DLLaterTierHierarchyTool::SetParentConnectionPointVars().
|
inline |
Get the best matched parent pfo.
Definition at line 362 of file LArHierarchyPfo.h.
References m_pPredictedParentPfo.
|
inline |
Get the primary network score.
Definition at line 432 of file LArHierarchyPfo.h.
References m_primaryScore.
|
inline |
Get the pfo's 3D sliding fit result.
Definition at line 355 of file LArHierarchyPfo.h.
References m_slidingFitResult.
Referenced by lar_dl_content::DLLaterTierHierarchyTool::SetConnectionParams().
|
inline |
Get the upstream extremal point.
Definition at line 404 of file LArHierarchyPfo.h.
References m_upstreamPoint.
Referenced by lar_dl_content::DLNeutrinoHierarchyAlgorithm::BuildPandoraHierarchy(), lar_dl_content::DLPrimaryHierarchyTool::CalculateNetworkVariables(), lar_dl_content::DLLaterTierHierarchyTool::CalculateNetworkVariables(), lar_dl_content::DLLaterTierHierarchyTool::IsShowerVertexUpstream(), and lar_dl_content::DLCheatHierarchyTool::Run().
|
inline |
HierarchyPfo == operator.
rhs | the HierarchyPfo to compare |
Definition at line 474 of file LArHierarchyPfo.h.
References GetPfo().
|
inline |
HierarchyPfo == operator.
rhs | the pfo to compare |
Definition at line 481 of file LArHierarchyPfo.h.
References GetPfo().
|
inline |
Set the downstream extremal point.
downstreamPoint | the downstream extremal point |
Definition at line 425 of file LArHierarchyPfo.h.
References m_downstreamPoint.
|
inline |
Set whether the pfo has been assigned to a particle hierarchy.
isInHierarchy | whether the pfo has been assigned to a particle hierarchy |
Definition at line 467 of file LArHierarchyPfo.h.
References m_isInHierarchy.
|
inline |
Set the later tier network score.
the | later tier network score |
Definition at line 453 of file LArHierarchyPfo.h.
References m_laterTierScore.
|
inline |
Set the parent pfo.
pParentPfo | a pointer to the parent pfo |
Definition at line 383 of file LArHierarchyPfo.h.
References m_pParentPfo.
|
inline |
Set the pfo.
pPfo | a pointer to the pfo |
Definition at line 348 of file LArHierarchyPfo.h.
References m_pPfo.
|
inline |
Set the best matched parent pfo.
pPredictedParentPfo | a pointer to the best matched parent pfo |
Definition at line 369 of file LArHierarchyPfo.h.
References m_pPredictedParentPfo.
|
inline |
Set the primary network score.
the | primary network score |
Definition at line 439 of file LArHierarchyPfo.h.
References m_primaryScore.
|
inline |
Set the upstream extremal point.
upstreamPoint | the upstream extremal point |
Definition at line 411 of file LArHierarchyPfo.h.
References m_upstreamPoint.
|
private |
the vector of pointers to the assigned child pfos
Definition at line 253 of file LArHierarchyPfo.h.
Referenced by AddChildPfo(), and GetChildPfoVector().
|
private |
The extremal point that lies furthest from the neutrino vertex.
Definition at line 255 of file LArHierarchyPfo.h.
Referenced by GetDownstreamPoint(), and SetDownstreamPoint().
|
private |
whether the pfo has been assigned to a particle hierarchy
Definition at line 258 of file LArHierarchyPfo.h.
Referenced by GetIsInHierarchy(), and SetIsInHierarchy().
|
private |
the later tier network score
Definition at line 257 of file LArHierarchyPfo.h.
Referenced by GetLaterTierScore(), and SetLaterTierScore().
|
private |
a pointer to the assigned parent pfo
Definition at line 252 of file LArHierarchyPfo.h.
Referenced by GetParentPfo(), and SetParentPfo().
|
private |
a pointer to the corresponding pfo
Definition at line 249 of file LArHierarchyPfo.h.
|
private |
a pointer to the best matched parent pfo
Definition at line 251 of file LArHierarchyPfo.h.
Referenced by GetPredictedParentPfo(), and SetPredictedParentPfo().
|
private |
the primary network score
Definition at line 256 of file LArHierarchyPfo.h.
Referenced by GetPrimaryScore(), and SetPrimaryScore().
|
private |
the 3D sliding fit result of the pfo
Definition at line 250 of file LArHierarchyPfo.h.
Referenced by GetSlidingFitResult().
|
private |
The extremal point that lies closest to the neutrino vertex.
Definition at line 254 of file LArHierarchyPfo.h.
Referenced by GetUpstreamPoint(), and SetUpstreamPoint().