CaloHitMergingTool class.
More...
#include <CaloHitMergingTool.h>
|
virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read settings from the xml handle. More...
|
|
virtual pandora::StatusCode | MergeCaloHits (const pandora::Algorithm &algorithm, const pandora::CaloHitList &caloHitList, const pandora::ClusterVector &clusterVector) |
| Merge the calo hit list in provided cluster list. More...
|
|
|
typedef std::map< int, float > | PidToDistanceMap |
| The pid flag to max merging distance map typedef.
|
|
|
pandora::StatusCode | FindCaloHitClusterMerging (const pandora::Algorithm &algorithm, const pandora::CaloHitList &caloHitList, const pandora::ClusterVector &clusterVector, CaloHitToClusterMap &caloHitToClusterMap) const |
| Find a possible parent cluster for each hit. More...
|
|
pandora::StatusCode | MergeCaloHits (const pandora::Algorithm &algorithm, const CaloHitToClusterMap &caloHitToClusterMap) const |
| Merge the calo hits in their target cluster. More...
|
|
float | GetMaxCaloHitDistance (const pandora::Algorithm &algorithm, const pandora::CaloHit *const pCaloHit, const pandora::Cluster *const pCluster) const |
| Get the maximum distance to merge the calo hit into that cluster. More...
|
|
pandora::StatusCode april_content::CaloHitMergingTool::FindCaloHitClusterMerging |
( |
const pandora::Algorithm & |
algorithm, |
|
|
const pandora::CaloHitList & |
caloHitList, |
|
|
const pandora::ClusterVector & |
clusterVector, |
|
|
CaloHitToClusterMap & |
caloHitToClusterMap |
|
) |
| const |
|
private |
Find a possible parent cluster for each hit.
- Parameters
-
algorithm | the algorithm calling this function |
caloHitList | the input calo hit list |
clusterVector | the input cluster list |
caloHitToClusterMap | the map of calo hit to cluster to merge |
float april_content::CaloHitMergingTool::GetMaxCaloHitDistance |
( |
const pandora::Algorithm & |
algorithm, |
|
|
const pandora::CaloHit *const |
pCaloHit, |
|
|
const pandora::Cluster *const |
pCluster |
|
) |
| const |
|
private |
Get the maximum distance to merge the calo hit into that cluster.
- Parameters
-
algorithm | the algorithm calling this function |
pCaloHit | the calo hit to merge |
pCluster | the potential cluster to merge the calo hit in |
- Returns
- float the maximum distance to merge the calo hit into that cluster
pandora::StatusCode april_content::CaloHitMergingTool::MergeCaloHits |
( |
const pandora::Algorithm & |
algorithm, |
|
|
const pandora::CaloHitList & |
caloHitList, |
|
|
const pandora::ClusterVector & |
clusterVector |
|
) |
| |
|
virtual |
Merge the calo hit list in provided cluster list.
- Parameters
-
algorithm | the algorithm calling this function |
caloHitList | the calo hits to merge |
clusterVector | the cluster list to enlarge with calo hits |
pandora::StatusCode april_content::CaloHitMergingTool::MergeCaloHits |
( |
const pandora::Algorithm & |
algorithm, |
|
|
const CaloHitToClusterMap & |
caloHitToClusterMap |
|
) |
| const |
|
private |
Merge the calo hits in their target cluster.
- Parameters
-
algorithm | the algorithm calling this function |
caloHitToClusterMap | the calo hit to cluster map to perform the merging |
pandora::StatusCode april_content::CaloHitMergingTool::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
virtual |
Read settings from the xml handle.
- Parameters
-
xmlHandle | the xml handle to settings |
The documentation for this class was generated from the following files: