GlobalAsymmetryFeatureTool class. More...
#include <GlobalAsymmetryFeatureTool.h>
Public Member Functions | |
GlobalAsymmetryFeatureTool () | |
Default constructor. More... | |
Public Member Functions inherited from lar_content::AsymmetryFeatureBaseTool | |
AsymmetryFeatureBaseTool () | |
Default constructor. More... | |
void | Run (LArMvaHelper::MvaFeatureVector &featureVector, const VertexSelectionBaseAlgorithm *const pAlgorithm, const pandora::Vertex *const pVertex, const VertexSelectionBaseAlgorithm::SlidingFitDataListMap &slidingFitDataListMap, const VertexSelectionBaseAlgorithm::ClusterListMap &, const VertexSelectionBaseAlgorithm::KDTreeMap &, const VertexSelectionBaseAlgorithm::ShowerClusterListMap &showerClusterListMap, const float, float &) |
Run the tool. More... | |
Public Member Functions inherited from lar_content::MvaFeatureTool< Ts > | |
MvaFeatureTool ()=default | |
Default constructor. More... | |
virtual void | Run (MvaTypes::MvaFeatureVector &featureVector, Ts...args)=0 |
Run the algorithm tool. More... | |
Protected Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) override |
Protected Member Functions inherited from lar_content::AsymmetryFeatureBaseTool | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | IncrementAsymmetryParameters (const float weight, const pandora::CartesianVector &clusterDirection, pandora::CartesianVector &localWeightedDirectionSum) const |
Increment the asymmetry parameters. More... | |
virtual float | CalculateAsymmetry (const bool useEnergyMetrics, const pandora::CartesianVector &vertexPosition2D, const pandora::ClusterVector &asymmetryClusters, const pandora::CartesianVector &localWeightedDirectionSum) const |
Calculate the asymmetry feature. More... | |
Private Member Functions | |
float | GetAsymmetryForView (const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::SlidingFitDataList &slidingFitDataList, const VertexSelectionBaseAlgorithm::ShowerClusterList &) const override |
Get the global asymmetry feature for a given view. More... | |
Additional Inherited Members | |
Public Types inherited from lar_content::MvaFeatureTool< Ts > | |
typedef std::vector< MvaFeatureTool< Ts... > * > | FeatureToolVector |
Protected Attributes inherited from lar_content::AsymmetryFeatureBaseTool | |
float | m_maxAsymmetryDistance |
The max distance between cluster (any hit) and vertex to calculate asymmetry score. More... | |
GlobalAsymmetryFeatureTool class.
Definition at line 19 of file GlobalAsymmetryFeatureTool.h.
lar_content::GlobalAsymmetryFeatureTool::GlobalAsymmetryFeatureTool | ( | ) |
Default constructor.
Definition at line 19 of file GlobalAsymmetryFeatureTool.cc.
|
overrideprivatevirtual |
Get the global asymmetry feature for a given view.
vertexPosition2D | the vertex position projected into this view |
slidingFitDataList | the list of sliding fit data objects for this view |
Implements lar_content::AsymmetryFeatureBaseTool.
Definition at line 25 of file GlobalAsymmetryFeatureTool.cc.
|
overrideprotected |
Definition at line 62 of file GlobalAsymmetryFeatureTool.cc.