LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ShowerAsymmetryFeatureTool.h
Go to the documentation of this file.
1 
8 #ifndef LAR_SHOWER_ASYMMETRY_FEATURE_TOOL_H
9 #define LAR_SHOWER_ASYMMETRY_FEATURE_TOOL_H 1
10 
12 
14 
15 namespace lar_content
16 {
17 
22 {
23 public:
28 
29 private:
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle) override;
31 
40  float GetAsymmetryForView(const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::SlidingFitDataList &,
41  const VertexSelectionBaseAlgorithm::ShowerClusterList &showerClusterList) const override;
42 
51  bool ShouldUseShowerCluster(const pandora::CartesianVector &vertexPosition, const VertexSelectionBaseAlgorithm::ShowerCluster &showerCluster) const;
52 
54 };
55 
56 } // namespace lar_content
57 
58 #endif // #ifndef LAR_SHOWER_ASYMMETRY_FEATURE_TOOL_H
float m_vertexClusterDistance
The distance around the vertex to look for shower clusters.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle) override
Header file for the lar two dimensional sliding fit result class.
Header file for the global asymmetry feature tool class.
AsymmetryFeatureBaseTool class.
float GetAsymmetryForView(const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::SlidingFitDataList &, const VertexSelectionBaseAlgorithm::ShowerClusterList &showerClusterList) const override
Get the shower asymmetry feature for a given view.
bool ShouldUseShowerCluster(const pandora::CartesianVector &vertexPosition, const VertexSelectionBaseAlgorithm::ShowerCluster &showerCluster) const
Get whether we should use a given shower cluster for asymmetry calculation.