LArSoft  v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
ThreeDReclusteringFigureOfMeritBaseTool.h
Go to the documentation of this file.
1 
9 #ifndef LAR_THREE_D_RECLUSTERING_FIGURE_OF_MERIT_BASE_TOOL_H
10 #define LAR_THREE_D_RECLUSTERING_FIGURE_OF_MERIT_BASE_TOOL_H 1
11 
12 #include "Pandora/AlgorithmTool.h"
13 #include "Pandora/PandoraInternal.h"
14 
15 namespace lar_content
16 {
17 
21 class ThreeDReclusteringFigureOfMeritBaseTool : public pandora::AlgorithmTool
22 {
23 public:
30  virtual pandora::StatusCode GetPfosToRecluster(const pandora::PfoList *pPfos, pandora::PfoList &pfosToRecluster) = 0;
31 
38  virtual pandora::StatusCode CalcClusteringFom(const pandora::ClusterList &clusters, float &fom) = 0;
39 };
40 
41 } // namespace lar_content
42 
43 #endif // #ifndef LAR_THREE_D_RECLUSTERING_FIGURE_OF_MERIT_BASE_TOOL_H
virtual pandora::StatusCode CalcClusteringFom(const pandora::ClusterList &clusters, float &fom)=0
Calculate a measure of the goodness of a clustering.
virtual pandora::StatusCode GetPfosToRecluster(const pandora::PfoList *pPfos, pandora::PfoList &pfosToRecluster)=0
Identify pfos for which an attempt at 3D reclustering should be made.