![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
MopUpRemnantsTool class. More...
#include "MopUpRemnantsTool.h"
Public Types | |
| typedef ThreeDRemnantsAlgorithm::TensorType | TensorType |
| typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
| MopUpRemnantsTool () | |
| Default constructor. More... | |
| bool | Run (ThreeDRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor) |
| Run the algorithm tool. More... | |
Private Member Functions | |
| pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| void | FindBestShowers (const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const |
| Identify candidate particles. More... | |
| void | GetUsedClusters (const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters) const |
| Copy used clusters into cluster list. More... | |
| void | SelectBestElement (const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters, TensorType::ElementList::const_iterator &bestIter) const |
| Select the best triplet of clusters. More... | |
MopUpRemnantsTool class.
Definition at line 19 of file MopUpRemnantsTool.h.
|
inherited |
Definition at line 63 of file ThreeDRemnantsAlgorithm.h.
Definition at line 62 of file ThreeDRemnantsAlgorithm.h.
| lar_content::MopUpRemnantsTool::MopUpRemnantsTool | ( | ) |
|
private |
Identify candidate particles.
| overlapTensor | the input overlap tensor |
| protoParticleVector | the output vector of candidate particles |
| clusterMergeMap | the output map of clusters to be merged |
Definition at line 38 of file MopUpRemnantsTool.cc.
References lar_content::OverlapTensor< T >::GetConnectedElements(), lar_content::OverlapTensor< T >::GetSortedKeyClusters(), lar_content::ProtoParticle::m_clusterListU, lar_content::ProtoParticle::m_clusterListV, and lar_content::ProtoParticle::m_clusterListW.
|
private |
Copy used clusters into cluster list.
| elementList | the input list of elements |
| usedClusters | to receive the list of used clusters |
Definition at line 69 of file MopUpRemnantsTool.cc.
|
private |
Definition at line 107 of file MopUpRemnantsTool.cc.
|
virtual |
Run the algorithm tool.
| pAlgorithm | address of the calling algorithm |
| overlapTensor | the overlap tensor |
Implements lar_content::RemnantTensorTool.
Definition at line 24 of file MopUpRemnantsTool.cc.
References lar_content::ThreeDBaseAlgorithm< T >::CreateThreeDParticles().
|
private |
Select the best triplet of clusters.
| elementList | the input list of elements |
| usedClusters | the list of cluster analysed so far |
| bestIter | iterator to the best element in the list |
Definition at line 81 of file MopUpRemnantsTool.cc.
References f.