ShowerPfoMopUpAlgorithm::Algorithm class.
More...
#include "ShowerPfoMopUpAlgorithm.h"
|
pandora::StatusCode | Run () |
| Run the algorithm.
|
|
bool | IsVertexAssociated (const pandora::Pfo *const pPfo, const pandora::Vertex *const pVertex) const |
| Whether a specified pfo is associated with a specified vertex.
|
|
PfoAssociation | GetPfoAssociation (const pandora::Vertex *const pVertex, const pandora::Pfo *const pVertexPfo, const pandora::Pfo *const pDaughterPfo) const |
| Get pfo association details between a vertex-associated pfo and a non-vertex associated daughter candidate pfo.
|
|
void | GetInputPfos (const pandora::Vertex *const pVertex, pandora::PfoList &vertexPfos, pandora::PfoList &nonVertexPfos) const |
| Get the list of input pfos and divide them into vertex-associated and non-vertex-associated lists.
|
|
void | GetPfoAssociations (const pandora::Vertex *const pVertex, const pandora::PfoList &vertexPfos, const pandora::PfoList &nonVertexPfos, PfoAssociationList &pfoAssociationList) const |
| Get the list of associations between vertex-associated pfos and non-vertex-associated pfos.
|
|
ClusterAssociation | GetClusterAssociation (const pandora::Vertex *const pVertex, const pandora::Cluster *const pVertexCluster, const pandora::Cluster *const pDaughterCluster) const |
| Get cluster association details between a vertex-associated cluster and a non-vertex associated daughter candidate cluster.
|
|
bool | ProcessPfoAssociations (const PfoAssociationList &pfoAssociationList) const |
| Process the list of pfo associations, merging the best-matching pfo.
|
|
void | MergePfos (const PfoAssociation &pfoAssociation) const |
| Merge the vertex and daughter pfos (deleting daughter pfo, merging clusters, etc.) described in the specified pfoAssociation.
|
|
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.
|
|
ShowerPfoMopUpAlgorithm::Algorithm class.
Definition at line 19 of file ShowerPfoMopUpAlgorithm.h.
◆ HitTypeSet
◆ HitTypeToAssociationMap
◆ HitTypeToClusterMap
◆ PfoAssociationList
◆ ShowerPfoMopUpAlgorithm()
lar_content::ShowerPfoMopUpAlgorithm::ShowerPfoMopUpAlgorithm |
( |
| ) |
|
◆ GetClusterAssociation()
Get cluster association details between a vertex-associated cluster and a non-vertex associated daughter candidate cluster.
- Parameters
-
pVertex | the address of the vertex |
pVertexCluster | the address of the vertex-associated cluster |
pDaughterCluster | the address of the non-vertex-associated cluster |
- Returns
- the cluster association details
Definition at line 208 of file VertexBasedPfoMopUpAlgorithm.cc.
◆ GetInputPfos()
Get the list of input pfos and divide them into vertex-associated and non-vertex-associated lists.
- Parameters
-
pVertex | the address of the 3d vertex |
vertexPfos | to receive the list of vertex-associated pfos |
nonVertexPfos | to receive the list of nonvertex-associated pfos |
Definition at line 101 of file VertexBasedPfoMopUpAlgorithm.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.
◆ 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.
◆ GetPfoAssociation() [1/2]
Get pfo association details between a vertex-associated pfo and a non-vertex associated daughter candidate pfo.
- Parameters
-
pVertexPfo | the address of the vertex-associated pfo |
pDaughterPfo | the address of the non-vertex-associated pfo |
hitTypeToAssociationMap | the hit type to association map |
- Returns
- the pfo association details
Reimplemented from lar_content::VertexBasedPfoMopUpAlgorithm.
Definition at line 52 of file ShowerPfoMopUpAlgorithm.cc.
◆ GetPfoAssociation() [2/2]
Get pfo association details between a vertex-associated pfo and a non-vertex associated daughter candidate pfo.
- Parameters
-
pVertex | the address of the 3d vertex |
pVertexPfo | the address of the vertex-associated pfo |
pDaughterPfo | the address of the non-vertex-associated pfo |
- Returns
- the pfo association details
Definition at line 179 of file VertexBasedPfoMopUpAlgorithm.cc.
◆ GetPfoAssociations()
Get the list of associations between vertex-associated pfos and non-vertex-associated pfos.
- Parameters
-
pVertex | the address of the 3d vertex |
vertexPfos | the list of vertex-associated pfos |
nonVertexPfos | the list of nonvertex-associated pfos |
pfoAssociationList | to receive the pfo association list |
Definition at line 158 of file VertexBasedPfoMopUpAlgorithm.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]
◆ IsVertexAssociated() [2/2]
bool lar_content::VertexBasedPfoMopUpAlgorithm::IsVertexAssociated |
( |
const pandora::Pfo *const |
pPfo, |
|
|
const pandora::Vertex *const |
pVertex |
|
) |
| const |
|
protectedinherited |
Whether a specified pfo is associated with a specified vertex.
- Parameters
-
pPfo | the address of the pfo |
pVertex | the address of the 3d vertex |
- Returns
- boolean
Definition at line 124 of file VertexBasedPfoMopUpAlgorithm.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.
◆ MergePfos()
void lar_content::VertexBasedPfoMopUpAlgorithm::MergePfos |
( |
const PfoAssociation & |
pfoAssociation | ) |
const |
|
protectedinherited |
Merge the vertex and daughter pfos (deleting daughter pfo, merging clusters, etc.) described in the specified pfoAssociation.
- Parameters
-
pfoAssociation | the pfo association details |
Definition at line 267 of file VertexBasedPfoMopUpAlgorithm.cc.
◆ ProcessPfoAssociations()
bool lar_content::VertexBasedPfoMopUpAlgorithm::ProcessPfoAssociations |
( |
const PfoAssociationList & |
pfoAssociationList | ) |
const |
|
protectedinherited |
Process the list of pfo associations, merging the best-matching pfo.
- Parameters
-
pfoAssociationList | the pfo association list |
- Returns
- whether a pfo merge was made
Definition at line 228 of file VertexBasedPfoMopUpAlgorithm.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::VertexBasedPfoMopUpAlgorithm::Run |
( |
| ) |
|
|
protectedvirtualinherited |
◆ m_coneAngleCentile
float lar_content::VertexBasedPfoMopUpAlgorithm::m_coneAngleCentile |
|
protectedinherited |
◆ m_daughterListNames
◆ m_directionApexShift
float lar_content::VertexBasedPfoMopUpAlgorithm::m_directionApexShift |
|
protectedinherited |
◆ m_directionTanAngle
float lar_content::VertexBasedPfoMopUpAlgorithm::m_directionTanAngle |
|
protectedinherited |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_maxBoundedFractionCut
float lar_content::VertexBasedPfoMopUpAlgorithm::m_maxBoundedFractionCut |
|
protectedinherited |
◆ m_maxConeCosHalfAngle
float lar_content::VertexBasedPfoMopUpAlgorithm::m_maxConeCosHalfAngle |
|
protectedinherited |
◆ m_maxConeLengthMultiplier
float lar_content::VertexBasedPfoMopUpAlgorithm::m_maxConeLengthMultiplier |
|
protectedinherited |
◆ m_maxVertexLongitudinalDistance
float lar_content::ShowerPfoMopUpAlgorithm::m_maxVertexLongitudinalDistance |
|
private |
◆ m_maxVertexTransverseDistance
float lar_content::VertexBasedPfoMopUpAlgorithm::m_maxVertexTransverseDistance |
|
protectedinherited |
◆ m_meanBoundedFractionCut
float lar_content::VertexBasedPfoMopUpAlgorithm::m_meanBoundedFractionCut |
|
protectedinherited |
◆ m_minBoundedFractionCut
float lar_content::VertexBasedPfoMopUpAlgorithm::m_minBoundedFractionCut |
|
protectedinherited |
◆ m_minConsistentDirections
unsigned int lar_content::VertexBasedPfoMopUpAlgorithm::m_minConsistentDirections |
|
protectedinherited |
◆ m_minConsistentDirectionsTrack
unsigned int lar_content::VertexBasedPfoMopUpAlgorithm::m_minConsistentDirectionsTrack |
|
protectedinherited |
◆ m_minVertexAssociatedHitTypes
unsigned int lar_content::VertexBasedPfoMopUpAlgorithm::m_minVertexAssociatedHitTypes |
|
protectedinherited |
◆ m_minVertexLongitudinalDistance
float lar_content::VertexBasedPfoMopUpAlgorithm::m_minVertexLongitudinalDistance |
|
protectedinherited |
◆ 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_showerPfoListName
std::string lar_content::VertexBasedPfoMopUpAlgorithm::m_showerPfoListName |
|
protectedinherited |
◆ m_trackPfoListName
std::string lar_content::VertexBasedPfoMopUpAlgorithm::m_trackPfoListName |
|
protectedinherited |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
◆ m_vertexAngularAllowance
float lar_content::ShowerPfoMopUpAlgorithm::m_vertexAngularAllowance |
|
private |
The documentation for this class was generated from the following files: