LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
ShowerHierarchyMopUpAlgorithm class. More...
#include "ShowerHierarchyMopUpAlgorithm.h"
Public Member Functions | |
virtual void | MergeAndDeletePfos (const pandora::ParticleFlowObject *const pPfoToEnlarge, const pandora::ParticleFlowObject *const pPfoToDelete) const |
Merge and delete a pair of pfos, with a specific set of conventions for cluster merging, vertex use, etc. More... | |
template<typename T > | |
const std::string | GetListName (const T *const pT) const |
Find the name of the list hosting a specific object. More... | |
Static Public Member Functions | |
static const pandora::Cluster * | GetParentCluster (const pandora::ClusterList &clusterList, const pandora::HitType hitType) |
Select the parent cluster (same hit type and most hits) using a provided cluster list and hit type. More... | |
Protected Attributes | |
pandora::StringVector | m_daughterListNames |
The list of potential daughter object list names. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
void | FindParentShowerPfos (const pandora::PfoList *const pLeadingPfoList, pandora::PfoList &parentShowerPfos) const |
Starting with provided leading pfos, find all shower pfos that themselves have daughter pfos. More... | |
void | FindParentShowerPfos (const pandora::Pfo *const pLeadiPfo, pandora::PfoList &parentShowerPfos) const |
Starting with provided pfo, find all downstream shower pfos that themselves have daughter pfos. More... | |
void | PerformPfoMerges (const pandora::PfoList &parentShowerPfos) const |
For each parent shower pfo, merge all downstream pfos back into the parent shower. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
std::string | m_leadingPfoListName |
The input leading pfo list name (e.g. list of neutrino or testbeam pfos) More... | |
ShowerHierarchyMopUpAlgorithm class.
Definition at line 19 of file ShowerHierarchyMopUpAlgorithm.h.
|
private |
Starting with provided leading pfos, find all shower pfos that themselves have daughter pfos.
pLeadingPfoList | the list of leading pfos |
parentShowerPfos | to receive the list of parent shower pfos |
|
private |
Starting with provided pfo, find all downstream shower pfos that themselves have daughter pfos.
pPfo | the address of a pfo |
parentShowerPfos | to receive the list of parent shower pfos |
|
inherited |
Find the name of the list hosting a specific object.
pT | the address of the object |
Definition at line 19 of file MopUpBaseAlgorithm.cc.
Referenced by lar_content::IsolatedClusterMopUpAlgorithm::DissolveClustersToHits(), lar_content::ClusterMopUpBaseAlgorithm::MakeClusterMerges(), and lar_content::SlidingConeClusterMopUpAlgorithm::MakeClusterMerges().
|
staticinherited |
Select the parent cluster (same hit type and most hits) using a provided cluster list and hit type.
clusterList | the cluster list |
hitType | the hit type |
Definition at line 61 of file PfoMopUpBaseAlgorithm.cc.
Referenced by lar_content::SlidingConeClusterMopUpAlgorithm::MakeClusterMerges(), lar_content::SlidingConeClusterMopUpAlgorithm::ClusterMerge::operator<(), lar_content::SlidingConePfoMopUpAlgorithm::ClusterMerge::operator<(), and lar_content::MasterAlgorithm::StitchPfos().
|
virtualinherited |
Merge and delete a pair of pfos, with a specific set of conventions for cluster merging, vertex use, etc.
pPfoToEnlarge | the address of the pfo to enlarge |
pPfoToDelete | the address of the pfo to delete (will become a dangling pointer) |
Definition at line 20 of file PfoMopUpBaseAlgorithm.cc.
Referenced by lar_content::SlidingConePfoMopUpAlgorithm::MakePfoMerges(), and lar_content::VertexBasedPfoMopUpAlgorithm::MergePfos().
|
private |
For each parent shower pfo, merge all downstream pfos back into the parent shower.
parentShowerPfos | the list of parent shower pfos |
Definition at line 74 of file ShowerHierarchyMopUpAlgorithm.cc.
|
privatevirtual |
Reimplemented from lar_content::PfoMopUpBaseAlgorithm.
Definition at line 91 of file ShowerHierarchyMopUpAlgorithm.cc.
|
private |
Definition at line 20 of file ShowerHierarchyMopUpAlgorithm.cc.
|
protectedinherited |
The list of potential daughter object list names.
Definition at line 35 of file MopUpBaseAlgorithm.h.
Referenced by lar_content::SlidingConeClusterMopUpAlgorithm::GetAvailableTwoDClusters(), lar_content::ClusterMopUpBaseAlgorithm::GetDaughterClusterLists(), lar_content::SlidingConePfoMopUpAlgorithm::ReadSettings(), and lar_content::VertexBasedPfoMopUpAlgorithm::ReadSettings().
|
private |
The input leading pfo list name (e.g. list of neutrino or testbeam pfos)
Definition at line 49 of file ShowerHierarchyMopUpAlgorithm.h.