8 #ifndef LAR_LOCAL_ASYMMETRY_FEATURE_TOOL_H 9 #define LAR_LOCAL_ASYMMETRY_FEATURE_TOOL_H 1 28 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle)
override;
49 bool CheckAngle(
const pandora::CartesianVector &weightedDirectionSum,
const pandora::CartesianVector &clusterDirection)
const;
57 #endif // #ifndef LAR_LOCAL_ASYMMETRY_FEATURE_TOOL_H float GetAsymmetryForView(const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::SlidingFitDataList &slidingFitDataList, const VertexSelectionBaseAlgorithm::ShowerClusterList &) const override
Get the local asymmetry feature in a given view.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle) override
std::vector< ShowerCluster > ShowerClusterList
bool CheckAngle(const pandora::CartesianVector &weightedDirectionSum, const pandora::CartesianVector &clusterDirection) const
Check whether a cluster's direction agrees with the current weighted direction.
LocalAsymmetryFeatureTool()
Default constructor.
std::vector< SlidingFitData > SlidingFitDataList
LocalAsymmetryFeatureTool class.
AsymmetryFeatureBaseTool class.
float m_minAsymmetryCosAngle
The min opening angle cosine used to determine viability of asymmetry score.
unsigned int m_maxAsymmetryNClusters
The max number of associated clusters to calculate the asymmetry.