8 #ifndef DELTA_RAY_REMOVAL_TOOL_H 9 #define DELTA_RAY_REMOVAL_TOOL_H 1 29 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
79 #endif // #ifndef DELTA_RAY_REMOVAL_TOOL_H
unsigned int m_slidingFitWindow
The sliding fit window used in cosmic ray parameterisations.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_contaminationWindow
The distance in which to search for delta ray contamination in the cosmic ray track.
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_minDistanceFromMuon
The minimum distance of a hit from the cosmic ray track required for removal.
bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
DeltaRayRemovalTool class.
std::vector< Element > ElementList
DeltaRayRemovalTool()
Default constructor.
float m_minDeviationFromTransverse
The minimum deviation from transverse required to avoid mistakes.
float m_maxDistanceToCollected
The maximim distance of a hit from the projected delta ray hits required for removal.
ThreeViewDeltaRayMatchingAlgorithm class.
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.
virtual bool PassElementChecks(const TensorType::Element &element, const pandora::HitType hitType) const
Determine whether element satifies simple checks.
unsigned int m_significantHitThreshold
The threshold number of hits which define significant contimination.
bool RemoveDeltaRayHits(const TensorType::ElementList &elementList) const
Remove hits from cosmic ray clusters that belong to a child delta ray.