BoundedClusterMopUpAlgorithm class. More...
#include <BoundedClusterMopUpAlgorithm.h>
Classes | |
class | XSampling |
XSampling class. More... | |
Public Member Functions | |
BoundedClusterMopUpAlgorithm () | |
Default constructor. More... | |
Public Member Functions inherited from lar_content::ClusterMopUpBaseAlgorithm | |
ClusterMopUpBaseAlgorithm () | |
Default constructor. More... | |
Public Member Functions inherited from lar_content::MopUpBaseAlgorithm | |
template<typename T > | |
const std::string | GetListName (const T *const pT) const |
Find the name of the list hosting a specific object. More... | |
Private Member Functions | |
void | ClusterMopUp (const pandora::ClusterList &pfoClusters, const pandora::ClusterList &remnantClusters) const |
Cluster mop up for a single view. This function is responsible for instructing pandora to make cluster alterations. More... | |
void | GetShowerPositionMap (const TwoDSlidingShowerFitResult &fitResult, const XSampling &xSampling, ShowerPositionMap &showerPositionMap) const |
Get the shower position map containing high and low edge z positions in bins of x. More... | |
float | GetBoundedFraction (const pandora::Cluster *const pCluster, const XSampling &xSampling, const ShowerPositionMap &showerPositionMap) const |
Get the fraction of hits in a cluster bounded by a specified shower position map. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
unsigned int | m_slidingFitWindow |
The layer window for the sliding linear fits. More... | |
float | m_showerEdgeMultiplier |
Artificially tune width of shower envelope so as to make it more/less inclusive. More... | |
float | m_minBoundedFraction |
The minimum cluster bounded fraction for merging. More... | |
Additional Inherited Members | |
Protected Types inherited from lar_content::ClusterMopUpBaseAlgorithm | |
typedef std::unordered_map < const pandora::Cluster *, float > | AssociationDetails |
typedef std::unordered_map < const pandora::Cluster *, AssociationDetails > | ClusterAssociationMap |
Protected Member Functions inherited from lar_content::ClusterMopUpBaseAlgorithm | |
virtual pandora::StatusCode | Run () |
virtual void | GetPfoClusterLists (pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the two dimensional clusters contained in the input pfo list, divided into three different views. More... | |
virtual void | GetDaughterClusterLists (pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the two dimensional clusters contained in the input remant/daughter cluster lists, divided into three different views. More... | |
virtual void | GetClusterLists (const pandora::ClusterList &inputClusterList, const bool availabilityFlag, pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the two dimensional clusters contained in an input cluster list, divided into three different views. More... | |
virtual void | MakeClusterMerges (const ClusterAssociationMap &clusterAssociationMap) const |
Make the cluster merges specified in the cluster association map, using list name information in the cluster list name map. More... | |
Protected Attributes inherited from lar_content::ClusterMopUpBaseAlgorithm | |
pandora::StringVector | m_pfoListNames |
The list of pfo list names. More... | |
bool | m_excludePfosContainingTracks |
Whether to exclude any pfos containing clusters flagged as fixed tracks. More... | |
Protected Attributes inherited from lar_content::MopUpBaseAlgorithm | |
pandora::StringVector | m_daughterListNames |
The list of potential daughter object list names. More... | |
BoundedClusterMopUpAlgorithm class.
Definition at line 24 of file BoundedClusterMopUpAlgorithm.h.
lar_content::BoundedClusterMopUpAlgorithm::BoundedClusterMopUpAlgorithm | ( | ) |
Default constructor.
Definition at line 21 of file BoundedClusterMopUpAlgorithm.cc.
|
privatevirtual |
Cluster mop up for a single view. This function is responsible for instructing pandora to make cluster alterations.
pfoClusters | the list of pfo clusters |
remnantClusters | the list of remnant clusters |
Implements lar_content::ClusterMopUpBaseAlgorithm.
Definition at line 30 of file BoundedClusterMopUpAlgorithm.cc.
|
private |
Get the fraction of hits in a cluster bounded by a specified shower position map.
pCluster | address of the cluster |
xSampling | the x sampling details |
showerPositionMap | the shower position map |
Definition at line 107 of file BoundedClusterMopUpAlgorithm.cc.
|
private |
Get the shower position map containing high and low edge z positions in bins of x.
fitResult | the sliding shower fit result |
xSampling | the x sampling details |
showerPositionMap | to receive the shower position map |
Definition at line 79 of file BoundedClusterMopUpAlgorithm.cc.
|
privatevirtual |
Reimplemented from lar_content::ClusterMopUpBaseAlgorithm.
Definition at line 170 of file BoundedClusterMopUpAlgorithm.cc.
|
private |
The minimum cluster bounded fraction for merging.
Definition at line 84 of file BoundedClusterMopUpAlgorithm.h.
|
private |
Artificially tune width of shower envelope so as to make it more/less inclusive.
Definition at line 83 of file BoundedClusterMopUpAlgorithm.h.
|
private |
The layer window for the sliding linear fits.
Definition at line 82 of file BoundedClusterMopUpAlgorithm.h.