![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
ShowerFitFeatureTool to calculate variables related to sliding shower fit. More...
#include "TrackShowerIdFeatureTool.h"
Public Types | |
| typedef std::vector< MvaFeatureTool< Ts... > * > | FeatureToolVector |
Public Member Functions | |
| TwoDShowerFitFeatureTool () | |
| Default constructor. More... | |
| void | Run (LArMvaHelper::MvaFeatureVector &featureVector, const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster) |
| virtual void | Run (MvaTypes::MvaFeatureVector &featureVector, Ts...args)=0 |
| Run the algorithm tool. More... | |
Private Member Functions | |
| pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| float | CalculateShowerFitWidth (const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster) const |
| Calculation of the shower fit width variable. More... | |
Private Attributes | |
| unsigned int | m_slidingShowerFitWindow |
| The sliding shower fit window. More... | |
| unsigned int | m_slidingLinearFitWindow |
| The sliding linear fit window. More... | |
ShowerFitFeatureTool to calculate variables related to sliding shower fit.
Definition at line 22 of file TrackShowerIdFeatureTool.h.
|
inherited |
Definition at line 30 of file LArMvaHelper.h.
| lar_content::TwoDShowerFitFeatureTool::TwoDShowerFitFeatureTool | ( | ) |
Default constructor.
Definition at line 30 of file TrackShowerIdFeatureTool.cc.
|
private |
Calculation of the shower fit width variable.
| pAlgorithm | address of the calling algorithm |
| pCluster | the cluster we are characterizing |
|
private |
Definition at line 62 of file TrackShowerIdFeatureTool.cc.
References m_slidingLinearFitWindow, and m_slidingShowerFitWindow.
| void lar_content::TwoDShowerFitFeatureTool::Run | ( | LArMvaHelper::MvaFeatureVector & | featureVector, |
| const pandora::Algorithm *const | pAlgorithm, | ||
| const pandora::Cluster *const | pCluster | ||
| ) |
Definition at line 38 of file TrackShowerIdFeatureTool.cc.
References f, lar_content::TwoDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::TwoDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::CutClusterCharacterisationAlgorithm::GetShowerFitWidth(), lar_content::LArGeometryHelper::GetWireZPitch(), m_slidingLinearFitWindow, and m_slidingShowerFitWindow.
|
pure virtualinherited |
Run the algorithm tool.
| featureVector | the vector of features to append |
| args | arguments to pass to the tool |
|
private |
The sliding linear fit window.
Definition at line 46 of file TrackShowerIdFeatureTool.h.
Referenced by ReadSettings(), and Run().
|
private |
The sliding shower fit window.
Definition at line 45 of file TrackShowerIdFeatureTool.h.
Referenced by ReadSettings(), and Run().