![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
RandomFigureOfMeritTool class. More...
#include "RandomFigureOfMeritTool.h"
Public Member Functions | |
RandomFigureOfMeritTool () | |
Default constructor. More... | |
~RandomFigureOfMeritTool ()=default | |
Default destructor. More... | |
pandora::StatusCode | GetPfosToRecluster (const pandora::PfoList *pPfos, pandora::PfoList &pfosToRecluster) |
Identify pfos for which an attempt at 3D reclustering should be made. More... | |
pandora::StatusCode | CalcClusteringFom (const pandora::ClusterList &clusters, float &fom) |
Calculate a measure of the goodness of a clustering. More... | |
Private Member Functions | |
float | GetRandomFom () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_maxFomToRecluster |
threshold figure of merit for reclustering a pfo More... | |
RandomFigureOfMeritTool class.
Definition at line 20 of file RandomFigureOfMeritTool.h.
lar_content::RandomFigureOfMeritTool::RandomFigureOfMeritTool | ( | ) |
Default constructor.
Definition at line 18 of file RandomFigureOfMeritTool.cc.
|
default |
Default destructor.
|
virtual |
Calculate a measure of the goodness of a clustering.
clusters | input list of clusters |
fom | output value of the clustering goodness, the figure of merit |
Implements lar_content::ThreeDReclusteringFigureOfMeritBaseTool.
Definition at line 43 of file RandomFigureOfMeritTool.cc.
References GetRandomFom().
|
virtual |
Identify pfos for which an attempt at 3D reclustering should be made.
pPfos | input list of all pfos |
pfosToRecluster | output list of pfos that should be reclustered |
Implements lar_content::ThreeDReclusteringFigureOfMeritBaseTool.
Definition at line 25 of file RandomFigureOfMeritTool.cc.
References GetRandomFom(), and m_maxFomToRecluster.
|
inlineprivate |
Definition at line 47 of file RandomFigureOfMeritTool.h.
Referenced by CalcClusteringFom(), and GetPfosToRecluster().
|
private |
Definition at line 52 of file RandomFigureOfMeritTool.cc.
References m_maxFomToRecluster.
|
private |
threshold figure of merit for reclustering a pfo
Definition at line 42 of file RandomFigureOfMeritTool.h.
Referenced by GetPfosToRecluster(), and ReadSettings().