EnergyDepositionAsymmetryFeatureTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArVertex/EnergyDepositionAsymmetryFeatureTool.h
3  *
4  * @brief Header file for the energy deposition asymmetry feature tool class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_ENERGY_DEPOSITION_ASYMMETRY_FEATURE_TOOL_H
9 #define LAR_ENERGY_DEPOSITION_ASYMMETRY_FEATURE_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief EnergyDepositionAsymmetryFeatureTool class
18  */
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27 private:
28  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle) override;
29 
30  /**
31  * @brief Calculate the energy deposition asymmetry feature
32  *
33  * @param useEnergyMetrics whether to use energy-based metrics instead of hit-counting-based metrics
34  * @param vertexPosition2D the vertex position in this view
35  * @param slidingFitDataList the list of sliding fit data objects
36  * @param localWeightedDirectionSum the local event axis
37  *
38  * @return the energy deposition asymmetry feature
39  */
40  float CalculateAsymmetry(const bool useEnergyMetrics, const pandora::CartesianVector &vertexPosition2D,
41  const pandora::ClusterVector &clusterVector, const pandora::CartesianVector &localWeightedDirectionSum) const override;
42 };
43 
44 } // namespace lar_content
45 
46 #endif // #ifndef LAR_ENERGY_DEPOSITION_ASYMMETRY_FEATURE_TOOL_H
float CalculateAsymmetry(const bool useEnergyMetrics, const pandora::CartesianVector &vertexPosition2D, const pandora::ClusterVector &clusterVector, const pandora::CartesianVector &localWeightedDirectionSum) const override
Calculate the energy deposition asymmetry feature.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle) override
std::vector< art::Ptr< recob::Cluster > > ClusterVector
Header file for the global asymmetry feature tool class.