CrossGapsExtensionAlgorithm class.
More...
#include "CrossGapsExtensionAlgorithm.h"
|
void | PopulateClusterMergeMap (const pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMatrix) const |
| Form associations between pointing clusters.
|
|
virtual pandora::StatusCode | Run () |
| Run the algorithm.
|
|
void | MergeClusters (pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMap) const |
| Merge associated clusters.
|
|
void | CollectAssociatedClusters (const pandora::Cluster *const pSeedCluster, const ClusterMergeMap &clusterMergeMap, pandora::ClusterList &associatedClusterList) const |
| Collect up all clusters associations related to a given seed cluster.
|
|
void | CollectAssociatedClusters (const pandora::Cluster *const pSeedCluster, const pandora::Cluster *const pCurrentCluster, const ClusterMergeMap &clusterMergeMap, const pandora::ClusterSet &clusterVetoList, pandora::ClusterList &associatedClusterList) const |
| Collect up all clusters associations related to a given seed cluster.
|
|
void | GetSortedListOfCleanClusters (const pandora::ClusterVector &inputClusters, pandora::ClusterVector &outputClusters) const |
| Sort the selected clusters, so that they have a well-defined ordering.
|
|
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.
|
|
|
void | GetListOfCleanClusters (const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const |
| Populate cluster vector with subset of cluster list, containing clusters judged to be clean.
|
|
void | FillClusterAssociationMatrix (const pandora::ClusterVector &clusterVector, ClusterAssociationMatrix &clusterAssociationMatrix) const |
| Fill the cluster association matrix.
|
|
void | FillClusterMergeMap (const ClusterAssociationMatrix &clusterAssociationMatrix, ClusterMergeMap &clusterMergeMap) const |
| Fill the cluster merge map.
|
|
void | BuildPointingClusterList (const pandora::ClusterVector &clusterVector, LArPointingClusterList &innerPointingClusterList, LArPointingClusterList &outerPointingClusterList) const |
| Build lists of pointing clusters that are adjacent to a detector gap.
|
|
void | BuildPointingClusterList (const bool useInner, const LArPointingClusterList &inputPointingClusterList, LArPointingClusterList &outputPointingClusterList) const |
| Build a list of pointing clusters that are adjacent to a detector gap.
|
|
bool | IsAssociated (const LArPointingCluster::Vertex &pointingVertex1, const LArPointingCluster::Vertex &pointingVertex2) const |
| Use pointing information to determine whether two clusters are associated.
|
|
bool | IsAcrossGap (const float minZ, const float maxZ, const pandora::HitType hitType) const |
| Determine whether a start and end position sit either side of a gap.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
◆ ClusterAssociationMap
◆ ClusterAssociationMatrix
◆ ClusterMergeMap
◆ CrossGapsExtensionAlgorithm()
lar_content::CrossGapsExtensionAlgorithm::CrossGapsExtensionAlgorithm |
( |
| ) |
|
◆ BuildPointingClusterList() [1/2]
Build a list of pointing clusters that are adjacent to a detector gap.
- Parameters
-
useInner | check the inner vertex |
inputPointingClusterList | the input list of pointing clusters |
outputPointingClusterList | the output list of pointing clusters |
Definition at line 115 of file CrossGapsExtensionAlgorithm.cc.
◆ BuildPointingClusterList() [2/2]
Build lists of pointing clusters that are adjacent to a detector gap.
- Parameters
-
clusterVector | the input vector of clusters |
innerPointingClusterList | the pointing clusters whose inner vertex is close to a detector gap |
outerPointingClusterList | the pointing clusters whose outer vertex is close to a detector gap |
Definition at line 91 of file CrossGapsExtensionAlgorithm.cc.
◆ CollectAssociatedClusters() [1/2]
Collect up all clusters associations related to a given seed cluster.
- Parameters
-
pSeedCluster | pointer to the initial cluster |
clusterMergeMap | the map of cluster associations |
associatedClusterList | the output list of associated clusters |
Definition at line 97 of file ClusterMergingAlgorithm.cc.
◆ CollectAssociatedClusters() [2/2]
Collect up all clusters associations related to a given seed cluster.
- Parameters
-
pSeedCluster | pointer to the initial cluster |
pCurrentCluster | pointer to the current cluster |
clusterMergeMap | the map of cluster associations |
clusterVetoList | the list of clusters that have already been merged |
associatedClusterList | the output list of associated clusters |
Definition at line 106 of file ClusterMergingAlgorithm.cc.
◆ FillClusterAssociationMatrix()
◆ FillClusterMergeMap()
◆ 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.
◆ GetListOfCleanClusters()
◆ 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.
◆ GetSortedListOfCleanClusters()
Sort the selected clusters, so that they have a well-defined ordering.
- Parameters
-
inputClusters | the input vector of clusters |
outputClusters | the output vector of clusters |
Definition at line 135 of file ClusterMergingAlgorithm.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 |
◆ IsAcrossGap()
bool lar_content::CrossGapsExtensionAlgorithm::IsAcrossGap |
( |
const float |
minZ, |
|
|
const float |
maxZ, |
|
|
const pandora::HitType |
hitType |
|
) |
| const |
|
private |
Determine whether a start and end position sit either side of a gap.
- Parameters
-
minZ | the start position |
maxZ | the end position |
hitType | the hitType |
Definition at line 144 of file CrossGapsExtensionAlgorithm.cc.
◆ IsAssociated()
Use pointing information to determine whether two clusters are associated.
- Parameters
-
pointingVertex1 | the first pointing vertex |
pointingVertex2 | the second pointing vertex |
Definition at line 130 of file CrossGapsExtensionAlgorithm.cc.
◆ MergeClusters()
Merge associated clusters.
- Parameters
-
clusterVector | the vector of clean clusters |
clusterMergeMap | the matrix of cluster associations |
Definition at line 62 of file ClusterMergingAlgorithm.cc.
◆ PopulateClusterMergeMap()
|
protectedvirtualinherited |
◆ 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::ClusterMergingAlgorithm::Run |
( |
| ) |
|
|
protectedvirtualinherited |
◆ m_inputClusterListName
std::string lar_content::ClusterMergingAlgorithm::m_inputClusterListName |
|
protectedinherited |
The name of the input cluster list. If not specified, will access current list.
Definition at line 83 of file ClusterMergingAlgorithm.h.
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_maxGapTolerance
float lar_content::CrossGapsExtensionAlgorithm::m_maxGapTolerance |
|
private |
◆ m_maxRelativeAngle
float lar_content::CrossGapsExtensionAlgorithm::m_maxRelativeAngle |
|
private |
◆ m_maxTransverseDisplacement
float lar_content::CrossGapsExtensionAlgorithm::m_maxTransverseDisplacement |
|
private |
◆ m_minClusterLength
float lar_content::CrossGapsExtensionAlgorithm::m_minClusterLength |
|
private |
◆ m_minGapFraction
float lar_content::CrossGapsExtensionAlgorithm::m_minGapFraction |
|
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.
The documentation for this class was generated from the following files: