LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "NeutrinoHierarchyAlgorithm.h"
Public Member Functions | |
PfoInfo (const pandora::ParticleFlowObject *const pPfo, const unsigned int halfWindowLayers, const float layerPitch) | |
Constructor. More... | |
PfoInfo (const PfoInfo &rhs) | |
Copy constructor. More... | |
PfoInfo & | operator= (const PfoInfo &rhs) |
Assignment operator. More... | |
~PfoInfo () | |
Destructor. More... | |
const pandora::ParticleFlowObject * | GetThisPfo () const |
Get the address of the pfo. More... | |
const pandora::Cluster * | GetCluster3D () const |
Get the address of the three dimensional cluster. More... | |
const ThreeDSlidingFitResult * | GetSlidingFitResult3D () const |
Get the address of the three dimensional sliding fit result. More... | |
bool | IsNeutrinoVertexAssociated () const |
Whether the pfo is associated with the neutrino vertex. More... | |
bool | IsInnerLayerAssociated () const |
If associated, whether association to parent (vtx or pfo) is at sliding fit inner layer. More... | |
const pandora::ParticleFlowObject * | GetParentPfo () const |
Get the address of the parent pfo. More... | |
const pandora::PfoList & | GetDaughterPfoList () const |
Get the daughter pfo list. More... | |
void | SetNeutrinoVertexAssociation (const bool isNeutrinoVertexAssociated) |
Set the neutrino vertex association flag. More... | |
void | SetInnerLayerAssociation (const bool isInnerLayerAssociated) |
Set the inner layer association flag. More... | |
void | SetParentPfo (const pandora::ParticleFlowObject *const pParentPfo) |
Set the parent pfo. More... | |
void | RemoveParentPfo () |
Remove the parent pfo. More... | |
void | AddDaughterPfo (const pandora::ParticleFlowObject *const pDaughterPfo) |
Add a daughter pfo. More... | |
void | RemoveDaughterPfo (const pandora::ParticleFlowObject *const pDaughterPfo) |
Remove a daughter pfo. More... | |
Private Attributes | |
const pandora::ParticleFlowObject * | m_pThisPfo |
The address of the pfo. More... | |
const pandora::Cluster * | m_pCluster3D |
The address of the three dimensional cluster. More... | |
const pandora::Vertex * | m_pVertex3D |
The address of the three dimensional vertex. More... | |
ThreeDSlidingFitResult * | m_pSlidingFitResult3D |
The three dimensional sliding fit result. More... | |
bool | m_isNeutrinoVertexAssociated |
Whether the pfo is associated with the neutrino vertex. More... | |
bool | m_isInnerLayerAssociated |
If associated, whether association to parent (vtx or pfo) is at sliding fit inner layer. More... | |
const pandora::ParticleFlowObject * | m_pParentPfo |
The address of the parent pfo. More... | |
pandora::PfoList | m_daughterPfoList |
The daughter pfo list. More... | |
PfoInfo class.
Definition at line 38 of file NeutrinoHierarchyAlgorithm.h.
lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::PfoInfo | ( | const pandora::ParticleFlowObject *const | pPfo, |
const unsigned int | halfWindowLayers, | ||
const float | layerPitch | ||
) |
Constructor.
pPfo | the address of the pfo |
halfWindowLayers | the number of layers to use for half-window of sliding fit |
layerPitch | the sliding fit z pitch, units cm |
Definition at line 344 of file NeutrinoHierarchyAlgorithm.cc.
References lar_content::ThreeDSlidingFitResult::GetMaxLayer(), lar_content::ThreeDSlidingFitResult::GetMinLayer(), lar_content::LArPfoHelper::GetThreeDClusterList(), m_pCluster3D, and m_pSlidingFitResult3D.
lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::PfoInfo | ( | const PfoInfo & | rhs | ) |
Copy constructor.
rhs | the pfo info to copy |
Definition at line 368 of file NeutrinoHierarchyAlgorithm.cc.
References lar_content::ThreeDSlidingFitResult::GetFirstFitResult(), lar_content::TwoDSlidingFitResult::GetLayerFitHalfWindow(), lar_content::TwoDSlidingFitResult::GetLayerPitch(), m_pCluster3D, and m_pSlidingFitResult3D.
lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::~PfoInfo | ( | ) |
Destructor.
Definition at line 412 of file NeutrinoHierarchyAlgorithm.cc.
References m_pSlidingFitResult3D.
void lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::AddDaughterPfo | ( | const pandora::ParticleFlowObject *const | pDaughterPfo | ) |
Add a daughter pfo.
pDaughterPfo | the address of the daughter pfo to add |
Definition at line 450 of file NeutrinoHierarchyAlgorithm.cc.
References m_daughterPfoList.
|
inline |
Get the address of the three dimensional cluster.
Definition at line 277 of file NeutrinoHierarchyAlgorithm.h.
References m_pCluster3D.
|
inline |
Get the daughter pfo list.
Definition at line 312 of file NeutrinoHierarchyAlgorithm.h.
References m_daughterPfoList.
|
inline |
Get the address of the parent pfo.
Definition at line 305 of file NeutrinoHierarchyAlgorithm.h.
References m_pParentPfo.
|
inline |
Get the address of the three dimensional sliding fit result.
Definition at line 284 of file NeutrinoHierarchyAlgorithm.h.
References m_pSlidingFitResult3D.
|
inline |
Get the address of the pfo.
Definition at line 270 of file NeutrinoHierarchyAlgorithm.h.
References m_pThisPfo.
Referenced by lar_content::NeutrinoHierarchyAlgorithm::DisplayPfoInfoMap().
|
inline |
If associated, whether association to parent (vtx or pfo) is at sliding fit inner layer.
Definition at line 298 of file NeutrinoHierarchyAlgorithm.h.
References m_isInnerLayerAssociated.
|
inline |
Whether the pfo is associated with the neutrino vertex.
Definition at line 291 of file NeutrinoHierarchyAlgorithm.h.
References m_isNeutrinoVertexAssociated.
NeutrinoHierarchyAlgorithm::PfoInfo & lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::operator= | ( | const PfoInfo & | rhs | ) |
Assignment operator.
rhs | the pfo info to assign |
Definition at line 387 of file NeutrinoHierarchyAlgorithm.cc.
References lar_content::ThreeDSlidingFitResult::GetFirstFitResult(), lar_content::TwoDSlidingFitResult::GetLayerFitHalfWindow(), lar_content::TwoDSlidingFitResult::GetLayerPitch(), m_daughterPfoList, m_isInnerLayerAssociated, m_isNeutrinoVertexAssociated, m_pCluster3D, m_pParentPfo, m_pSlidingFitResult3D, m_pThisPfo, and m_pVertex3D.
void lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::RemoveDaughterPfo | ( | const pandora::ParticleFlowObject *const | pDaughterPfo | ) |
Remove a daughter pfo.
pDaughterPfo | the address of the daughter pfo to remove |
Definition at line 460 of file NeutrinoHierarchyAlgorithm.cc.
References m_daughterPfoList.
void lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::RemoveParentPfo | ( | ) |
Remove the parent pfo.
Definition at line 443 of file NeutrinoHierarchyAlgorithm.cc.
References m_pParentPfo.
void lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::SetInnerLayerAssociation | ( | const bool | isInnerLayerAssociated | ) |
Set the inner layer association flag.
isInnerLayerAssociated | the inner layer association flag |
Definition at line 426 of file NeutrinoHierarchyAlgorithm.cc.
References m_isInnerLayerAssociated.
void lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::SetNeutrinoVertexAssociation | ( | const bool | isNeutrinoVertexAssociated | ) |
Set the neutrino vertex association flag.
isNeutrinoVertexAssociated | the neutrino vertex association flag |
Definition at line 419 of file NeutrinoHierarchyAlgorithm.cc.
References m_isNeutrinoVertexAssociated.
void lar_content::NeutrinoHierarchyAlgorithm::PfoInfo::SetParentPfo | ( | const pandora::ParticleFlowObject *const | pParentPfo | ) |
Set the parent pfo.
pParentPfo | the address of the parent pfo |
Definition at line 433 of file NeutrinoHierarchyAlgorithm.cc.
References m_pParentPfo.
|
private |
The daughter pfo list.
Definition at line 167 of file NeutrinoHierarchyAlgorithm.h.
Referenced by AddDaughterPfo(), GetDaughterPfoList(), operator=(), and RemoveDaughterPfo().
|
private |
If associated, whether association to parent (vtx or pfo) is at sliding fit inner layer.
Definition at line 165 of file NeutrinoHierarchyAlgorithm.h.
Referenced by IsInnerLayerAssociated(), operator=(), and SetInnerLayerAssociation().
|
private |
Whether the pfo is associated with the neutrino vertex.
Definition at line 164 of file NeutrinoHierarchyAlgorithm.h.
Referenced by IsNeutrinoVertexAssociated(), operator=(), and SetNeutrinoVertexAssociation().
|
private |
The address of the three dimensional cluster.
Definition at line 160 of file NeutrinoHierarchyAlgorithm.h.
Referenced by GetCluster3D(), operator=(), and PfoInfo().
|
private |
The address of the parent pfo.
Definition at line 166 of file NeutrinoHierarchyAlgorithm.h.
Referenced by GetParentPfo(), operator=(), RemoveParentPfo(), and SetParentPfo().
|
private |
The three dimensional sliding fit result.
Definition at line 162 of file NeutrinoHierarchyAlgorithm.h.
Referenced by GetSlidingFitResult3D(), operator=(), PfoInfo(), and ~PfoInfo().
|
private |
The address of the pfo.
Definition at line 159 of file NeutrinoHierarchyAlgorithm.h.
Referenced by GetThisPfo(), and operator=().
|
private |
The address of the three dimensional vertex.
Definition at line 161 of file NeutrinoHierarchyAlgorithm.h.
Referenced by operator=().