EnergyKickFeatureTool class. More...
#include <EnergyKickFeatureTool.h>
Public Member Functions | |
| EnergyKickFeatureTool () | |
| Default constructor. More... | |
| void | Run (LArMvaHelper::MvaFeatureVector &featureVector, const VertexSelectionBaseAlgorithm *const pAlgorithm, const pandora::Vertex *const pVertex, const VertexSelectionBaseAlgorithm::SlidingFitDataListMap &slidingFitDataListMap, const VertexSelectionBaseAlgorithm::ClusterListMap &, const VertexSelectionBaseAlgorithm::KDTreeMap &, const VertexSelectionBaseAlgorithm::ShowerClusterListMap &, const float, float &) |
| Run the tool. More... | |
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) |
| float | GetEnergyKickForView (const pandora::CartesianVector &vertexPosition2D, const VertexSelectionBaseAlgorithm::SlidingFitDataList &slidingFitDataList) const |
| Get the energy kick feature for a given view. More... | |
| void | IncrementEnergyKickParameters (const pandora::Cluster *const pCluster, const pandora::CartesianVector &clusterDisplacement, const pandora::CartesianVector &clusterDirection, float &totEnergyKick, float &totEnergy, float &totHitKick, unsigned int &totHits) const |
| Increment the energy kick parameters for a given cluster. More... | |
Private Attributes | |
| float | m_rOffset |
| The r offset parameter in the energy score. More... | |
| float | m_xOffset |
| The x offset parameter in the energy score. 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 |
EnergyKickFeatureTool class.
Definition at line 19 of file EnergyKickFeatureTool.h.
| lar_content::EnergyKickFeatureTool::EnergyKickFeatureTool | ( | ) |
Default constructor.
Definition at line 20 of file EnergyKickFeatureTool.cc.
|
private |
Get the energy kick feature for a given view.
| vertexPosition2D | the projection of the vertex position in this view |
| slidingFitDataList | the list of sliding fit data objects in this view |
Definition at line 50 of file EnergyKickFeatureTool.cc.
|
private |
Increment the energy kick parameters for a given cluster.
| pCluster | address of the cluster |
| clusterDisplacement | the cluster displacement |
| clusterDirection | the cluster direction |
| totEnergyKick | the total energy kick |
| totEnergy | the total energy |
| totHitKick | the total hit kick |
| totHits | the total number of hits |
Definition at line 86 of file EnergyKickFeatureTool.cc.
|
private |
Definition at line 101 of file EnergyKickFeatureTool.cc.
| void lar_content::EnergyKickFeatureTool::Run | ( | LArMvaHelper::MvaFeatureVector & | featureVector, |
| const VertexSelectionBaseAlgorithm *const | pAlgorithm, | ||
| const pandora::Vertex *const | pVertex, | ||
| const VertexSelectionBaseAlgorithm::SlidingFitDataListMap & | slidingFitDataListMap, | ||
| const VertexSelectionBaseAlgorithm::ClusterListMap & | , | ||
| const VertexSelectionBaseAlgorithm::KDTreeMap & | , | ||
| const VertexSelectionBaseAlgorithm::ShowerClusterListMap & | , | ||
| const float | , | ||
| float & | |||
| ) |
Run the tool.
| pAlgorithm | address of the calling algorithm |
| pVertex | address of the vertex |
| slidingFitDataListMap | map of the sliding fit data lists |
Definition at line 26 of file EnergyKickFeatureTool.cc.
|
private |
The r offset parameter in the energy score.
Definition at line 68 of file EnergyKickFeatureTool.h.
|
private |
The x offset parameter in the energy score.
Definition at line 69 of file EnergyKickFeatureTool.h.
1.8.5