8 #ifndef LAR_SHOWER_ASYMMETRY_FEATURE_TOOL_H 9 #define LAR_SHOWER_ASYMMETRY_FEATURE_TOOL_H 1 41 const float,
float &);
44 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
76 const pandora::CartesianVector &showerDirection,
float &beforeVtxEnergy,
float &afterVtxEnergy)
const;
83 #endif // #ifndef LAR_SHOWER_ASYMMETRY_FEATURE_TOOL_H
MvaTypes::MvaFeatureVector MvaFeatureVector
std::vector< ShowerCluster > ShowerClusterList
ShowerAsymmetryFeatureTool()
Default constructor.
void Run(LArMvaHelper::MvaFeatureVector &featureVector, const VertexSelectionBaseAlgorithm *const pAlgorithm, const pandora::Vertex *const pVertex, const VertexSelectionBaseAlgorithm::SlidingFitDataListMap &, const VertexSelectionBaseAlgorithm::ClusterListMap &, const VertexSelectionBaseAlgorithm::KDTreeMap &, const VertexSelectionBaseAlgorithm::ShowerClusterListMap &showerClusterListMap, const float, float &)
Run the tool.
void CalculateAsymmetryParameters(const VertexSelectionBaseAlgorithm::ShowerCluster &showerCluster, const float projectedVtxPosition, const pandora::CartesianVector &showerDirection, float &beforeVtxEnergy, float &afterVtxEnergy) const
Calculate the parameters for the asymmetry calculation.
std::map< pandora::HitType, const ShowerClusterList > ShowerClusterListMap
Map of shower cluster lists for passing to tools.
float m_vertexClusterDistance
The distance around the vertex to look for shower clusters.
ShowerAsymmetryFeatureTool class.
float GetShowerAsymmetryForView(const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::ShowerClusterList &showerClusterList) const
Get the shower asymmetry feature for a given view.
Header file for the lar two dimensional sliding fit result class.
std::map< pandora::HitType, const pandora::ClusterList & > ClusterListMap
Map array of cluster lists for passing to tools.
Header file for the vertex selection base algorithm class.
VertexSelectionBaseAlgorithm class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::map< pandora::HitType, const SlidingFitDataList > SlidingFitDataListMap
Map of sliding fit data lists for passing to tools.
std::map< pandora::HitType, const std::reference_wrapper< HitKDTree2D > > KDTreeMap
Map array of hit kd trees for passing to tools.
MvaFeatureTool class template.
bool ShouldUseShowerCluster(const pandora::CartesianVector &vertexPosition, const VertexSelectionBaseAlgorithm::ShowerCluster &showerCluster) const
Get whether we should use a given shower cluster for asymmetry calculation.