8 #ifndef CONNECTED_REMNANTS_TOOL_H
9 #define CONNECTED_REMNANTS_TOOL_H 1
30 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
73 #endif // #ifndef CONNECTED_REMNANTS_TOOL_H
std::vector< ProtoParticle > ProtoParticleVector
void FindConnectedShowers(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector, ClusterMergeMap &clusterMergeMap) const
Identify candidate particles.
ConnectedRemnantsTool class.
float m_maxClusterSeparation
void FillMergeMap(const pandora::Cluster *const pCluster, const pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMap) const
Fill map of clusters to be merged.
std::vector< Element > ElementList
void GetClusters(const TensorType::ElementList &connectedElements, const pandora::ClusterSet &usedClusters, pandora::ClusterVector &clusterVectorU, pandora::ClusterVector &clusterVectorV, pandora::ClusterVector &clusterVectorW) const
Separate connected clusters into cluster lists by view.
bool IsConnected(const pandora::ClusterVector &clusterVector) const
Check whether all clusters in a list are spatially connected.
bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
ConnectedRemnantsTool()
Default constructor.
std::unordered_map< const pandora::Cluster *, pandora::ClusterList > ClusterMergeMap
std::vector< art::Ptr< recob::Cluster > > ClusterVector
ThreeViewRemnantsAlgorithm class.
Header file for the three view remnants algorithm class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)