LocalAsymmetryFeatureTool class. More...
#include <LocalAsymmetryFeatureTool.h>
Public Member Functions | |
| LocalAsymmetryFeatureTool () | |
| 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... | |
| virtual void | Run (MvaTypes::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, Ts...args) |
Private Member Functions | |
| pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) override |
| float | GetAsymmetryForView (const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::SlidingFitDataList &slidingFitDataList, const VertexSelectionBaseAlgorithm::ShowerClusterList &) const override |
| Get the local asymmetry feature in a given view. More... | |
| bool | CheckAngle (const pandora::CartesianVector &weightedDirectionSum, const pandora::CartesianVector &clusterDirection) const |
| Check whether a cluster's direction agrees with the current weighted direction. More... | |
Private Attributes | |
| float | m_minAsymmetryCosAngle |
| The min opening angle cosine used to determine viability of asymmetry score. More... | |
| unsigned int | m_maxAsymmetryNClusters |
| The max number of associated clusters to calculate the asymmetry. More... | |
Additional Inherited Members | |
Public Types inherited from lar_content::MvaFeatureTool< Ts > | |
| typedef std::vector < MvaFeatureTool< Ts...> * > | FeatureToolVector |
| typedef std::map< std::string, MvaFeatureTool< Ts...> * > | FeatureToolMap |
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... | |
Protected Attributes inherited from lar_content::AsymmetryFeatureBaseTool | |
| float | m_maxAsymmetryDistance |
| The max distance between cluster (any hit) and vertex to calculate asymmetry score. More... | |
LocalAsymmetryFeatureTool class.
Definition at line 19 of file LocalAsymmetryFeatureTool.h.
| lar_content::LocalAsymmetryFeatureTool::LocalAsymmetryFeatureTool | ( | ) |
Default constructor.
Definition at line 20 of file LocalAsymmetryFeatureTool.cc.
|
private |
Check whether a cluster's direction agrees with the current weighted direction.
| weightedDirectionSum | the current weighted direction |
| clusterDirection | the cluster's direction |
Definition at line 78 of file LocalAsymmetryFeatureTool.cc.
|
overrideprivatevirtual |
Get the local asymmetry feature in a given view.
| vertexPosition2D | the vertex position projected into this view |
| slidingFitDataList | the list of sliding fit data objects in this view |
Implements lar_content::AsymmetryFeatureBaseTool.
Definition at line 29 of file LocalAsymmetryFeatureTool.cc.
|
overrideprivate |
Definition at line 89 of file LocalAsymmetryFeatureTool.cc.
|
private |
The max number of associated clusters to calculate the asymmetry.
Definition at line 52 of file LocalAsymmetryFeatureTool.h.
|
private |
The min opening angle cosine used to determine viability of asymmetry score.
Definition at line 51 of file LocalAsymmetryFeatureTool.h.
1.8.5