All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UnambiguousDeltaRayTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArCosmicRay/UnambiguousDeltaRayTool.h
3  *
4  * @brief Header file for the unambiguous delta ray tool class.
5  *
6  * $Log: $
7  */
8 #ifndef UNAMBIGUOUS_DELTA_RAY_TOOL_H
9 #define UNAMBIGUOUS_DELTA_RAY_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 /**
16  * @brief UnambiguousDeltaRayTool class
17  */
19 {
20 public:
21  /**
22  * @brief Default constructor
23  */
25 
26 private:
27  bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor);
28  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
29 
30  /**
31  * @brief Create delta ray pfos out of unambiguous (1:1:1) matches that are connected to a parent cosmic ray
32  *
33  * @param elementList the tensor element list
34  *
35  * @return whether any delta ray pfos were created
36  */
38 
39  /**
40  * @brief Determine whether the clusters of an element are connected to a cosmic ray pfo
41  *
42  * @param elementList the tensor element
43  *
44  * @return whether the clusters are connected to a cosmic ray pfo
45  */
46  bool IsConnected(const TensorType::Element &element) const;
47 
48  float m_maxSeparation; ///< The maximum separation between a connected delta ray cluster and a cosmic ray cluster
49  unsigned int m_minNConnectedClusters; ///< The threshold number of connected delta ray clusters required for particle creation
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.