SlidingConePfoMopUpAlgorithm class.
More...
#include "SlidingConePfoMopUpAlgorithm.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 | GetInteractionVertex (const pandora::Vertex *&pVertex) const |
| Get the neutrino interaction vertex if it is available and if the algorithm is configured to do so.
|
|
void | GetThreeDClusters (pandora::ClusterVector &clusters3D, ClusterToPfoMap &clusterToPfoMap) const |
| Get all 3d clusters contained in the input pfo lists and a mapping from clusters to pfos.
|
|
void | GetClusterMergeMap (const pandora::Vertex *const pVertex, const pandora::ClusterVector &clusters3D, const ClusterToPfoMap &clusterToPfoMap, ClusterMergeMap &clusterMergeMap) const |
| Get the cluster merge map describing all potential 3d cluster merges.
|
|
bool | IsVertexAssociated (const pandora::Cluster *const pCluster, const pandora::Vertex *const pVertex, VertexAssociationMap &vertexAssociationMap, const ThreeDSlidingFitResult *const pSlidingFitResult=nullptr) const |
| Whether a 3D cluster is nodally associated with a provided vertex.
|
|
bool | IsVertexAssociated (const pandora::Cluster *const pCluster, const pandora::CartesianVector &vertexPosition, const ThreeDSlidingFitResult *const pSlidingFitResult=nullptr) const |
| Whether a 3D cluster is nodally associated with a provided vertex.
|
|
bool | MakePfoMerges (const ClusterToPfoMap &clusterToPfoMap, const ClusterMergeMap &clusterMergeMap) const |
| Make pfo merges based on the provided cluster merge map.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
◆ ClusterMergeList
◆ ClusterMergeMap
◆ ClusterReplacementMap
◆ ClusterToPfoMap
◆ VertexAssociationMap
◆ SlidingConePfoMopUpAlgorithm()
lar_content::SlidingConePfoMopUpAlgorithm::SlidingConePfoMopUpAlgorithm |
( |
| ) |
|
◆ GetClusterMergeMap()
Get the cluster merge map describing all potential 3d cluster merges.
- Parameters
-
pVertex | the neutrino interaction vertex, if available |
clusters3D | the sorted list of 3d clusters |
clusterToPfoMap | the mapping from 3d cluster to pfo |
clusterMergeMap | to receive the populated cluster merge map |
Definition at line 124 of file SlidingConePfoMopUpAlgorithm.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.
◆ GetInteractionVertex()
void lar_content::SlidingConePfoMopUpAlgorithm::GetInteractionVertex |
( |
const pandora::Vertex *& |
pVertex | ) |
const |
|
private |
Get the neutrino interaction vertex if it is available and if the algorithm is configured to do so.
- Parameters
-
pVertex | to receive the neutrino interaction vertex |
Definition at line 78 of file SlidingConePfoMopUpAlgorithm.cc.
◆ GetListName()
template<typename T >
template const std::string lar_content::MopUpBaseAlgorithm::GetListName |
( |
const T *const |
pT | ) |
const |
|
inherited |
Find the name of the list hosting a specific object.
- Parameters
-
pT | the address of the object |
- Returns
- the name of the list
Definition at line 19 of file MopUpBaseAlgorithm.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.
◆ GetParentCluster()
Select the parent cluster (same hit type and most hits) using a provided cluster list and hit type.
- Parameters
-
clusterList | the cluster list |
hitType | the hit type |
- Returns
- the address of the parent cluster
Definition at line 61 of file PfoMopUpBaseAlgorithm.cc.
◆ GetThreeDClusters()
Get all 3d clusters contained in the input pfo lists and a mapping from clusters to pfos.
- Parameters
-
clusters3D | to receive the sorted list of 3d clusters |
clusterToPfoMap | to receive the mapping from 3d cluster to pfo |
Definition at line 92 of file SlidingConePfoMopUpAlgorithm.cc.
◆ 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 |
◆ IsVertexAssociated() [1/2]
Whether a 3D cluster is nodally associated with a provided vertex.
- Parameters
-
pCluster | the address of the cluster |
vertexPosition | the vertex position |
pSlidingFitResult | the address of a 3D sliding linear fit, if available, which aids pointing cluster construction efficiency |
- Returns
- boolean
Definition at line 212 of file SlidingConePfoMopUpAlgorithm.cc.
◆ IsVertexAssociated() [2/2]
Whether a 3D cluster is nodally associated with a provided vertex.
- Parameters
-
pCluster | the address of the cluster |
pVertex | the address of the vertex |
vertexAssociationMap | the vertex association map, which caches the results for efficiency |
pSlidingFitResult | the address of a 3D sliding linear fit, if available, which aids pointing cluster construction efficiency |
- Returns
- boolean
Definition at line 193 of file SlidingConePfoMopUpAlgorithm.cc.
◆ MakePfoMerges()
bool lar_content::SlidingConePfoMopUpAlgorithm::MakePfoMerges |
( |
const ClusterToPfoMap & |
clusterToPfoMap, |
|
|
const ClusterMergeMap & |
clusterMergeMap |
|
) |
| const |
|
private |
Make pfo merges based on the provided cluster merge map.
- Parameters
-
clusterToPfoMap | the mapping from 3d cluster to pfo |
clusterMergeMap | the populated cluster merge map |
- Returns
- whether a pfo merge has been made
Definition at line 236 of file SlidingConePfoMopUpAlgorithm.cc.
◆ MergeAndDeletePfos()
Merge and delete a pair of pfos, with a specific set of conventions for cluster merging, vertex use, etc.
- Parameters
-
pPfoToEnlarge | the address of the pfo to enlarge |
pPfoToDelete | the address of the pfo to delete (will become a dangling pointer) |
Definition at line 20 of file PfoMopUpBaseAlgorithm.cc.
◆ 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()
StatusCode lar_content::SlidingConePfoMopUpAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ m_coneBoundedFraction1
float lar_content::SlidingConePfoMopUpAlgorithm::m_coneBoundedFraction1 |
|
private |
◆ m_coneBoundedFraction2
float lar_content::SlidingConePfoMopUpAlgorithm::m_coneBoundedFraction2 |
|
private |
◆ m_coneLengthMultiplier
float lar_content::SlidingConePfoMopUpAlgorithm::m_coneLengthMultiplier |
|
private |
◆ m_coneTanHalfAngle1
float lar_content::SlidingConePfoMopUpAlgorithm::m_coneTanHalfAngle1 |
|
private |
◆ m_coneTanHalfAngle2
float lar_content::SlidingConePfoMopUpAlgorithm::m_coneTanHalfAngle2 |
|
private |
◆ m_daughterListNames
◆ m_halfWindowLayers
unsigned int lar_content::SlidingConePfoMopUpAlgorithm::m_halfWindowLayers |
|
private |
◆ m_inputPfoListNames
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_maxConeLength
float lar_content::SlidingConePfoMopUpAlgorithm::m_maxConeLength |
|
private |
◆ m_maxHitsToConsider3DTrack
unsigned int lar_content::SlidingConePfoMopUpAlgorithm::m_maxHitsToConsider3DTrack |
|
private |
◆ m_maxIterations
unsigned int lar_content::SlidingConePfoMopUpAlgorithm::m_maxIterations |
|
private |
◆ m_maxVertexTransverseDistance
float lar_content::SlidingConePfoMopUpAlgorithm::m_maxVertexTransverseDistance |
|
private |
◆ m_minHitsToConsider3DShower
unsigned int lar_content::SlidingConePfoMopUpAlgorithm::m_minHitsToConsider3DShower |
|
private |
◆ m_minVertexLongitudinalDistance
float lar_content::SlidingConePfoMopUpAlgorithm::m_minVertexLongitudinalDistance |
|
private |
◆ m_nConeFitLayers
unsigned int lar_content::SlidingConePfoMopUpAlgorithm::m_nConeFitLayers |
|
private |
◆ m_nConeFits
unsigned int lar_content::SlidingConePfoMopUpAlgorithm::m_nConeFits |
|
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_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
◆ m_useVertex
bool lar_content::SlidingConePfoMopUpAlgorithm::m_useVertex |
|
private |
The documentation for this class was generated from the following files: