LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TwoViewAmbiguousDeltaRayTool.h
Go to the documentation of this file.
1 
8 #ifndef TWO_VIEW_AMBIGUOUS_DELTA_RAY_TOOL_H
9 #define TWO_VIEW_AMBIGUOUS_DELTA_RAY_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
20 {
21 public:
22  typedef std::vector<pandora::HitType> HitTypeVector;
27 
28 private:
29  bool Run(TwoViewDeltaRayMatchingAlgorithm *const pAlgorithm, MatrixType &overlapMatrix);
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
31 
37  void ExamineConnectedElements(MatrixType &overlapMatrix) const;
38 
46  bool PickOutGoodMatches(const MatrixType::ElementList &elementList) const;
47 };
48 
49 } // namespace lar_content
50 
51 #endif // #ifndef TWO_VIEW_AMBIGUOUS_DELTA_RAY_TOOL_H
bool Run(TwoViewDeltaRayMatchingAlgorithm *const pAlgorithm, MatrixType &overlapMatrix)
Run the algorithm tool.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void ExamineConnectedElements(MatrixType &overlapMatrix) const
Identify ambiguous matches (e.g. 3:2:1) and, if possible, create pfos out of the best 1:1:1 cluster m...
bool PickOutGoodMatches(const MatrixType::ElementList &elementList) const
Identify the best 1:1:1 match in a group of connected elements and from it create a pfo...