8 #ifndef CLEAR_TRACK_FRAGMENTS_TOOL_H
9 #define CLEAR_TRACK_FRAGMENTS_TOOL_H 1
92 const pandora::CaloHitList &daughterHits,
const pandora::CaloHitList &separateHits, pandora::ClusterSet &deletedClusters,
93 pandora::ClusterSet &badClusters,
const pandora::Cluster *&pFragmentCluster)
const;
103 pandora::ClusterList &newClusters)
const;
113 pandora::ClusterList &affectedKeyClusters)
const;
115 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
123 #endif // #ifndef CLEAR_TRACK_FRAGMENTS_TOOL_H
ClearTrackFragmentsTool()
Default constructor.
FragmentOverlapResult class.
unsigned int m_minMatchedHits
The minimum number of matched calo hits.
ClearTrackFragmentsTool class.
void RebuildClusters(ThreeViewTrackFragmentsAlgorithm *const pAlgorithm, const pandora::ClusterList &modifiedClusters, pandora::ClusterList &newClusters) const
Rebuild clusters after fragmentation.
bool Run(ThreeViewTrackFragmentsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
float m_minMatchedSamplingPointFraction
The minimum fraction of matched sampling points.
void Recluster(ThreeViewTrackFragmentsAlgorithm *const pAlgorithm, const pandora::Cluster *const pCluster, const pandora::CaloHitList &daughterHits, const pandora::CaloHitList &separateHits, pandora::ClusterSet &deletedClusters, pandora::ClusterSet &badClusters, const pandora::Cluster *&pFragmentCluster) const
Rearrange the hits in a cluster from the fragment list, using the Pandora fragmentation mechanism...
void ProcessTensorElement(ThreeViewTrackFragmentsAlgorithm *const pAlgorithm, const TensorType &overlapTensor, const TensorType::OverlapResult &overlapResult, const pandora::Cluster *&pFragmentCluster) const
Process a tensor element, reclustering the fragments as required.
std::vector< Element > ElementList
bool FindTrackFragments(ThreeViewTrackFragmentsAlgorithm *const pAlgorithm, const TensorType &overlapTensor) const
Find suitable matching track fragments in the overlap tensor to use for 3D particle creation...
std::vector< TensorType::ElementList::const_iterator > IteratorList
void SelectClearElements(const TensorType::ElementList &elementList, IteratorList &iteratorList) const
Select a list of clear track-like elements from a set of connected tensor elements.
bool GetAndCheckElementList(const TensorType &overlapTensor, const pandora::Cluster *const pCluster, TensorType::ElementList &elementList) const
Get the list of elements connected to a given cluster and check its suitability (no ambiguities) ...
ThreeViewTrackFragmentsAlgorithm class.
Header file for the three view fragments algorithm base class.
void GetAffectedKeyClusters(const TensorType &overlapTensor, const pandora::ClusterList &clustersToRemoveFromTensor, pandora::ClusterList &affectedKeyClusters) const
Get a list of the tensor key clusters for which tensor elements have been impacted by fragmentation o...
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
bool CheckOverlapResult(const TensorType::OverlapResult &overlapResult) const
Check whether the overlap result passes matched sampling point and number of matched hit checks...
FragmentTensorTool class.