8 #ifndef LAR_TRACK_SHOWER_ID_FEATURE_TOOLS_H 9 #define LAR_TRACK_SHOWER_ID_FEATURE_TOOLS_H 1 33 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
43 float CalculateShowerFitWidth(
const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster)
const;
66 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
79 void CalculateVariablesSlidingLinearFit(
const pandora::Cluster *
const pCluster,
float &straightLineLengthLarge,
float &diffWithStraigthLineMean,
80 float &diffWithStraightLineSigma,
float &dTdLWidth,
float &maxFitGapLength,
float &rmsSlidingLinearFit)
const;
103 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
112 float CalculateVertexDistance(
const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster)
const;
134 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
147 void CalculateVariablesSlidingLinearFit(
const pandora::Cluster *
const pCluster,
float &straightLineLengthLarge,
float &diffWithStraigthLineMean,
148 float &maxFitGapLength,
float &rmsSlidingLinearFit)
const;
171 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
192 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
193 void Divide3DCaloHitList(
const pandora::Algorithm *
const pAlgorithm, pandora::CaloHitList &threeDCaloHitList,
194 pandora::CartesianPointVector &pointVectorStart, pandora::CartesianPointVector &pointVectorEnd);
196 float OpeningAngle(
const pandora::CartesianVector &principal,
const pandora::CartesianVector &secondary,
const pandora::CartesianVector &eigenValues)
const;
216 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
251 bool operator()(
const pandora::CaloHit *
const left,
const pandora::CaloHit *
const right)
const;
271 void CalculateChargeVariables(
const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster,
float &totalCharge,
float &chargeSigma,
272 float &chargeMean,
float &endCharge);
282 void OrderCaloHitsByDistanceToVertex(
const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster, pandora::CaloHitList &caloHitList);
284 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
291 #endif // #ifndef LAR_TRACK_SHOWER_ID_FEATURE_TOOLS_H
LinearFitFeatureTool class for the calculation of variables related to sliding linear fit...
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
MvaTypes::MvaFeatureVector MvaFeatureVector
MvaFeatureTool< const pandora::Algorithm *const, const pandora::ParticleFlowObject *const > PfoCharacterisationFeatureTool
VertexDistanceFeatureTool class for the calculation of distance to neutrino vertex.
unsigned int m_slidingShowerFitWindow
The sliding shower fit window.
void Run(LArMvaHelper::MvaFeatureVector &featureVector, const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster)
unsigned int m_slidingLinearFitWindow
The sliding linear fit window.
MvaFeatureTool< const pandora::Algorithm *const, const pandora::Cluster *const > ClusterCharacterisationFeatureTool
unsigned int m_slidingLinearFitWindow
The sliding linear fit window.
VertexDistanceFeatureTool class for the calculation of distance to neutrino vertex.
float CalculateShowerFitWidth(const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster) const
Calculation of the shower fit width variable.
unsigned int m_slidingLinearFitWindowLarge
The sliding linear fit window - should be large, providing a simple linear fit.
Header file for the lar support vector machine class.
pandora::CartesianVector m_neutrinoVertex
unsigned int m_slidingLinearFitWindow
The sliding linear fit window.
ChargeFeatureTool class for the calculation of concentration.
VertexComparator class for comparison of two points wrt neutrino vertex position. ...
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
TwoDShowerFitFeatureTool()
Default constructor.
unsigned int m_slidingLinearFitWindowLarge
The sliding linear fit window - should be large, providing a simple linear fit.
PCA class for the calculation of PCA-related variables.
ShowerFitFeatureTool to calculate variables related to sliding shower fit.
float m_endChargeFraction
Fraction of hits that will be considered to calculate end charge (default 10%)
LinearFitFeatureTool class for the calculation of variables related to sliding linear fit...
MvaFeatureTool class template.
unsigned int m_slidingLinearFitWindow
The sliding linear fit window.
VertexDistanceFeatureTool class for the calculation of distance to neutrino vertex.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)