|
static pandora::StatusCode | GetCentroid (const pandora::Cluster *const pCluster, pandora::CartesianVector ¢roid) |
| Get the cluster centroid. More...
|
|
static pandora::StatusCode | GetClosestDistanceApproach (const pandora::Cluster *const pCluster, const pandora::CartesianVector &point, float &closestDistance, bool onlyUseConnectedHit=true) |
| Get the closest distance approach between all the hits of the cluster and the given position vector. More...
|
|
static pandora::StatusCode | GetClosestDistanceApproach (const pandora::CaloHitList &caloHitList, const pandora::CartesianVector &point, float &closestDistance, bool onlyUseConnectedHit=true) |
|
static pandora::StatusCode | GetCentroidDistance (const pandora::Cluster *const pCluster, const pandora::CartesianVector &point, float ¢roidDistance) |
| Get the distance between the cluster centroid and the given position vector. More...
|
|
static float | GetHadronicEnergyInECAL (const pandora::Cluster *const pCluster) |
|
static float | GetEnergyRatio (const pandora::OrderedCaloHitList &orderedCaloHitList) |
|
static pandora::StatusCode | GetEnergyRatio (const pandora::OrderedCaloHitList &orderedCaloHitList, float &energyRatio, unsigned int &nHits) |
|
static pandora::HitRegion | GetRegion (const pandora::Cluster *const pCluster) |
|
static float | GetElectromagneticEnergyInECAL (const pandora::Cluster *const pCluster) |
|
static pandora::StatusCode | GetClusterVolume (const pandora::Cluster *const pCluster, float &clusterVolume) |
|
static pandora::StatusCode | FitStart (const pandora::Cluster *const pCluster, const unsigned int maxOccupiedLayers, pandora::ClusterFitResult &clusterFitResult) |
|
static pandora::StatusCode | FitFullCluster (const pandora::Cluster *const pCluster, pandora::ClusterFitResult &clusterFitResult, bool useMainCluster=false, float eps=50.) |
|
static pandora::StatusCode | GetMainClusterHits (const pandora::Cluster *const pCluster, pandora::CaloHitList &mainClusterHits) |
|
static pandora::OrderedCaloHitList | GetOrderedConnectedCaloHitList (const pandora::Cluster *const pCluster) |
|
static float | GetClusterAxisStartingPointAngle (const pandora::Cluster *const pCluster) |
|
static void | GetShowerStartingPoint (const pandora::Cluster *const pCluster, pandora::CartesianVector &startingPoint) |
|
static void | GetShowerStartingLayer (const pandora::Cluster *const pCluster, int &showerStartLayer) |
|
static pandora::StatusCode | GetClosestDistanceApproach (const pandora::Cluster *const pCluster, const pandora::CartesianVector &point, float &closestDistance, pandora::CartesianVector &distanceVector, bool onlyUseConnectedHit=true) |
| Get the closest distance approach between all the hits of the clusters. More...
|
|
static pandora::StatusCode | GetClosestDistanceApproach (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, float &closestDistance, pandora::CartesianVector &distanceVector, bool onlyUseConnectedHit=true) |
|
static pandora::StatusCode | GetClosestDistanceApproach (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, float &closestDistance, bool onlyUseConnectedHit=true) |
|
static pandora::StatusCode | GetClosestDistanceApproach (const pandora::CaloHitList &caloHitList1, const pandora::CaloHitList &caloHitList2, float &closestDistance, bool onlyUseConnectedHit=true) |
|
static pandora::StatusCode | GetTrackClusterDistance (const pandora::TrackState *const pTrackState, const pandora::Cluster *const pCluster, const unsigned int maxSearchLayer, const float parallelDistanceCut, const float minTrackClusterCosAngle, float &trackClusterDistance) |
|
static pandora::StatusCode | GetNCaloHitSeeds (const pandora::Cluster *const pCluster, unsigned int &nSeeds) |
| Get the number of calo hit seeds in the cluster. More...
|
|
static bool | IsClusterLeavingDetector (const pandora::Cluster *const pCluster, const unsigned int nOuterLayersToExamine=4, const unsigned int nMipLikeOccupiedLayers=4, const unsigned int nShowerLikeOccupiedLayers=3, const float showerLikeEnergyInOuterLayers=1.f) |
| Whether the cluster is leaving the detector. More...
|
|
static bool | ContainsHitInOuterSamplingLayer (const pandora::Cluster *const pCluster) |
|
static bool | IsClusterLeavingDetector (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, unsigned int nOuterLayersToExamine=3, float maxDistanceToDetectorEdge=50.f, unsigned int minNHitsNearEdges=3) |
|
static bool | ContainsHitType (const pandora::Cluster *const pCluster, const pandora::HitType hitType) |
| Whether the cluster contains at least one hit of target type. More...
|
|
static pandora::StatusCode | GetMeanSurroundingEnergy (const pandora::Cluster *const pCluster, float &meanSurroundingEnergy) |
| Get the mean surrounding energy of the cluster. More...
|
|
static pandora::StatusCode | GetMeanDensity (const pandora::Cluster *const pCluster, float &meanDensity) |
| Get the mean density of the cluster. More...
|
|
static float | GetMeanDensity (const pandora::Cluster *const pCluster) |
|
static pandora::StatusCode | GetChiClusterMerging (const pandora::Pandora &pandora, const pandora::Cluster *const pClusterToEnlarge, const pandora::Cluster *const pClusterToMerge, float &trackEnergy, float &oldChi, float &newChi) |
| Evaluate the chi before and after to merge the two clusters. More...
|
|
static pandora::StatusCode | MergeClusters (const pandora::Algorithm &algorithm, ClusterToClusterMap &clusterToClusterMap) |
| Perform intelligent merging of clusters (daughter <-> parent relationship management) More...
|
|
static pandora::StatusCode | GetTrackClusterDistance (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, const pandora::Track *const pTrack, const float maxTransverseDistance, float &trackClusterDistance) |
| Get the track cluster distance. More...
|
|
static bool | DoesClusterCrossGapRegion (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, const unsigned int startLayer, const unsigned int endLayer, const pandora::DetectorGap *&pDetectorGap, const unsigned int nSamplingPoints=50) |
| Whether a linear fit to a cluster crosses a registered gap region. Only the region between the startlayer and endlayer is considered in the fit and in the comparison with registered gap regions. More...
|
|
static bool | DoesFitCrossGapRegion (const pandora::Pandora &pandora, const pandora::ClusterFitResult &clusterFitResult, const pandora::CartesianVector &startPosition, const float propagationDistance, const pandora::DetectorGap *&pDetectorGap, const unsigned int nSamplingPoints=50) |
| Whether a linear fit crosses a registered gap region. The fit will be propagated through the specified distance from its closest approach to the startPosition. Within this propagation, the fit will be sampled a specified number of times and the resulting position compared with registered gap regions. More...
|
|
static pandora::StatusCode | GetDistanceToDetectorGap (const pandora::CartesianVector &positionVector, const pandora::DetectorGap *const pDetectorGap, float &distanceToGap) |
| Get the distance to detector gap. More...
|
|
static pandora::StatusCode | GetCaloHitsNearDetectorGaps (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, const float maxDistanceFine, const float maxDistanceCoarse, pandora::CaloHitList &caloHitList, bool shouldUseIsolatedHits) |
| Get the calo hit list belonging to the cluster, close to all registered detector gaps. More...
|
|
static pandora::StatusCode | GetCaloHitsNearDetectorGap (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, const pandora::DetectorGap *const pDetectorGap, const float maxDistanceFine, const float maxDistanceCoarse, pandora::CaloHitList &caloHitList, bool shouldUseIsolatedHits) |
| Get the calo hit list belonging to the cluster, close to all registered detector gaps. More...
|
|
static pandora::StatusCode | CleanAndDeleteCluster (const pandora::Algorithm &algorithm, const pandora::Cluster *const pCluster) |
|
static pandora::StatusCode | CleanAndDeleteClusters (const pandora::Algorithm &algorithm, const pandora::ClusterList &clusterList) |
|
static bool | CanMergeCluster (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, const float minMipFraction, const float maxAllHitsFitRms) |
|
static float | GetAverageTime (const pandora::Cluster *const pCluster, bool onlyForECALHit=false) |
|
static float | GetMeanHitPerLayer (const pandora::Cluster *const pCluster) |
|
static pandora::StatusCode | GetMainClusterHits (const pandora::Cluster *const pCluster, pandora::CaloHitList &mainClusterHits, float eps) |
|
static pandora::StatusCode | GetRMS (const pandora::Cluster *const pCluster, pandora::CartesianVector cog, pandora::CartesianVector axis, float &rms1, float &rms2) |
|
static pandora::StatusCode | GetRMS (const pandora::CaloHitList &clusterHits, pandora::CartesianVector cog, pandora::CartesianVector axis, float &rms1, float &rms2) |
|
static unsigned int | GetClusterConnectorNumber (const pandora::Cluster *const pCluster) |
|