LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
DeltaRayGrowingAlgorithm class. More...
#include "DeltaRayGrowingAlgorithm.h"
Public Member Functions | |
DeltaRayGrowingAlgorithm () | |
Default constructor. More... | |
Protected Types | |
typedef std::unordered_map< const pandora::Cluster *, pandora::ClusterList > | ClusterMergeMap |
Protected Member Functions | |
virtual pandora::StatusCode | Run () |
Private Member Functions | |
void | GetListOfCleanClusters (const pandora::ClusterList *const pClusterList, pandora::ClusterVector &cleanClusters) const |
Populate cluster vector with the subset of clusters judged to be clean. More... | |
void | GetListOfSeedClusters (const pandora::ClusterVector &inputClusters, pandora::ClusterVector &seedClusters) const |
Select seed clusters for growing. More... | |
void | GetPfos (const std::string inputPfoListName, pandora::PfoVector &pfoVector) const |
Get a vector of Pfos from an input Pfo list name. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
std::string | m_parentPfoListName |
The parent Pfo list name. More... | |
std::string | m_daughterPfoListName |
The daughter Pfo list name. More... | |
unsigned int | m_minCaloHitsPerCluster |
The minimum number of calo hits per candidate cluster. More... | |
unsigned int | m_minSeedClusterCaloHits |
The minimum number of calo hits for seed clusters. More... | |
float | m_maxSeedClusterLength |
The maximum length of a parent clusters. More... | |
float | m_maxSeedClusterDisplacement |
The maximum distance between parent and daughter clusters. More... | |
DeltaRayGrowingAlgorithm class.
Definition at line 21 of file DeltaRayGrowingAlgorithm.h.
|
protectedinherited |
Definition at line 33 of file ClusterGrowingAlgorithm.h.
lar_content::DeltaRayGrowingAlgorithm::DeltaRayGrowingAlgorithm | ( | ) |
Default constructor.
Definition at line 21 of file DeltaRayGrowingAlgorithm.cc.
|
privatevirtual |
Populate cluster vector with the subset of clusters judged to be clean.
pClusterList | address of the cluster list |
cleanClusters | the output vector of clean clusters |
Implements lar_content::ClusterGrowingAlgorithm.
Definition at line 31 of file DeltaRayGrowingAlgorithm.cc.
References m_minCaloHitsPerCluster, and lar_content::LArClusterHelper::SortByNHits().
|
privatevirtual |
Select seed clusters for growing.
cleanClusters | the input vector of clean clusters |
seedClusters | the output vector of seed clusters |
Implements lar_content::ClusterGrowingAlgorithm.
Definition at line 46 of file DeltaRayGrowingAlgorithm.cc.
References lar_content::LArClusterHelper::GetClosestDistance(), lar_content::LArClusterHelper::GetClusterHitType(), lar_content::LArPfoHelper::GetClusters(), lar_content::LArClusterHelper::GetLengthSquared(), GetPfos(), m_daughterPfoListName, m_maxSeedClusterDisplacement, m_maxSeedClusterLength, m_minSeedClusterCaloHits, m_parentPfoListName, max, and lar_content::LArClusterHelper::SortByNHits().
|
private |
Get a vector of Pfos from an input Pfo list name.
inputPfoListName | the input Pfo list name |
pfoVector | the output vector of Pfos |
Definition at line 103 of file DeltaRayGrowingAlgorithm.cc.
References lar_content::LArPfoHelper::SortByNHits().
Referenced by GetListOfSeedClusters().
|
privatevirtual |
Reimplemented from lar_content::ClusterGrowingAlgorithm.
Definition at line 119 of file DeltaRayGrowingAlgorithm.cc.
References m_daughterPfoListName, m_maxSeedClusterDisplacement, m_maxSeedClusterLength, m_minCaloHitsPerCluster, m_minSeedClusterCaloHits, m_parentPfoListName, and lar_content::ClusterGrowingAlgorithm::ReadSettings().
|
protectedvirtualinherited |
Definition at line 27 of file ClusterGrowingAlgorithm.cc.
References lar_content::ClusterGrowingAlgorithm::GetListOfCleanClusters(), lar_content::ClusterGrowingAlgorithm::GetListOfNonSeedClusters(), lar_content::ClusterGrowingAlgorithm::GetListOfSeedClusters(), lar_content::ClusterGrowingAlgorithm::m_inputClusterListName, lar_content::ClusterGrowingAlgorithm::MergeClusters(), and lar_content::ClusterGrowingAlgorithm::PopulateClusterMergeMap().
|
private |
The daughter Pfo list name.
Definition at line 44 of file DeltaRayGrowingAlgorithm.h.
Referenced by GetListOfSeedClusters(), and ReadSettings().
|
private |
The maximum distance between parent and daughter clusters.
Definition at line 49 of file DeltaRayGrowingAlgorithm.h.
Referenced by GetListOfSeedClusters(), and ReadSettings().
|
private |
The maximum length of a parent clusters.
Definition at line 48 of file DeltaRayGrowingAlgorithm.h.
Referenced by GetListOfSeedClusters(), and ReadSettings().
|
private |
The minimum number of calo hits per candidate cluster.
Definition at line 46 of file DeltaRayGrowingAlgorithm.h.
Referenced by GetListOfCleanClusters(), and ReadSettings().
|
private |
The minimum number of calo hits for seed clusters.
Definition at line 47 of file DeltaRayGrowingAlgorithm.h.
Referenced by GetListOfSeedClusters(), and ReadSettings().
|
private |
The parent Pfo list name.
Definition at line 43 of file DeltaRayGrowingAlgorithm.h.
Referenced by GetListOfSeedClusters(), and ReadSettings().