Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
MopUpRemnantsTool.h
Go to the documentation of this file.
1
8#ifndef MOP_UP_REMNANTS_TOOL_H
9#define MOP_UP_REMNANTS_TOOL_H 1
10
12
13namespace lar_content
14{
15
20{
21public:
26
27 bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor);
28
29private:
31
39 void FindBestShowers(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const;
40
47 void GetUsedClusters(const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters) const;
48
56 void SelectBestElement(const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters,
57 TensorType::ElementList::const_iterator &bestIter) const;
58};
59
60} // namespace lar_content
61
62#endif // #ifndef MOP_UP_REMNANTS_TOOL_H
Header file for the three view remnants algorithm class.
MopUpRemnantsTool class.
void SelectBestElement(const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters, TensorType::ElementList::const_iterator &bestIter) const
Select the best triplet of clusters.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
MopUpRemnantsTool()
Default constructor.
void FindBestShowers(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Identify candidate particles.
bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
void GetUsedClusters(const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters) const
Copy used clusters into cluster list.
ThreeViewRemnantsAlgorithm::MatchingType::TensorType TensorType
std::vector< ProtoParticle > ProtoParticleVector
std::unordered_set< const Cluster * > ClusterSet
StatusCode
The StatusCode enum.