Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
DeltaRayRemovalTool.h
Go to the documentation of this file.
1
8#ifndef DELTA_RAY_REMOVAL_TOOL_H
9#define DELTA_RAY_REMOVAL_TOOL_H 1
10
13
14namespace lar_content
15{
20{
21public:
26
27private:
28 bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor);
30
38 bool RemoveDeltaRayHits(const TensorType::ElementList &elementList) const;
39
48 virtual bool PassElementChecks(const TensorType::Element &element, const pandora::HitType hitType) const;
49
58 bool IsContaminated(const TensorType::Element &element, const pandora::HitType hitType) const;
59
67 void SplitMuonCluster(const TensorType::Element &element, const pandora::HitType hitType, const pandora::CaloHitList &deltaRayHits) const;
68
69 unsigned int m_slidingFitWindow;
75};
76
77} // namespace lar_content
78
79#endif // #ifndef DELTA_RAY_REMOVAL_TOOL_H
Header file for the removal base tool 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
RemovalBaseTool class.
HitType
Calorimeter hit type enum.
MANAGED_CONTAINER< const CaloHit * > CaloHitList
StatusCode
The StatusCode enum.