DeltaRayMatchingContainers class. More...
#include <DeltaRayMatchingContainers.h>
Public Types | |
| typedef std::map< const pandora::Cluster *, const pandora::ParticleFlowObject * > | ClusterToPfoMap |
| typedef std::map< const pandora::Cluster *, pandora::ClusterList > | ClusterProximityMap |
Public Member Functions | |
| DeltaRayMatchingContainers () | |
| Default constructor. More... | |
| const ClusterToPfoMap & | GetClusterToPfoMap (const pandora::HitType hitType) const |
| Get the mapping of clusters to the pfos to which they belong. More... | |
| const ClusterProximityMap & | GetClusterProximityMap (const pandora::HitType hitType) const |
| Get the mapping of clusters to to their neighbouring clusters. More... | |
| void | FillContainers (const pandora::PfoList &inputPfoList, const pandora::ClusterList &inputClusterList1, const pandora::ClusterList &inputClusterList2=pandora::ClusterList(), const pandora::ClusterList &inputClusterList3=pandora::ClusterList()) |
| Fill the HitToClusterMap, the ClusterProximityMap and the ClusterToPfoMap in all input views. More... | |
| void | AddClustersToPfoMaps (const pandora::ParticleFlowObject *const pPfo) |
| Add the clusters of a cosmic ray/delta ray pfo to the cluster to pfo maps. More... | |
| void | AddClustersToContainers (const pandora::ClusterVector &newClusterVector, const pandora::PfoVector &pfoVector) |
| Add a list of clusters to the hit to cluster and cluster proximity maps and, if appropriate, to the cluster to pfo map. More... | |
| void | RemoveClusterFromContainers (const pandora::Cluster *const pDeletedCluster) |
| Remove an input cluster's hits from the hit to cluster and cluster proximity maps and, if appropriate, from the cluster to pfo map. More... | |
| void | ClearContainers () |
| Empty all algorithm containers. More... | |
Public Attributes | |
| float | m_searchRegion1D |
| Search region, applied to each dimension, for look-up from kd-tree. More... | |
Private Types | |
| typedef std::map< const pandora::CaloHit *, const pandora::Cluster * > | HitToClusterMap |
| typedef KDTreeLinkerAlgo< const pandora::CaloHit *, 2 > | HitKDTree2D |
| typedef KDTreeNodeInfoT< const pandora::CaloHit *, 2 > | HitKDNode2D |
| typedef std::vector< HitKDNode2D > | HitKDNode2DList |
Private Member Functions | |
| void | FillHitToClusterMap (const pandora::ClusterList &inputClusterList) |
| Populate the hit to cluster map from a list of clusters. More... | |
| void | AddToClusterMap (const pandora::Cluster *const pCluster) |
| Add the hits of a given cluster to the hit to cluster map. More... | |
| void | FillClusterToPfoMaps (const pandora::PfoList &pfoList) |
| Populate all cluster to pfo maps from a list of particle flow objects. More... | |
| void | FillClusterProximityMap (const pandora::ClusterList &inputClusterList) |
| Populate the cluster proximity map from a list of clusters. More... | |
| void | BuildKDTree (const pandora::HitType hitType) |
| Build the KD tree. More... | |
| void | AddToClusterProximityMap (const pandora::Cluster *const pCluster) |
| Add a cluster to the cluster proximity map. More... | |
Private Attributes | |
| HitToClusterMap | m_hitToClusterMapU |
| The mapping of hits to the clusters to which they belong (in the U view) More... | |
| HitToClusterMap | m_hitToClusterMapV |
| The mapping of hits to the clusters to which they belong (in the V view) More... | |
| HitToClusterMap | m_hitToClusterMapW |
| The mapping of hits to the clusters to which they belong (in the W view) More... | |
| HitKDTree2D | m_kdTreeU |
| The KD tree (in the U view) More... | |
| HitKDTree2D | m_kdTreeV |
| The KD tree (in the V view) More... | |
| HitKDTree2D | m_kdTreeW |
| The KD tree (in the W view) More... | |
| ClusterProximityMap | m_clusterProximityMapU |
| The mapping of clusters to their neighbouring clusters (in the U view) More... | |
| ClusterProximityMap | m_clusterProximityMapV |
| The mapping of clusters to their neighbouring clusters (in the V view) More... | |
| ClusterProximityMap | m_clusterProximityMapW |
| The mapping of clusters to their neighbouring clusters (in the W view) More... | |
| ClusterToPfoMap | m_clusterToPfoMapU |
| The mapping of cosmic ray U clusters to the cosmic ray pfos to which they belong. More... | |
| ClusterToPfoMap | m_clusterToPfoMapV |
| The mapping of cosmic ray V clusters to the cosmic ray pfos to which they belong. More... | |
| ClusterToPfoMap | m_clusterToPfoMapW |
| The mapping of cosmic ray W clusters to the cosmic ray pfos to which they belong. More... | |
DeltaRayMatchingContainers class.
Definition at line 21 of file DeltaRayMatchingContainers.h.
| typedef std::map<const pandora::Cluster *, pandora::ClusterList> lar_content::DeltaRayMatchingContainers::ClusterProximityMap |
Definition at line 25 of file DeltaRayMatchingContainers.h.
| typedef std::map<const pandora::Cluster *, const pandora::ParticleFlowObject *> lar_content::DeltaRayMatchingContainers::ClusterToPfoMap |
Definition at line 24 of file DeltaRayMatchingContainers.h.
|
private |
Definition at line 90 of file DeltaRayMatchingContainers.h.
Definition at line 91 of file DeltaRayMatchingContainers.h.
|
private |
Definition at line 89 of file DeltaRayMatchingContainers.h.
|
private |
Definition at line 88 of file DeltaRayMatchingContainers.h.
| lar_content::DeltaRayMatchingContainers::DeltaRayMatchingContainers | ( | ) |
Default constructor.
Definition at line 23 of file DeltaRayMatchingContainers.cc.
| void lar_content::DeltaRayMatchingContainers::AddClustersToContainers | ( | const pandora::ClusterVector & | newClusterVector, |
| const pandora::PfoVector & | pfoVector | ||
| ) |
Add a list of clusters to the hit to cluster and cluster proximity maps and, if appropriate, to the cluster to pfo map.
| newClusterVector | the ordered cluster vector |
| pfoVector | the matching ordered vector of pfos to which the clusters belong (nullptr if not applicable) |
Definition at line 169 of file DeltaRayMatchingContainers.cc.
| void lar_content::DeltaRayMatchingContainers::AddClustersToPfoMaps | ( | const pandora::ParticleFlowObject *const | pPfo | ) |
Add the clusters of a cosmic ray/delta ray pfo to the cluster to pfo maps.
| the | address of the input cosmic ray/delta ray pfo |
Definition at line 148 of file DeltaRayMatchingContainers.cc.
|
private |
Add the hits of a given cluster to the hit to cluster map.
| pCluster | the address of the input cluster |
Definition at line 53 of file DeltaRayMatchingContainers.cc.
|
private |
Add a cluster to the cluster proximity map.
| pCluster | the address of the input cluster |
Definition at line 100 of file DeltaRayMatchingContainers.cc.
|
private |
Build the KD tree.
| hitType | the hit type of the KD tree to build |
Definition at line 82 of file DeltaRayMatchingContainers.cc.
| void lar_content::DeltaRayMatchingContainers::ClearContainers | ( | ) |
Empty all algorithm containers.
Definition at line 239 of file DeltaRayMatchingContainers.cc.
|
private |
Populate the cluster proximity map from a list of clusters.
| inputClusterList | the input list of clusters |
Definition at line 67 of file DeltaRayMatchingContainers.cc.
|
private |
Populate all cluster to pfo maps from a list of particle flow objects.
| pfoList | the input list of pfos |
Definition at line 140 of file DeltaRayMatchingContainers.cc.
| void lar_content::DeltaRayMatchingContainers::FillContainers | ( | const pandora::PfoList & | inputPfoList, |
| const pandora::ClusterList & | inputClusterList1, | ||
| const pandora::ClusterList & | inputClusterList2 = pandora::ClusterList(), |
||
| const pandora::ClusterList & | inputClusterList3 = pandora::ClusterList() |
||
| ) |
Fill the HitToClusterMap, the ClusterProximityMap and the ClusterToPfoMap in all input views.
| inputPfoList | the input list of pfos |
| inputClusterList1 | the input list of clusters in view 1 |
| inputClusterList2 | the input list of clusters in view 2 |
| inputClusterList3 | the input list of clusters in view 3 |
Definition at line 29 of file DeltaRayMatchingContainers.cc.
|
private |
Populate the hit to cluster map from a list of clusters.
| inputClusterList | the input list of clusters |
Definition at line 45 of file DeltaRayMatchingContainers.cc.
|
inline |
Get the mapping of clusters to to their neighbouring clusters.
Definition at line 152 of file DeltaRayMatchingContainers.h.
|
inline |
Get the mapping of clusters to the pfos to which they belong.
Definition at line 159 of file DeltaRayMatchingContainers.h.
| void lar_content::DeltaRayMatchingContainers::RemoveClusterFromContainers | ( | const pandora::Cluster *const | pDeletedCluster | ) |
Remove an input cluster's hits from the hit to cluster and cluster proximity maps and, if appropriate, from the cluster to pfo map.
| pDeletedCluster | the input cluster |
Definition at line 188 of file DeltaRayMatchingContainers.cc.
|
private |
The mapping of clusters to their neighbouring clusters (in the U view)
Definition at line 141 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of clusters to their neighbouring clusters (in the V view)
Definition at line 142 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of clusters to their neighbouring clusters (in the W view)
Definition at line 143 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of cosmic ray U clusters to the cosmic ray pfos to which they belong.
Definition at line 144 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of cosmic ray V clusters to the cosmic ray pfos to which they belong.
Definition at line 145 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of cosmic ray W clusters to the cosmic ray pfos to which they belong.
Definition at line 146 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of hits to the clusters to which they belong (in the U view)
Definition at line 135 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of hits to the clusters to which they belong (in the V view)
Definition at line 136 of file DeltaRayMatchingContainers.h.
|
private |
The mapping of hits to the clusters to which they belong (in the W view)
Definition at line 137 of file DeltaRayMatchingContainers.h.
|
private |
The KD tree (in the U view)
Definition at line 138 of file DeltaRayMatchingContainers.h.
|
private |
The KD tree (in the V view)
Definition at line 139 of file DeltaRayMatchingContainers.h.
|
private |
The KD tree (in the W view)
Definition at line 140 of file DeltaRayMatchingContainers.h.
| float lar_content::DeltaRayMatchingContainers::m_searchRegion1D |
Search region, applied to each dimension, for look-up from kd-tree.
Definition at line 85 of file DeltaRayMatchingContainers.h.
1.8.11