SimpleClusterCreationAlgorithm class. More...
#include <SimpleClusterCreationAlgorithm.h>
Public Member Functions | |
SimpleClusterCreationAlgorithm () | |
Default constructor. More... | |
Private Types | |
typedef std::unordered_map< const pandora::CaloHit *, pandora::CaloHitList > | HitAssociationMap |
Private Member Functions | |
pandora::StatusCode | Run () |
void | SelectCaloHits (const pandora::CaloHitList *const pInputList, pandora::CaloHitList &outputList) const |
Select calo hits for clustering. More... | |
void | BuildAssociationMap (const pandora::CaloHitList &caloHitList, HitAssociationMap &hitAssociationMap) const |
Create map of associations between calo hits. More... | |
void | CreateClusters (const pandora::CaloHitList &caloHitList, const HitAssociationMap &hitAssociationMap) const |
Create clusters from selected calo hits and their associations. More... | |
void | CollectAssociatedHits (const pandora::CaloHit *const pSeedCaloHit, const pandora::CaloHit *const pCurrentCaloHit, const HitAssociationMap &hitAssociationMap, const pandora::CaloHitSet &vetoList, pandora::CaloHitList &mergeList) const |
For a given seed calo hits, collect up all the associated calo hits. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_clusteringWindowSquared |
Maximum distance (squared) for two hits to be joined. More... | |
SimpleClusterCreationAlgorithm class.
Definition at line 21 of file SimpleClusterCreationAlgorithm.h.
|
private |
Definition at line 32 of file SimpleClusterCreationAlgorithm.h.
lar_content::SimpleClusterCreationAlgorithm::SimpleClusterCreationAlgorithm | ( | ) |
Default constructor.
Definition at line 20 of file SimpleClusterCreationAlgorithm.cc.
|
private |
Create map of associations between calo hits.
caloHitList | The input list of calo hits |
hitAssociationMap | The map of associations between calo hits |
Definition at line 61 of file SimpleClusterCreationAlgorithm.cc.
|
private |
For a given seed calo hits, collect up all the associated calo hits.
pSeedCaloHit | the seed calo hits |
pCurrentCaloHit | a possible associated calo hit |
hitAssociationMap | the map of associations between hits |
vetoList | the list of used calo hits |
mergeList | the list of hits associated with the seed hit |
Definition at line 118 of file SimpleClusterCreationAlgorithm.cc.
|
private |
Create clusters from selected calo hits and their associations.
caloHitList | The input list of calo hits |
hitAssociationMap | The map of associations between calo hits |
Definition at line 88 of file SimpleClusterCreationAlgorithm.cc.
|
private |
Definition at line 146 of file SimpleClusterCreationAlgorithm.cc.
|
private |
Definition at line 26 of file SimpleClusterCreationAlgorithm.cc.
|
private |
Select calo hits for clustering.
pInputList | The input list of calo hits |
outputList | The output list of selected calo hits |
Definition at line 50 of file SimpleClusterCreationAlgorithm.cc.
|
private |
Maximum distance (squared) for two hits to be joined.
Definition at line 72 of file SimpleClusterCreationAlgorithm.h.