LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TrackConsolidationAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef LAR_TRACK_CONSOLIDATION_ALGORITHM_H
9 #define LAR_TRACK_CONSOLIDATION_ALGORITHM_H 1
10 
12 
14 
15 namespace lar_content
16 {
17 
22 {
23 public:
28 
29 private:
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
31 
40  void GetReclusteredHits(const TwoDSlidingFitResultList &slidingFitResultList, const pandora::ClusterVector &showerClusters,
41  ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const;
42 
51  void GetReclusteredHits(const TwoDSlidingFitResult &slidingFitResult, const pandora::Cluster *const pTargetCluster,
52  ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const;
53 
57 };
58 
59 } // namespace lar_content
60 
61 #endif // #ifndef LAR_TRACK_CONSOLIDATION_ALGORITHM_H
std::unordered_map< const pandora::Cluster *, pandora::CaloHitList > ClusterToHitMap
Header file for the 2D sliding fit consolidation algorithm class.
Header file for the cluster helper class.
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.
std::vector< TwoDSlidingFitResult > TwoDSlidingFitResultList
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::vector< art::Ptr< recob::Cluster > > ClusterVector