LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
LArClusterHelper class. More...
#include "LArClusterHelper.h"
Static Public Member Functions | |
static pandora::HitType | GetClusterHitType (const pandora::Cluster *const pCluster) |
Get the hit type associated with a two dimensional cluster. More... | |
static void | GetClustersUVW (const pandora::ClusterList &inputClusters, pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) |
Divide an input cluster list into separate u, v and w lists (exception raised if alternative hit type encountered) More... | |
static void | GetClustersByHitType (const pandora::ClusterList &inputClusters, const pandora::HitType hitType, pandora::ClusterList &clusterList) |
Get the subset of clusters, from a provided list, that match the specified hit type. More... | |
static float | GetLengthSquared (const pandora::Cluster *const pCluster) |
Get length squared of cluster. More... | |
static float | GetLength (const pandora::Cluster *const pCluster) |
Get length of cluster. More... | |
static float | GetEnergyFromLength (const pandora::Cluster *const pCluster) |
Get energy of cluster, based on length. More... | |
static unsigned int | GetLayerSpan (const pandora::Cluster *const pCluster) |
Get number of layers spanned by cluster (1+Last-First) More... | |
static float | GetLayerOccupancy (const pandora::Cluster *const pCluster) |
Fraction of occupied layers in cluster. More... | |
static float | GetLayerOccupancy (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) |
Fraction of occupied layers in a pair of clusters. More... | |
static float | GetClosestDistance (const pandora::ClusterList &clusterList1, const pandora::ClusterList &clusterList2) |
Get closest distance between clusters in a pair of cluster lists. More... | |
static float | GetClosestDistance (const pandora::Cluster *const pCluster, const pandora::ClusterList &clusterList) |
Get closest distance between a specified cluster and list of clusters. More... | |
static float | GetClosestDistance (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) |
Get closest distance between a pair of clusters. More... | |
static float | GetClosestDistance (const pandora::CartesianVector &position, const pandora::ClusterList &clusterList) |
Get closest distance between a specified position and list of clusters. More... | |
static float | GetClosestDistance (const pandora::CartesianVector &position, const pandora::Cluster *const pCluster) |
Get closest distance between a specified position vector and the hits in a specified cluster. More... | |
static pandora::CartesianVector | GetClosestPosition (const pandora::CartesianVector &position, const pandora::ClusterList &clusterList) |
Get closest position in a list of clusters to a specified input position vector. More... | |
static pandora::CartesianVector | GetClosestPosition (const pandora::CartesianVector &position, const pandora::Cluster *const pCluster) |
Get closest position on a cluster to a specified input position vector. More... | |
static void | GetClosestPositions (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, pandora::CartesianVector &position1, pandora::CartesianVector &position2) |
Get pair of closest positions for a pair of clusters. More... | |
static void | GetExtremalCoordinates (const pandora::ClusterList &clusterList, pandora::CartesianVector &innerCoordinate, pandora::CartesianVector &outerCoordinate) |
Get positions of the two most distant calo hits in a list of cluster (ordered by Z) More... | |
static void | GetExtremalCoordinates (const pandora::Cluster *const pCluster, pandora::CartesianVector &innerCoordinate, pandora::CartesianVector &outerCoordinate) |
Get positions of the two most distant calo hits in a cluster (ordered by Z) More... | |
static void | GetExtremalCoordinates (const pandora::OrderedCaloHitList &orderedCaloHitList, pandora::CartesianVector &innerCoordinate, pandora::CartesianVector &outerCoordinate) |
Get positions of the two most distant calo hits in an ordered calo hit list (ordered by Z) More... | |
static void | GetExtremalCoordinates (const pandora::CartesianPointVector &coordinateVector, pandora::CartesianVector &innerCoordinate, pandora::CartesianVector &outerCoordinate) |
Get positions of the two most distant points in a provided list (ordered by Z) More... | |
static void | GetClusterBoundingBox (const pandora::Cluster *const pCluster, pandora::CartesianVector &minimumCoordinate, pandora::CartesianVector &maximumCoordinate) |
Get minimum and maximum X, Y and Z positions of the calo hits in a cluster. More... | |
static void | GetClusterSpanX (const pandora::Cluster *const pCluster, float &xmin, float &xmax) |
Get minimum and maximum X positions of the calo hits in a cluster. More... | |
static void | GetClusterSpanZ (const pandora::Cluster *const pCluster, const float xmin, const float xmax, float &zmin, float &zmax) |
Get upper and lower Z positions of the calo hits in a cluster in range xmin to xmax. More... | |
static void | GetCoordinateVector (const pandora::Cluster *const pCluster, pandora::CartesianPointVector &coordinateVector) |
Get vector of hit coordinates from an input cluster. More... | |
static pandora::StatusCode | GetAverageZ (const pandora::Cluster *const pCluster, const float xmin, const float xmax, float &averageZ) |
Get average Z positions of the calo hits in a cluster in range xmin to xmax. More... | |
static bool | SortByNOccupiedLayers (const pandora::Cluster *const pLhs, const pandora::Cluster *const pRhs) |
Sort clusters by number of occupied layers, and by inner layer, then energy in event of a tie. More... | |
static bool | SortByNHits (const pandora::Cluster *const pLhs, const pandora::Cluster *const pRhs) |
Sort clusters by number of hits, then layer span, then inner layer, then position, then pulse-height. More... | |
static bool | SortByLayerSpan (const pandora::Cluster *const pLhs, const pandora::Cluster *const pRhs) |
Sort clusters by layer span, then inner layer, then position, then pulse-height. More... | |
static bool | SortByInnerLayer (const pandora::Cluster *const pLhs, const pandora::Cluster *const pRhs) |
Sort clusters by inner layer, then position, then pulse-height. More... | |
static bool | SortByPosition (const pandora::Cluster *const pLhs, const pandora::Cluster *const pRhs) |
Sort clusters by position, then pulse-height. More... | |
static bool | SortByPulseHeight (const pandora::Cluster *const pLhs, const pandora::Cluster *const pRhs) |
Sort clusters by pulse-height. More... | |
static bool | SortHitsByPosition (const pandora::CaloHit *const pLhs, const pandora::CaloHit *const pRhs) |
Sort calo hits by their position (use Z, followed by X, followed by Y) More... | |
static bool | SortHitsByPulseHeight (const pandora::CaloHit *const pLhs, const pandora::CaloHit *const pRhs) |
Sort calo hits by their pulse height. More... | |
static bool | SortCoordinatesByPosition (const pandora::CartesianVector &lhs, const pandora::CartesianVector &rhs) |
Sort cartesian vectors by their position (use Z, followed by X, followed by Y) More... | |
LArClusterHelper class.
Definition at line 19 of file LArClusterHelper.h.
|
static |
Get average Z positions of the calo hits in a cluster in range xmin to xmax.
pCluster | address of the cluster |
xmin | for range in x |
xmax | for range in x |
averageZ | to receive the average Z position |
Definition at line 403 of file LArClusterHelper.cc.
Referenced by lar_content::ThreeDRemnantsAlgorithm::CalculateOverlapResult(), lar_content::ParticleRecoveryAlgorithm::CheckConsistency(), and lar_content::CosmicRayShowerMatchingAlgorithm::CheckMatchedClusters3D().
|
static |
Get closest distance between clusters in a pair of cluster lists.
clusterList1 | the first cluster list |
clusterList2 | the second cluster list |
Referenced by lar_content::ShowerGrowingAlgorithm::AreClustersAssociated(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterTrack(), lar_content::OvershootSplittingAlgorithm::BuildIntersectionMap(), lar_content::SplitShowersTool::CheckClusterProximities(), lar_content::CosmicRayTrackMatchingAlgorithm::CheckMatchedClusters3D(), lar_content::NearbyClusterMopUpAlgorithm::ClusterMopUp(), lar_content::CosmicRaySplittingAlgorithm::ConfirmSplitPosition(), lar_content::DeltaRaySplittingAlgorithm::FindBestSplitPosition(), lar_content::CrossedTrackSplittingAlgorithm::FindBestSplitPosition(), lar_content::DeltaRayIdentificationAlgorithm::GetClosestDistance(), lar_content::DeltaRayMatchingAlgorithm::GetDistanceSquaredToPfo(), lar_content::GlobalAsymmetryFeatureTool::GetGlobalAsymmetryForView(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), lar_content::DeltaRayGrowingAlgorithm::GetListOfSeedClusters(), lar_content::LocalAsymmetryFeatureTool::GetLocalAsymmetryForView(), lar_content::CutClusterCharacterisationAlgorithm::GetVertexDistance(), lar_content::SimpleClusterMergingAlgorithm::IsAssociated(), lar_content::ConnectedRemnantsTool::IsConnected(), lar_content::ClusterGrowingAlgorithm::PopulateClusterMergeMap(), lar_content::BranchAssociatedPfosTool::Run(), lar_content::CosmicRayTrackMatchingAlgorithm::SelectCleanClusters(), and lar_content::ShowerAsymmetryFeatureTool::ShouldUseShowerCluster().
|
static |
Get closest distance between a specified cluster and list of clusters.
pCluster | address of the input cluster |
clusterList | list of input clusters |
|
static |
Get closest distance between a pair of clusters.
pCluster1 | address of the first cluster |
pCluster2 | address of the second cluster |
|
static |
Get closest distance between a specified position and list of clusters.
position | the position vector |
clusterList | list of input clusters |
|
static |
Get closest distance between a specified position vector and the hits in a specified cluster.
position | the position vector |
pCluster | address of the cluster |
|
static |
Get closest position in a list of clusters to a specified input position vector.
position | the position vector |
clusterList | list of input clusters |
Referenced by lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterShower(), lar_content::CrossedTrackSplittingAlgorithm::FindCandidateSplitPositions(), lar_content::CosmicRaySplittingAlgorithm::GetCaloHitListToMove(), lar_content::DeltaRayExtensionAlgorithm::GetExtremalCoordinatesFromCache(), lar_content::CosmicRaySplittingAlgorithm::IdentifyCrossedTracks(), lar_content::TransverseAssociationAlgorithm::IsAssociated(), lar_content::TransverseAssociationAlgorithm::IsOverlapping(), and lar_content::TrackConsolidationAlgorithm::TrackConsolidationAlgorithm().
|
static |
Get closest position on a cluster to a specified input position vector.
position | the position vector |
pCluster | address of the cluster |
|
static |
Get pair of closest positions for a pair of clusters.
pCluster1 | the address of the first cluster |
pCluster2 | the address of the second cluster |
the | closest position in the first cluster |
the | closest position in the second cluster |
Definition at line 267 of file LArClusterHelper.cc.
Referenced by lar_content::CosmicRayVertexBuildingAlgorithm::BuildCosmicRayDaughter(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterShower(), and lar_content::EndAssociatedPfosTool::IsCloseToParentEndpoint().
|
static |
Get minimum and maximum X, Y and Z positions of the calo hits in a cluster.
pCluster | address of the cluster |
the | minimum positions (x,y,z) |
the | maximum positions (x,y,z) |
Definition at line 316 of file LArClusterHelper.cc.
Referenced by lar_content::ThreeDTrackFragmentsAlgorithm::CheckMatchedClusters(), lar_content::SvmVertexSelectionAlgorithm::GetEventShapeFeatures(), and lar_content::CosmicRayTrackRecoveryAlgorithm::SelectCleanClusters().
|
static |
Get the hit type associated with a two dimensional cluster.
pCluster | the address of the cluster |
Definition at line 20 of file LArClusterHelper.cc.
Referenced by lar_content::ParticleRecoveryAlgorithm::SimpleOverlapTensor::AddAssociation(), lar_content::DeltaRayMatchingAlgorithm::AddToDaughterPfo(), lar_content::DeltaRayMatchingAlgorithm::AreClustersMatched(), lar_content::EventSlicingTool::AssignRemainingHitsToSlices(), lar_content::CrossGapsExtensionAlgorithm::BuildPointingClusterList(), lar_content::TrackHitsBaseTool::BuildSlidingFitMap(), lar_content::TwoDLinearFitFeatureTool::CalculateVariablesSlidingLinearFit(), lar_content::ThreeDLinearFitFeatureTool::CalculateVariablesSlidingLinearFit(), lar_content::SplitShowersTool::CheckClusterVertexRelations(), lar_content::CosmicRayShowerMatchingAlgorithm::CheckMatchedClusters3D(), lar_content::CosmicRayTrackMatchingAlgorithm::CheckMatchedClusters3D(), lar_content::TracksCrossingGapsTool::CheckXPositionInGap(), lar_content::ConeClusterMopUpAlgorithm::ClusterMopUp(), lar_content::NearbyClusterMopUpAlgorithm::ClusterMopUp(), lar_content::EventSlicingTool::CopyPfoHitsToSlices(), lar_content::CandidateVertexCreationAlgorithm::CreateEndpointCandidates(), lar_content::CandidateVertexCreationAlgorithm::CreateEndpointVertex(), lar_content::EventSlicingTool::CreateSlices(), lar_content::CrossGapsExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::VertexSplittingAlgorithm::FindBestSplitPosition(), lar_content::ShowerGrowingAlgorithm::GetAllVertexSeedCandidates(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetAvailableClusters(), lar_content::VertexBasedPfoMopUpAlgorithm::GetClusterAssociation(), lar_content::ClusterMopUpBaseAlgorithm::GetClusterLists(), lar_content::VertexSelectionBaseAlgorithm::GetClusterLists(), lar_content::SlidingConeClusterMopUpAlgorithm::GetClusterMergeMap(), lar_content::ParticleRecoveryAlgorithm::SimpleOverlapTensor::GetConnectedElements(), lar_content::DeltaRayMatchingAlgorithm::GetDistanceSquaredToPfo(), lar_content::ShowerGrowingAlgorithm::GetFigureOfMerit(), lar_content::ParticleRecoveryAlgorithm::GetInputClusters(), lar_content::VertexBasedPfoMopUpAlgorithm::GetInputPfos(), lar_content::DeltaRayGrowingAlgorithm::GetListOfSeedClusters(), lar_content::CheatingPfoCreationAlgorithm::GetNHitTypesAboveThreshold(), lar_content::NeutrinoPropertiesAlgorithm::GetNTwoDHitsInPfoChain(), lar_content::VertexBasedPfoMopUpAlgorithm::GetPfoAssociations(), lar_content::ThreeDTrackFragmentsAlgorithm::GetProjectedPositions(), lar_content::CutClusterCharacterisationAlgorithm::GetVertexDistance(), lar_content::CrossGapsAssociationAlgorithm::IsAssociated(), lar_content::PfoCharacterisationBaseAlgorithm::IsClearTrack3x2D(), lar_content::ParticleRecoveryAlgorithm::IsOverlap(), lar_content::UndershootTracksTool::IsThreeDKink(), lar_content::OvershootTracksTool::IsThreeDKink(), lar_content::ThreeDBaseAlgorithm< T >::MakeClusterMerges(), lar_content::SlidingConeClusterMopUpAlgorithm::MakeClusterMerges(), lar_content::ThreeDTracksBaseAlgorithm< T >::MakeClusterSplits(), lar_content::CosmicRayTrackRecoveryAlgorithm::MatchClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::MatchThreeViews(), lar_content::VertexBasedPfoRecoveryAlgorithm::MatchTwoViews(), lar_content::ThreeDChargeFeatureTool::OrderCaloHitsByDistanceToVertex(), lar_content::CosmicRayBaseMatchingAlgorithm::Particle::Particle(), lar_content::MissingTrackSegmentTool::Particle::Particle(), lar_content::VertexBasedPfoRecoveryAlgorithm::Particle::Particle(), lar_content::DeltaRayMatchingAlgorithm::Particle::Particle(), lar_content::TrackSplittingTool::PassesChecks(), lar_pandora::LArPandoraOutput::ProduceArtOutput(), lar_content::CandidateVertexCreationAlgorithm::SelectClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::SelectClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::SelectVertexClusters(), lar_content::ThreeDHitCreationAlgorithm::SeparateTwoDHits(), lar_content::OvershootTracksTool::SetSplitPosition(), lar_content::MasterAlgorithm::StitchPfos(), lar_content::ThreeDTrackFragmentsAlgorithm::UpdateForNewCluster(), and lar_content::ThreeDBaseAlgorithm< T >::UpdateForNewCluster().
|
static |
Get the subset of clusters, from a provided list, that match the specified hit type.
inputClusters | the input cluster list |
hitType | the specified hit type |
clusterList | to receive the clusters |
Definition at line 49 of file LArClusterHelper.cc.
Referenced by lar_content::CosmicRayTrackRecoveryAlgorithm::MergeClusters().
|
static |
Get minimum and maximum X positions of the calo hits in a cluster.
pCluster | address of the cluster |
the | minimum position of x |
the | maximum position of x |
Definition at line 348 of file LArClusterHelper.cc.
Referenced by lar_content::DeltaRayMatchingAlgorithm::AreClustersMatched(), lar_content::ThreeDRemnantsAlgorithm::CalculateOverlapResult(), lar_content::ParticleRecoveryAlgorithm::CheckConsistency(), lar_content::CosmicRayTaggingTool::CheckIfInTime(), lar_content::CosmicRayShowerMatchingAlgorithm::CheckMatchedClusters3D(), lar_content::ThreeDTrackFragmentsAlgorithm::GetProjectedPositions(), lar_content::ParticleRecoveryAlgorithm::IsOverlap(), lar_content::CosmicRayShowerMatchingAlgorithm::MatchClusters(), lar_content::CosmicRayTrackMatchingAlgorithm::MatchClusters(), lar_content::ThreeDTrackFragmentsAlgorithm::PerformMainLoop(), and lar_content::ParticleRecoveryAlgorithm::StandardClusterSelection().
|
static |
Get upper and lower Z positions of the calo hits in a cluster in range xmin to xmax.
pCluster | address of the cluster |
xmin | for range in x |
xmax | for range in x |
zmin | the lower z for this range of x |
zmax | the upper z for this range in x |
Definition at line 368 of file LArClusterHelper.cc.
Referenced by lar_content::DeltaRayMatchingAlgorithm::AreClustersMatched().
|
static |
Divide an input cluster list into separate u, v and w lists (exception raised if alternative hit type encountered)
inputClusters | the input cluster list |
clusterListU | to receive the u clusters |
clusterListV | to receive the v clusters |
clusterListW | to receive the w clusters |
Definition at line 34 of file LArClusterHelper.cc.
|
static |
Get vector of hit coordinates from an input cluster.
pCluster | address of the cluster |
coordinateVector |
Definition at line 590 of file LArClusterHelper.cc.
Referenced by lar_content::VertexSelectionBaseAlgorithm::ShowerCluster::GetClusterListCoordinateVector(), lar_content::ThreeDSlidingFitResult::GetGlobalDirection(), lar_content::TwoDSlidingShowerFitResult::GetShowerEdges(), lar_content::CandidateVertexCreationAlgorithm::GetSpacepoints(), and lar_content::TwoDSlidingFitResult::TwoDSlidingFitResult().
|
static |
Get energy of cluster, based on length.
pCluster | address of the cluster |
Definition at line 99 of file LArClusterHelper.cc.
References f.
|
static |
Get positions of the two most distant calo hits in a list of cluster (ordered by Z)
clusterList | the input cluster list |
the | inner extremal position |
the | outer extremal position |
Referenced by lar_content::CosmicRayVertexBuildingAlgorithm::BuildCosmicRayParent(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterTrack(), lar_content::CosmicRayTrackMatchingAlgorithm::CheckMatchedClusters3D(), lar_content::DeltaRayExtensionAlgorithm::GetExtremalCoordinatesFromCache(), lar_content::TransverseAssociationAlgorithm::GetExtremalCoordinatesXZ(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), lar_content::DeltaRayIdentificationAlgorithm::GetTwoDVertices(), lar_content::CosmicRaySplittingAlgorithm::IdentifyCrossedTracks(), lar_content::CosmicRayTrackMatchingAlgorithm::MatchClusters(), lar_content::CosmicRayTrackMatchingAlgorithm::SelectCleanClusters(), and lar_content::ShowerGrowingAlgorithm::SortClusters().
|
static |
Get positions of the two most distant calo hits in a cluster (ordered by Z)
pCluster | the input cluster |
the | inner extremal position |
the | outer extremal position |
|
static |
Get positions of the two most distant calo hits in an ordered calo hit list (ordered by Z)
orderedCaloHitList | the ordered calo hit list |
the | inner extremal position |
the | outer extremal position |
|
static |
Get positions of the two most distant points in a provided list (ordered by Z)
coordinateVector | the hit list |
the | inner extremal position |
the | outer extremal position |
|
static |
Fraction of occupied layers in cluster.
pCluster | address of the cluster |
Referenced by lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::LongitudinalExtensionAlgorithm::GetListOfCleanClusters(), and lar_content::LArParticleIdPlugins::LArMuonId::LArMuonId().
|
static |
Fraction of occupied layers in a pair of clusters.
pCluster1 | address of the first cluster |
pCluster2 | address of the second cluster |
|
static |
Get number of layers spanned by cluster (1+Last-First)
pCluster | address of the cluster |
Definition at line 107 of file LArClusterHelper.cc.
|
static |
Get length of cluster.
pCluster | address of the cluster |
Definition at line 92 of file LArClusterHelper.cc.
Referenced by lar_content::SvmVertexSelectionAlgorithm::IsClusterShowerLike().
|
static |
Get length squared of cluster.
pCluster | address of the cluster |
Definition at line 60 of file LArClusterHelper.cc.
References max, maxY, min, and minY.
Referenced by lar_content::CrossGapsExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::DeltaRayMatchingAlgorithm::FindBestParentPfo(), lar_content::OvershootSplittingAlgorithm::GetListOfCleanClusters(), lar_content::LongitudinalExtensionAlgorithm::GetListOfCleanClusters(), lar_content::DeltaRayExtensionAlgorithm::GetListOfCleanClusters(), lar_content::CrossGapsExtensionAlgorithm::GetListOfCleanClusters(), lar_content::CosmicRayExtensionAlgorithm::GetListOfCleanClusters(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), lar_content::CosmicRaySplittingAlgorithm::GetListOfCleanClusters(), lar_content::TwoDSlidingFitSplittingAndSwitchingAlgorithm::GetListOfCleanClusters(), lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::GetListOfCleanClusters(), lar_content::DeltaRayGrowingAlgorithm::GetListOfSeedClusters(), lar_content::CosmicRayTrackMatchingAlgorithm::SelectCleanClusters(), lar_content::CosmicRayTrackRecoveryAlgorithm::SelectCleanClusters(), lar_content::CandidateVertexCreationAlgorithm::SelectClusters(), lar_content::ThreeDShowersAlgorithm::SelectInputClusters(), lar_content::ThreeDTracksBaseAlgorithm< T >::SelectInputClusters(), lar_content::TwoDSlidingFitConsolidationAlgorithm::SortInputClusters(), lar_content::ParticleRecoveryAlgorithm::StandardClusterSelection(), lar_content::TrackConsolidationAlgorithm::TrackConsolidationAlgorithm(), and lar_content::TwoDSlidingFitSplittingAlgorithm::TwoDSlidingFitSplittingAlgorithm().
|
static |
Sort clusters by inner layer, then position, then pulse-height.
pLhs | address of first cluster |
pRhs | address of second cluster |
Definition at line 642 of file LArClusterHelper.cc.
Referenced by lar_content::CrossGapsAssociationAlgorithm::GetListOfCleanClusters(), and lar_content::LongitudinalAssociationAlgorithm::GetListOfCleanClusters().
|
static |
Sort clusters by layer span, then inner layer, then position, then pulse-height.
pLhs | address of first cluster |
pRhs | address of second cluster |
Definition at line 629 of file LArClusterHelper.cc.
|
static |
Sort clusters by number of hits, then layer span, then inner layer, then position, then pulse-height.
pLhs | address of first cluster |
pRhs | address of second cluster |
Definition at line 616 of file LArClusterHelper.cc.
Referenced by lar_content::TwoDSlidingFitConsolidationAlgorithm::AddHitsToClusters(), lar_content::ClusterAssociationAlgorithm::AmbiguousPropagation(), lar_content::SplitShowersTool::ApplyChanges(), lar_content::ThreeDKinkBaseTool::ApplyChanges(), lar_content::EventSlicingTool::AssignRemainingHitsToSlices(), lar_content::OvershootSplittingAlgorithm::BuildIntersectionMap(), lar_content::TrackHitsBaseTool::BuildSlidingFitMap(), lar_content::OvershootSplittingAlgorithm::BuildSortedIntersectionMap(), lar_content::VertexSelectionBaseAlgorithm::CalculateClusterSlidingFits(), lar_content::ConeClusterMopUpAlgorithm::ClusterMopUp(), lar_content::NearbyClusterMopUpAlgorithm::ClusterMopUp(), lar_content::BoundedClusterMopUpAlgorithm::ClusterMopUp(), lar_content::EventSlicingTool::CopyPfoHitsToSlices(), lar_content::ParticleRecoveryAlgorithm::ExamineTensor(), lar_content::CrossGapsExtensionAlgorithm::FillClusterMergeMap(), lar_content::DeltaRayExtensionAlgorithm::FillClusterMergeMap(), lar_content::LongitudinalExtensionAlgorithm::FillClusterMergeMap(), lar_content::CosmicRayExtensionAlgorithm::FillClusterMergeMap(), lar_content::TransverseExtensionAlgorithm::FillClusterMergeMap(), lar_content::TransverseAssociationAlgorithm::FillReducedAssociationMap(), lar_content::TransverseAssociationAlgorithm::FillSymmetricAssociationMap(), lar_content::ClearTrackFragmentsTool::GetAffectedKeyClusters(), lar_content::TransverseAssociationAlgorithm::GetAssociatedClusters(), lar_content::CosmicRayTrackRecoveryAlgorithm::GetAvailableClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetAvailableClusters(), lar_content::SlidingConeClusterMopUpAlgorithm::GetAvailableTwoDClusters(), lar_content::DeltaRayMatchingAlgorithm::GetClusters(), lar_content::EventSlicingTool::GetClusterSliceList(), lar_content::ShowerGrowingAlgorithm::GetFigureOfMerit(), lar_content::EventSlicingTool::GetKDTreeEntries3D(), lar_content::OvershootSplittingAlgorithm::GetListOfCleanClusters(), lar_content::CrossGapsExtensionAlgorithm::GetListOfCleanClusters(), lar_content::SimpleClusterGrowingAlgorithm::GetListOfCleanClusters(), lar_content::DeltaRayExtensionAlgorithm::GetListOfCleanClusters(), lar_content::LongitudinalExtensionAlgorithm::GetListOfCleanClusters(), lar_content::SimpleClusterMergingAlgorithm::GetListOfCleanClusters(), lar_content::DeltaRayGrowingAlgorithm::GetListOfCleanClusters(), lar_content::CosmicRayExtensionAlgorithm::GetListOfCleanClusters(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), lar_content::CosmicRaySplittingAlgorithm::GetListOfCleanClusters(), lar_content::TwoDSlidingFitSplittingAndSwitchingAlgorithm::GetListOfCleanClusters(), lar_content::TransverseAssociationAlgorithm::GetListOfCleanClusters(), lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::GetListOfCleanClusters(), lar_content::ClusterGrowingAlgorithm::GetListOfNonSeedClusters(), lar_content::DeltaRayGrowingAlgorithm::GetListOfSeedClusters(), lar_content::SimpleClusterGrowingAlgorithm::GetListOfSeedClusters(), lar_content::ThreeDTrackFragmentsAlgorithm::GetMatchedClusters(), lar_content::MissingTrackSegmentTool::GetSegmentOverlapMap(), lar_content::SlidingConePfoMopUpAlgorithm::GetThreeDClusters(), lar_content::SlidingConeClusterMopUpAlgorithm::GetThreeDClusters(), lar_content::CrossGapsAssociationAlgorithm::IsExtremalCluster(), lar_content::LongitudinalAssociationAlgorithm::IsExtremalCluster(), lar_content::TransverseAssociationAlgorithm::IsExtremalCluster(), lar_content::ClusterMopUpBaseAlgorithm::MakeClusterMerges(), lar_content::ThreeDBaseAlgorithm< T >::MakeClusterMerges(), lar_content::SlidingConeClusterMopUpAlgorithm::MakeClusterMerges(), lar_content::ThreeDTracksBaseAlgorithm< T >::MakeClusterSplits(), lar_content::MissingTrackSegmentTool::MakeDecisions(), lar_content::SlidingConePfoMopUpAlgorithm::MakePfoMerges(), lar_content::ClusterGrowingAlgorithm::MergeClusters(), lar_content::SlidingConeClusterMopUpAlgorithm::ClusterMerge::operator<(), lar_content::SlidingConePfoMopUpAlgorithm::ClusterMerge::operator<(), lar_content::ThreeDTrackFragmentsAlgorithm::PerformMainLoop(), lar_content::ThreeDBaseAlgorithm< T >::PerformMainLoop(), lar_content::OvershootSplittingAlgorithm::PopulateSplitPositionMap(), lar_content::ShowerGrowingAlgorithm::ProcessSeedAssociationDetails(), lar_content::ClearTrackFragmentsTool::ProcessTensorElement(), lar_pandora::LArPandoraOutput::ProduceArtOutput(), lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::PruneClusterExtensionList(), lar_content::TwoDSlidingFitConsolidationAlgorithm::RebuildClusters(), lar_content::TwoDSlidingFitConsolidationAlgorithm::RemoveHitsFromClusters(), lar_content::ThreeDBaseAlgorithm< T >::RemoveUnavailableTensorElements(), lar_content::CandidateVertexCreationAlgorithm::SelectClusters(), lar_content::TwoDSlidingFitConsolidationAlgorithm::SortInputClusters(), lar_content::TransverseAssociationAlgorithm::SortInputClusters(), lar_content::TwoDSlidingFitMultiSplitAlgorithm::SplitClusters(), lar_content::ThreeDTrackFragmentsAlgorithm::UpdateForNewCluster(), and lar_content::ThreeDBaseAlgorithm< T >::UpdateForNewCluster().
|
static |
Sort clusters by number of occupied layers, and by inner layer, then energy in event of a tie.
pLhs | address of first cluster |
pRhs | address of second cluster |
Definition at line 603 of file LArClusterHelper.cc.
|
static |
Sort clusters by position, then pulse-height.
pLhs | address of first cluster |
pRhs | address of second cluster |
Definition at line 655 of file LArClusterHelper.cc.
|
static |
Sort clusters by pulse-height.
pLhs | address of first cluster |
pRhs | address of second cluster |
Definition at line 685 of file LArClusterHelper.cc.
|
static |
Sort cartesian vectors by their position (use Z, followed by X, followed by Y)
lhs | first point |
rhs | second point |
Definition at line 719 of file LArClusterHelper.cc.
Referenced by lar_content::CandidateVertexCreationAlgorithm::GetSpacepoints().
|
static |
Sort calo hits by their position (use Z, followed by X, followed by Y)
pLhs | address of first calo hit |
pRhs | address of second calo hit |
Definition at line 692 of file LArClusterHelper.cc.
Referenced by lar_content::TrackClusterCreationAlgorithm::AddFilteredCaloHits(), lar_content::ShowerAsymmetryFeatureTool::CalculateAsymmetryParameters(), lar_content::GlobalAsymmetryFeatureTool::CalculateGlobalAsymmetry(), lar_content::LocalAsymmetryFeatureTool::CalculateLocalAsymmetry(), lar_content::IsolatedClusterMopUpAlgorithm::ClusterMopUp(), lar_content::SimpleClusterCreationAlgorithm::CollectAssociatedHits(), lar_content::SimpleClusterCreationAlgorithm::CreateClusters(), lar_content::TrackClusterCreationAlgorithm::CreateClusters(), lar_content::TrackClusterCreationAlgorithm::FilterCaloHits(), lar_content::CrossedTrackSplittingAlgorithm::FindCandidateSplitPositions(), lar_content::ThreeDTrackFragmentsAlgorithm::GetFragmentOverlapResult(), lar_content::ThreeDTrackFragmentsAlgorithm::GetMatchedHits(), lar_content::SvmVertexSelectionAlgorithm::GetShowerLikeClusterEndPoints(), lar_content::TrackClusterCreationAlgorithm::IdentifyJoins(), lar_content::TrackClusterCreationAlgorithm::MakePrimaryAssociations(), lar_content::TrackClusterCreationAlgorithm::MakeSecondaryAssociations(), lar_pandora::LArPandoraOutput::ProduceArtOutput(), and lar_content::ThreeDHitCreationAlgorithm::SeparateTwoDHits().
|
static |
Sort calo hits by their pulse height.
pLhs | address of first calo hit |
pRhs | address of second calo hit |
Definition at line 711 of file LArClusterHelper.cc.