8 #ifndef LAR_TRACK_SHOWER_ID_FEATURE_TOOLS_H 9 #define LAR_TRACK_SHOWER_ID_FEATURE_TOOLS_H 1 35 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
45 float CalculateShowerFitWidth(
const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster)
const;
67 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
80 void CalculateVariablesSlidingLinearFit(
const pandora::Cluster *
const pCluster,
float &straightLineLengthLarge,
float &diffWithStraigthLineMean,
81 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;
133 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
152 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
165 void CalculateVariablesSlidingLinearFit(
const pandora::Cluster *
const pCluster,
float &straightLineLengthLarge,
166 float &diffWithStraigthLineMean,
float &maxFitGapLength,
float &rmsSlidingLinearFit)
const;
188 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
207 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
216 void Divide3DCaloHitList(
const pandora::Algorithm *
const pAlgorithm,
const pandora::CaloHitList &threeDCaloHitList,
217 pandora::CartesianPointVector &pointVectorStart, pandora::CartesianPointVector &pointVectorEnd);
228 float OpeningAngle(
const pandora::CartesianVector &principal,
const pandora::CartesianVector &secondary,
229 const pandora::CartesianVector &eigenValues)
const;
251 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
285 bool operator()(
const pandora::CaloHit *
const left,
const pandora::CaloHit *
const right)
const;
304 void CalculateChargeVariables(
const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster,
float &totalCharge,
305 float &chargeSigma,
float &chargeMean,
float &endCharge);
315 void OrderCaloHitsByDistanceToVertex(
316 const pandora::Algorithm *
const pAlgorithm,
const pandora::Cluster *
const pCluster, pandora::CaloHitList &caloHitList);
318 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
325 #endif // #ifndef LAR_TRACK_SHOWER_ID_FEATURE_TOOLS_H
ThreeDLinearFitFeatureTool class for the calculation of variables related to 3d sliding linear fit...
MvaTypes::MvaFeatureVector MvaFeatureVector
float m_hitFraction
Fraction of hits in start and end of pfo.
MvaFeatureTool< const pandora::Algorithm *const, const pandora::ParticleFlowObject *const > PfoCharacterisationFeatureTool
ThreeDVertexDistanceFeatureTool class for the calculation of 3d distance to neutrino vertex...
PfoHierarchyFeatureTool for calculation of features relating to reconstructed particle hierarchy...
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.
TwoDVertexDistanceFeatureTool class for the calculation of 2d 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.
pandora::CartesianVector m_neutrinoVertex
unsigned int m_slidingLinearFitWindow
The sliding linear fit window.
ThreeDChargeFeatureTool class for the calculation of charge-related features.
VertexComparator class for comparison of two points wrt neutrino vertex position. ...
TwoDShowerFitFeatureTool()
Default constructor.
unsigned int m_slidingLinearFitWindowLarge
The sliding linear fit window - should be large, providing a simple linear fit.
float m_defaultValue
Default value to return, in case calculation not feasible.
ThreeDPCAFeatureTool class for the calculation of PCA-related variables.
TwoDShowerFitFeatureTool to calculate variables related to sliding shower fit.
float m_endChargeFraction
Fraction of hits that will be considered to calculate end charge (default 10%)
TwoDLinearFitFeatureTool class for the calculation of variables related to 2d sliding linear fit...
MvaFeatureTool class template.
unsigned int m_slidingLinearFitWindow
The sliding linear fit window.
ThreeDOpeningAngleFeatureTool class for the calculation of distance to neutrino vertex.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)