EnergyKickFeatureTool class.
More...
#include "EnergyKickFeatureTool.h"
|
| EnergyKickFeatureTool () |
| Default constructor.
|
|
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.
|
|
virtual void | Run (MvaTypes::MvaFeatureVector &featureVector, Ts... args)=0 |
| Run the algorithm tool.
|
|
virtual void | Run (MvaTypes::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, Ts...) |
|
const std::string & | GetType () const |
| Get the type.
|
|
const std::string & | GetInstanceName () const |
| Get the instance name.
|
|
const Pandora & | GetPandora () const |
| Get the associated pandora instance.
|
|
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
|
float | m_rOffset |
| The r offset parameter in the energy score.
|
|
float | m_xOffset |
| The x offset parameter in the energy score.
|
|
◆ FeatureToolMap
◆ FeatureToolVector
◆ EnergyKickFeatureTool()
lar_content::EnergyKickFeatureTool::EnergyKickFeatureTool |
( |
| ) |
|
◆ GetEnergyKickForView()
Get the energy kick feature for a given view.
- Parameters
-
vertexPosition2D | the projection of the vertex position in this view |
slidingFitDataList | the list of sliding fit data objects in this view |
- Returns
- the energy kick feature
Definition at line 50 of file EnergyKickFeatureTool.cc.
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ IncrementEnergyKickParameters()
Increment the energy kick parameters for a given cluster.
- Parameters
-
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.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run() [1/3]
Run the tool.
- Parameters
-
pAlgorithm | address of the calling algorithm |
pVertex | address of the vertex |
slidingFitDataListMap | map of the sliding fit data lists |
- Returns
- the energy kick feature
Definition at line 26 of file EnergyKickFeatureTool.cc.
◆ Run() [2/3]
◆ Run() [3/3]
Run the algorithm tool.
- Parameters
-
featureVector | the vector of features to append |
args | arguments to pass to the tool |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_rOffset
float lar_content::EnergyKickFeatureTool::m_rOffset |
|
private |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
◆ m_xOffset
float lar_content::EnergyKickFeatureTool::m_xOffset |
|
private |
The documentation for this class was generated from the following files: