LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 
13 namespace lar_content
14 {
15 
20 {
21 public:
26 
27  bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor);
28 
29 private:
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
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,
58 };
59 
60 } // namespace lar_content
61 
62 #endif // #ifndef MOP_UP_REMNANTS_TOOL_H
std::vector< ProtoParticle > ProtoParticleVector
void GetUsedClusters(const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters) const
Copy used clusters into cluster list.
void FindBestShowers(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Identify candidate particles.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::vector< Element > ElementList
void SelectBestElement(const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters, TensorType::ElementList::const_iterator &bestIter) const
Select the best triplet of clusters.
MopUpRemnantsTool class.
MopUpRemnantsTool()
Default constructor.
TheTensor::const_iterator const_iterator
Header file for the three view remnants algorithm class.
bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.