![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
DLBaseHierarchyTool to calculate variables related to the initial shower region. More...
#include "DLBaseHierarchyTool.h"
Public Member Functions | |
DLBaseHierarchyTool () | |
Default constructor. More... | |
Protected Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | SetDetectorBoundaries () |
Set the detector boundaries. More... | |
std::pair< float, float > | GetParticleInfoAboutPfoPosition (const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pPfo, const pandora::CartesianVector &pointOfInterest) const |
Return the number of 3D hits and the number of corresponding pfos of a given pfo about a point. More... | |
void | NormaliseNetworkParam (const float minLimit, const float maxLimit, float &networkParam) const |
Shift and normalise a network parameter with respect to an input range. More... | |
Protected Attributes | |
float | m_vertexRegionRadiusSq |
the radius (squared) in which to search for particle hits More... | |
pandora::StringVector | m_pfoListNames |
the input pfo list name vector More... | |
LArGeometryHelper::DetectorBoundaries | m_detectorBoundaries |
the detector boundaries More... | |
bool | m_areBoundariesSet |
whether the detector boundaries have been set More... | |
DLBaseHierarchyTool to calculate variables related to the initial shower region.
Definition at line 27 of file DLBaseHierarchyTool.h.
lar_dl_content::DLBaseHierarchyTool::DLBaseHierarchyTool | ( | ) |
Default constructor.
Definition at line 27 of file DLBaseHierarchyTool.cc.
References m_areBoundariesSet.
|
protected |
Return the number of 3D hits and the number of corresponding pfos of a given pfo about a point.
pAlgorithm | a pointer to the pandora algorithm calling the tool |
pPfo | a pointer to the pfo |
pointOfInterest | the input position |
Definition at line 47 of file DLBaseHierarchyTool.cc.
References m_pfoListNames, and m_vertexRegionRadiusSq.
Referenced by lar_dl_content::DLLaterTierHierarchyTool::SetEndRegionParams(), and lar_dl_content::DLPrimaryHierarchyTool::SetVertexRegionParams().
|
protected |
Shift and normalise a network parameter with respect to an input range.
minLimit | the minimum allowed value of the variable |
maxLimit | the maximum allowed value of the variable |
networkParam | the input network parameter value |
Definition at line 90 of file DLBaseHierarchyTool.cc.
Referenced by lar_dl_content::DLPrimaryHierarchyTool::NormaliseNetworkParams(), and lar_dl_content::DLLaterTierHierarchyTool::NormaliseNetworkParams().
|
protected |
Definition at line 111 of file DLBaseHierarchyTool.cc.
References m_pfoListNames, and m_vertexRegionRadiusSq.
Referenced by lar_dl_content::DLPrimaryHierarchyTool::ReadSettings(), and lar_dl_content::DLLaterTierHierarchyTool::ReadSettings().
|
protected |
Set the detector boundaries.
Definition at line 36 of file DLBaseHierarchyTool.cc.
References m_areBoundariesSet, and m_detectorBoundaries.
Referenced by lar_dl_content::DLLaterTierHierarchyTool::Run(), and lar_dl_content::DLPrimaryHierarchyTool::Run().
|
protected |
whether the detector boundaries have been set
Definition at line 68 of file DLBaseHierarchyTool.h.
Referenced by DLBaseHierarchyTool(), and SetDetectorBoundaries().
|
protected |
the detector boundaries
Definition at line 67 of file DLBaseHierarchyTool.h.
Referenced by lar_dl_content::DLPrimaryHierarchyTool::CalculateConnectionDistances(), SetDetectorBoundaries(), and lar_dl_content::DLLaterTierHierarchyTool::SetEndRegionRToWall().
|
protected |
the input pfo list name vector
Definition at line 66 of file DLBaseHierarchyTool.h.
Referenced by GetParticleInfoAboutPfoPosition(), ReadSettings(), and lar_dl_content::DLPrimaryHierarchyTool::ReadSettings().
|
protected |
the radius (squared) in which to search for particle hits
Definition at line 65 of file DLBaseHierarchyTool.h.
Referenced by GetParticleInfoAboutPfoPosition(), and ReadSettings().