Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
UnambiguousDeltaRayTool.h
Go to the documentation of this file.
1
8#ifndef UNAMBIGUOUS_DELTA_RAY_TOOL_H
9#define UNAMBIGUOUS_DELTA_RAY_TOOL_H 1
10
12
13namespace lar_content
14{
19{
20public:
25
26private:
27 bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor);
29
37 bool ExamineUnambiguousElements(TensorType::ElementList &elementList);
38
46 bool IsConnected(const TensorType::Element &element) const;
47
50};
51
52} // namespace lar_content
53
54#endif // #ifndef UNAMBIGUOUS_DELTA_RAY_TOOL
ThreeViewDeltaRayMatchingAlgorithm::MatchingType::TensorType TensorType
unsigned int m_minNConnectedClusters
The threshold number of connected delta ray clusters required for particle creation.
float m_maxSeparation
The maximum separation between a connected delta ray cluster and a cosmic ray cluster.
bool IsConnected(const TensorType::Element &element) const
Determine whether the clusters of an element are connected to a cosmic ray pfo.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
bool ExamineUnambiguousElements(TensorType::ElementList &elementList)
Create delta ray pfos out of unambiguous (1:1:1) matches that are connected to a parent cosmic ray.
StatusCode
The StatusCode enum.