VertexRefinementAlgorithm class.
More...
#include "VertexRefinementAlgorithm.h"
|
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.
|
|
|
pandora::StatusCode | Run () |
| Run the algorithm.
|
|
void | GetClusterLists (const pandora::StringVector &inputClusterListNames, pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
| Get the input cluster lists.
|
|
void | RefineVertices (const pandora::VertexList *const pVertexList, const pandora::ClusterList &clusterListU, const pandora::ClusterList &clusterListV, const pandora::ClusterList &clusterListW) const |
| Perform the refinement proceduce on a list of vertices.
|
|
pandora::CartesianVector | RefineVertexTwoD (const pandora::ClusterList &clusterList, const pandora::CartesianVector &originalVtxPos) const |
| Refine the position of a two dimensional projection of a vertex using the clusters in that view.
|
|
void | GetBestFitPoint (const pandora::CartesianPointVector &intercepts, const pandora::CartesianPointVector &directions, const pandora::FloatVector &weights, pandora::CartesianVector &bestFitPoint) const |
| Calculate the best fit point of a set of lines using a matrix equation.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
◆ VertexRefinementAlgorithm()
lar_content::VertexRefinementAlgorithm::VertexRefinementAlgorithm |
( |
| ) |
|
◆ GetBestFitPoint()
Calculate the best fit point of a set of lines using a matrix equation.
- Parameters
-
intercepts | the vector of the defining points of the lines |
directions | the vector of line directions |
weights | the vector of weights for each line |
bestFitPoint | the resulting best fit point |
Definition at line 195 of file VertexRefinementAlgorithm.cc.
◆ GetClusterLists()
Get the input cluster lists.
- Parameters
-
inputClusterListNames | the input cluster list names |
clusterListU | the U-view cluster list to populate |
clusterListV | the V-view cluster list to populate |
clusterListW | the W-view cluster list to populate |
Definition at line 67 of file VertexRefinementAlgorithm.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.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ ReadSettings()
◆ RefineVertexTwoD()
Refine the position of a two dimensional projection of a vertex using the clusters in that view.
- Parameters
-
clusterList | the list of two dimensional clusters |
originalVtxPos | the original vertex position projected into two dimensions |
- Returns
- the new refined position
Definition at line 157 of file VertexRefinementAlgorithm.cc.
◆ RefineVertices()
Perform the refinement proceduce on a list of vertices.
- Parameters
-
pVertexList | address of the vertex list |
clusterListU | the list of U-view clusters |
clusterListV | the list of V-view clusters |
clusterListW | the list of W-view clusters |
Definition at line 96 of file VertexRefinementAlgorithm.cc.
◆ 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()
StatusCode lar_content::VertexRefinementAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ m_chiSquaredCut
float lar_content::VertexRefinementAlgorithm::m_chiSquaredCut |
|
private |
◆ m_distanceCut
float lar_content::VertexRefinementAlgorithm::m_distanceCut |
|
private |
◆ m_inputClusterListNames
◆ m_inputVertexListName
std::string lar_content::VertexRefinementAlgorithm::m_inputVertexListName |
|
private |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_minimumHitsCut
unsigned int lar_content::VertexRefinementAlgorithm::m_minimumHitsCut |
|
private |
◆ m_outputVertexListName
std::string lar_content::VertexRefinementAlgorithm::m_outputVertexListName |
|
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_twoDDistanceCut
float lar_content::VertexRefinementAlgorithm::m_twoDDistanceCut |
|
private |
The maximum distance a cluster can be from the original position to be used in refinement.
Definition at line 82 of file VertexRefinementAlgorithm.h.
◆ 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: