LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 
13 namespace lar_content
14 {
19 {
20 public:
25 
26 private:
27  bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor);
28  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
29 
38 
46  bool IsConnected(const TensorType::Element &element) const;
47 
49  unsigned int m_minNConnectedClusters;
50 };
51 
52 } // namespace lar_content
53 
54 #endif // #ifndef UNAMBIGUOUS_DELTA_RAY_TOOL
UnambiguousDeltaRayTool class.
unsigned int m_minNConnectedClusters
The threshold number of connected delta ray clusters required for particle creation.
bool ExamineUnambiguousElements(TensorType::ElementList &elementList)
Create delta ray pfos out of unambiguous (1:1:1) matches that are connected to a parent cosmic ray...
bool IsConnected(const TensorType::Element &element) const
Determine whether the clusters of an element are connected to a cosmic ray pfo.
bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_maxSeparation
The maximum separation between a connected delta ray cluster and a cosmic ray cluster.