LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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(ThreeDRemnantsAlgorithm *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.
bool Run(ThreeDRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
void FindBestShowers(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Identify candidate particles.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::vector< Element > ElementList
Header file for the three dimensional remnants algorithm class.
void SelectBestElement(const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters, TensorType::ElementList::const_iterator &bestIter) const
Select the best triplet of clusters.
MopUpRemnantsTool class.
ThreeDRemnantsAlgorithm class.
MopUpRemnantsTool()
Default constructor.
TheTensor::const_iterator const_iterator