LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
TrackConsolidationAlgorithm class. More...
#include "TrackConsolidationAlgorithm.h"
Public Member Functions | |
TrackConsolidationAlgorithm () | |
Default constructor. More... | |
Protected Types | |
typedef std::unordered_map< const pandora::Cluster *, pandora::CaloHitList > | ClusterToHitMap |
Protected Member Functions | |
pandora::StatusCode | Run () |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | GetReclusteredHits (const TwoDSlidingFitResultList &slidingFitResultList, const pandora::ClusterVector &showerClusters, ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const |
Get the list of hits to be added to track clusters and removed from shower clusters. More... | |
void | GetReclusteredHits (const TwoDSlidingFitResult &slidingFitResult, const pandora::Cluster *const pTargetCluster, ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const |
Get the list of hits to be added to a track cluster and removed from a shower cluster. More... | |
Private Attributes | |
float | m_maxTransverseDisplacement |
float | m_minAssociatedSpan |
float | m_minAssociatedFraction |
TrackConsolidationAlgorithm class.
Definition at line 21 of file TrackConsolidationAlgorithm.h.
|
protectedinherited |
Definition at line 35 of file TwoDSlidingFitConsolidationAlgorithm.h.
lar_content::TrackConsolidationAlgorithm::TrackConsolidationAlgorithm | ( | ) |
Default constructor.
Definition at line 20 of file TrackConsolidationAlgorithm.cc.
References f, lar_content::LArClusterHelper::GetClosestPosition(), lar_content::TwoDSlidingFitResult::GetCluster(), lar_content::LArClusterHelper::GetClusterHitType(), lar_content::TwoDSlidingFitResult::GetGlobalFitProjection(), lar_content::LArClusterHelper::GetLengthSquared(), lar_content::TwoDSlidingFitResult::GetLocalPosition(), GetReclusteredHits(), lar_content::LArGeometryHelper::GetWirePitchRatio(), m_maxTransverseDisplacement, m_minAssociatedFraction, and m_minAssociatedSpan.
|
privatevirtual |
Get the list of hits to be added to track clusters and removed from shower clusters.
slidingFitResultList | the list of sliding linear fits to track clusters |
showerClusters | the vector of shower clusters |
caloHitsToAdd | the output map of hits to be added to clusters |
caloHitsToRemove | the output map of hits to be removed from clusters |
Implements lar_content::TwoDSlidingFitConsolidationAlgorithm.
Referenced by TrackConsolidationAlgorithm().
|
private |
Get the list of hits to be added to a track cluster and removed from a shower cluster.
slidingFitResult | sliding linear fit to track cluster |
pTargetCluster | shower cluster |
caloHitsToAdd | the output map of hits to be added to clusters |
caloHitsToRemove | the output map of hits to be removed from clusters |
|
private |
Definition at line 140 of file TrackConsolidationAlgorithm.cc.
References m_maxTransverseDisplacement, m_minAssociatedFraction, m_minAssociatedSpan, and lar_content::TwoDSlidingFitConsolidationAlgorithm::ReadSettings().
|
protectedinherited |
Definition at line 30 of file TwoDSlidingFitConsolidationAlgorithm.cc.
References lar_content::TwoDSlidingFitConsolidationAlgorithm::AddHitsToClusters(), lar_content::TwoDSlidingFitConsolidationAlgorithm::BuildSlidingLinearFits(), lar_content::TwoDSlidingFitConsolidationAlgorithm::GetReclusteredHits(), lar_content::TwoDSlidingFitConsolidationAlgorithm::RebuildClusters(), lar_content::TwoDSlidingFitConsolidationAlgorithm::RemoveHitsFromClusters(), and lar_content::TwoDSlidingFitConsolidationAlgorithm::SortInputClusters().
|
private |
Definition at line 54 of file TrackConsolidationAlgorithm.h.
Referenced by ReadSettings(), and TrackConsolidationAlgorithm().
|
private |
Definition at line 56 of file TrackConsolidationAlgorithm.h.
Referenced by ReadSettings(), and TrackConsolidationAlgorithm().
|
private |
Definition at line 55 of file TrackConsolidationAlgorithm.h.
Referenced by ReadSettings(), and TrackConsolidationAlgorithm().