8#ifndef DELTA_RAY_REMOVAL_TOOL_H
9#define DELTA_RAY_REMOVAL_TOOL_H 1
DeltaRayRemovalTool class.
float m_maxDistanceToCollected
The maximim distance of a hit from the projected delta ray hits required for removal.
unsigned int m_significantHitThreshold
The threshold number of hits which define significant contimination.
virtual bool PassElementChecks(const TensorType::Element &element, const pandora::HitType hitType) const
Determine whether element satifies simple checks.
bool RemoveDeltaRayHits(const TensorType::ElementList &elementList) const
Remove hits from cosmic ray clusters that belong to a child delta ray.
DeltaRayRemovalTool()
Default constructor.
unsigned int m_slidingFitWindow
The sliding fit window used in cosmic ray parameterisations.
float m_contaminationWindow
The distance in which to search for delta ray contamination in the cosmic ray track.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
float m_minDistanceFromMuon
The minimum distance of a hit from the cosmic ray track required for removal.
void SplitMuonCluster(const TensorType::Element &element, const pandora::HitType hitType, const pandora::CaloHitList &deltaRayHits) const
Remove collected delta ray hits from the cosmic ray pfo.
bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
bool IsContaminated(const TensorType::Element &element, const pandora::HitType hitType) const
Determine whether the cosmic ray cluster under investigation has delta ray contamination.
float m_minDeviationFromTransverse
The minimum deviation from transverse required to avoid mistakes.
ThreeViewDeltaRayMatchingAlgorithm::MatchingType::TensorType TensorType
ThreeViewDeltaRayMatchingAlgorithm class.
HitType
Calorimeter hit type enum.
MANAGED_CONTAINER< const CaloHit * > CaloHitList
StatusCode
The StatusCode enum.