ConnectionRegionFeatureTool to calculate variables related to the connection pathway region.
More...
#include "ConnectionPathwayFeatureTool.h"
|
| ConnectionRegionFeatureTool () |
| Default constructor.
|
|
void | Run (LArMvaHelper::MvaFeatureVector &featureVector, const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pShowerPfo, const pandora::CartesianVector &nuVertex3D, const ProtoShowerMatch &protoShowerMatch, const pandora::CartesianPointVector &showerStarts3D) |
|
void | Run (LArMvaHelper::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pShowerPfo, const pandora::CartesianVector &nuVertex3D, const ProtoShowerMatch &protoShowerMatch, const pandora::CartesianPointVector &showerStarts3D) |
|
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.
|
|
ConnectionRegionFeatureTool to calculate variables related to the connection pathway region.
Definition at line 72 of file ConnectionPathwayFeatureTool.h.
◆ FeatureToolMap
◆ FeatureToolVector
◆ ConnectionRegionFeatureTool()
lar_content::ConnectionRegionFeatureTool::ConnectionRegionFeatureTool |
( |
| ) |
|
◆ Get2DKink()
Obtain a cautious estimate of the largest 2D deflection of the connection pathway.
- Parameters
-
pAlgorithm | the algorithm |
protoShowerMatch | the ProtoShower match |
showerStart3D | the 3D shower start position |
- Returns
- a cautious estimate of the largest 2D deflection of the connection pathway
Definition at line 187 of file ConnectionPathwayFeatureTool.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.
◆ GetLargest2DKinkFromView()
Obtain a cautious estimate of the largest 2D deflection of a connection pathway in a given view.
- Parameters
-
pAlgorithm | the algorithm |
spineFit | the shower spine fit |
hitType | the 2D view |
showerStart3D | the 3D shower start position |
- Returns
- a cautious estimate of the largest 2D deflection of a connection pathway in a given view
Definition at line 227 of file ConnectionPathwayFeatureTool.cc.
◆ 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.
◆ 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/4]
◆ Run() [2/4]
◆ Run() [3/4]
◆ Run() [4/4]
Run the algorithm tool.
- Parameters
-
featureVector | the vector of features to append |
args | arguments to pass to the tool |
◆ m_defaultFloat
float lar_content::ConnectionRegionFeatureTool::m_defaultFloat |
|
private |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_nLayersHalfWindow
int lar_content::ConnectionRegionFeatureTool::m_nLayersHalfWindow |
|
private |
◆ m_pathwayLengthLimit
float lar_content::ConnectionRegionFeatureTool::m_pathwayLengthLimit |
|
private |
◆ m_pathwayScatteringAngle2DLimit
float lar_content::ConnectionRegionFeatureTool::m_pathwayScatteringAngle2DLimit |
|
private |
◆ 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_spineFitWindow
unsigned int lar_content::ConnectionRegionFeatureTool::m_spineFitWindow |
|
private |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: