EnergyKickVertexSelectionAlgorithm class. More...
#include <EnergyKickVertexSelectionAlgorithm.h>
Public Member Functions | |
EnergyKickVertexSelectionAlgorithm () | |
Default constructor. More... | |
Public Member Functions inherited from lar_content::VertexSelectionBaseAlgorithm | |
VertexSelectionBaseAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
void | GetVertexScoreList (const pandora::VertexVector &vertexVector, const BeamConstants &beamConstants, HitKDTree2D &kdTreeU, HitKDTree2D &kdTreeV, HitKDTree2D &kdTreeW, VertexScoreList &vertexScoreList) const |
Get the vertex score list for a provided list of candidate vertices. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
VertexFeatureTool::FeatureToolVector | m_featureToolVector |
The feature tool map. More... | |
pandora::StringVector | m_inputClusterListNames |
The list of cluster list names. More... | |
unsigned int | m_minClusterCaloHits |
The min number of hits parameter in the energy score. More... | |
unsigned int | m_slidingFitWindow |
The layer window for the sliding linear fits. More... | |
float | m_epsilon |
The epsilon parameter in the energy score. More... | |
float | m_asymmetryConstant |
The asymmetry constant parameter in the energy score. More... | |
Additional Inherited Members | |
Public Types inherited from lar_content::VertexSelectionBaseAlgorithm | |
typedef std::vector< VertexScore > | VertexScoreList |
typedef std::vector < SlidingFitData > | SlidingFitDataList |
typedef std::vector < ShowerCluster > | ShowerClusterList |
typedef KDTreeNodeInfoT< const pandora::CaloHit *, 2 > | HitKDNode2D |
typedef std::vector< HitKDNode2D > | HitKDNode2DList |
typedef KDTreeLinkerAlgo < const pandora::CaloHit *, 2 > | HitKDTree2D |
typedef std::map < pandora::HitType, const pandora::ClusterList & > | ClusterListMap |
Map array of cluster lists for passing to tools. More... | |
typedef std::map < pandora::HitType, const SlidingFitDataList > | SlidingFitDataListMap |
Map of sliding fit data lists for passing to tools. More... | |
typedef std::map < pandora::HitType, const ShowerClusterList > | ShowerClusterListMap |
Map of shower cluster lists for passing to tools. More... | |
typedef std::map < pandora::HitType, const std::reference_wrapper < HitKDTree2D > > | KDTreeMap |
Map array of hit kd trees for passing to tools. More... | |
typedef MvaFeatureTool< const VertexSelectionBaseAlgorithm *const, const pandora::Vertex *const, const SlidingFitDataListMap &, const ClusterListMap &, const KDTreeMap &, const ShowerClusterListMap &, const float, float & > | VertexFeatureTool |
The base type for the vertex feature tools. More... | |
Protected Member Functions inherited from lar_content::VertexSelectionBaseAlgorithm | |
virtual void | FilterVertexList (const pandora::VertexList *const pInputVertexList, HitKDTree2D &kdTreeU, HitKDTree2D &kdTreeV, HitKDTree2D &kdTreeW, pandora::VertexVector &filteredVertices) const |
Filter the input list of vertices to obtain a reduced number of vertex candidates. More... | |
virtual void | GetBeamConstants (const pandora::VertexVector &vertexVector, BeamConstants &beamConstants) const |
Get the beam score constants for a provided list of candidate vertices. More... | |
void | GetClusterLists (const pandora::StringVector &inputClusterListNames, pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the cluster lists. More... | |
void | CalculateClusterSlidingFits (const pandora::ClusterList &inputClusterList, const unsigned int minClusterCaloHits, const unsigned int slidingFitWindow, SlidingFitDataList &slidingFitDataList) const |
Calculate the cluster sliding fits. More... | |
float | GetBeamDeweightingScore (const BeamConstants &beamConstants, const pandora::Vertex *const pVertex) const |
Get the beam deweighting score for a vertex. More... | |
bool | IsBeamModeOn () const |
Whether algorithm is running in beam mode, assuming neutrinos travel in positive z-direction. More... | |
float | GetVertexEnergy (const pandora::Vertex *const pVertex, const KDTreeMap &kdTreeMap) const |
Calculate the energy of a vertex candidate by summing values from all three planes. More... | |
float | VertexHitEnergy (const pandora::Vertex *const pVertex, const pandora::HitType hitType, HitKDTree2D &kdTree) const |
Finds the energy of the nearest hit to the vertex candidate in this view. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
EnergyKickVertexSelectionAlgorithm class.
Definition at line 19 of file EnergyKickVertexSelectionAlgorithm.h.
lar_content::EnergyKickVertexSelectionAlgorithm::EnergyKickVertexSelectionAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file EnergyKickVertexSelectionAlgorithm.cc.
|
privatevirtual |
Get the vertex score list for a provided list of candidate vertices.
vertexVector | the vertex vector |
beamConstants | the beam constants |
kdTreeU | the kd tree for u hits |
kdTreeV | the kd tree for v hits |
kdTreeW | the kd tree for w hits |
vertexScoreList | to receive the vertex score list |
Implements lar_content::VertexSelectionBaseAlgorithm.
Definition at line 32 of file EnergyKickVertexSelectionAlgorithm.cc.
|
private |
Definition at line 72 of file EnergyKickVertexSelectionAlgorithm.cc.
|
private |
The asymmetry constant parameter in the energy score.
Definition at line 39 of file EnergyKickVertexSelectionAlgorithm.h.
|
private |
The epsilon parameter in the energy score.
Definition at line 38 of file EnergyKickVertexSelectionAlgorithm.h.
|
private |
The feature tool map.
Definition at line 33 of file EnergyKickVertexSelectionAlgorithm.h.
|
private |
The list of cluster list names.
Definition at line 35 of file EnergyKickVertexSelectionAlgorithm.h.
|
private |
The min number of hits parameter in the energy score.
Definition at line 36 of file EnergyKickVertexSelectionAlgorithm.h.
|
private |
The layer window for the sliding linear fits.
Definition at line 37 of file EnergyKickVertexSelectionAlgorithm.h.