ThreeDLinearFitFeatureTool class for the calculation of variables related to 3d sliding linear fit. More...
#include <TrackShowerIdFeatureTool.h>
Public Member Functions | |
ThreeDLinearFitFeatureTool () | |
Default constructor. More... | |
void | Run (LArMvaHelper::MvaFeatureVector &featureVector, const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pInputPfo) |
void | Run (LArMvaHelper::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pInputPfo) |
Public Member Functions inherited from lar_content::MvaFeatureTool< Ts > | |
MvaFeatureTool ()=default | |
Default constructor. More... | |
virtual void | Run (MvaTypes::MvaFeatureVector &featureVector, Ts...args)=0 |
Run the algorithm tool. More... | |
virtual void | Run (MvaTypes::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, Ts...args) |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | CalculateVariablesSlidingLinearFit (const pandora::Cluster *const pCluster, float &straightLineLengthLarge, float &diffWithStraigthLineMean, float &maxFitGapLength, float &rmsSlidingLinearFit) const |
Calculation of several variables related to sliding linear fit. More... | |
Private Attributes | |
unsigned int | m_slidingLinearFitWindow |
The sliding linear fit window. More... | |
unsigned int | m_slidingLinearFitWindowLarge |
The sliding linear fit window - should be large, providing a simple linear fit. More... | |
Additional Inherited Members | |
Public Types inherited from lar_content::MvaFeatureTool< Ts > | |
typedef std::vector < MvaFeatureTool< Ts...> * > | FeatureToolVector |
typedef std::map< std::string, MvaFeatureTool< Ts...> * > | FeatureToolMap |
ThreeDLinearFitFeatureTool class for the calculation of variables related to 3d sliding linear fit.
Definition at line 151 of file TrackShowerIdFeatureTool.h.
lar_content::ThreeDLinearFitFeatureTool::ThreeDLinearFitFeatureTool | ( | ) |
Default constructor.
Definition at line 542 of file TrackShowerIdFeatureTool.cc.
|
private |
Calculation of several variables related to sliding linear fit.
pCluster | the cluster we are characterizing |
straightLineLengthLarge | to receive to length reported by the straight line fit |
diffWithStraigthLineMean | to receive the difference with straight line mean variable |
diffWithStraightLineSigma | to receive the difference with straight line sigma variable |
dTdLWidth | to receive the dTdL width variable |
maxFitGapLength | to receive the max fit gap length variable |
rmsSlidingLinearFit | to receive the RMS from the linear fit |
Definition at line 627 of file TrackShowerIdFeatureTool.cc.
|
private |
Definition at line 707 of file TrackShowerIdFeatureTool.cc.
void lar_content::ThreeDLinearFitFeatureTool::Run | ( | LArMvaHelper::MvaFeatureVector & | featureVector, |
const pandora::Algorithm *const | pAlgorithm, | ||
const pandora::ParticleFlowObject *const | pInputPfo | ||
) |
Definition at line 548 of file TrackShowerIdFeatureTool.cc.
void lar_content::ThreeDLinearFitFeatureTool::Run | ( | LArMvaHelper::MvaFeatureMap & | featureMap, |
pandora::StringVector & | featureOrder, | ||
const std::string & | featureToolName, | ||
const pandora::Algorithm *const | pAlgorithm, | ||
const pandora::ParticleFlowObject *const | pInputPfo | ||
) |
|
private |
The sliding linear fit window.
Definition at line 180 of file TrackShowerIdFeatureTool.h.
|
private |
The sliding linear fit window - should be large, providing a simple linear fit.
Definition at line 181 of file TrackShowerIdFeatureTool.h.