LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
AmbiguousDeltaRayTool.h
Go to the documentation of this file.
1 
8 #ifndef AMBIGUOUS_DELTA_RAY_TOOL_H
9 #define AMBIGUOUS_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 
35  void ExamineConnectedElements(TensorType &overlapTensor) const;
36 
44  void PickOutGoodMatches(const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters, ProtoParticleVector &protoParticleVector) const;
45 
47 };
48 
49 } // namespace lar_content
50 
51 #endif // #ifndef AMBIGUOUS_DELTA_RAY_TOOL_H
std::vector< ProtoParticle > ProtoParticleVector
void ExamineConnectedElements(TensorType &overlapTensor) const
Identify ambiguous matches (e.g. 3:2:1) and, if possible, create pfos out of the best 1:1:1 cluster m...
AmbiguousDeltaRayTool class.
float m_maxGoodMatchReducedChiSquared
The maximum reduced chi squared value of a good 1:1:1 match.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void PickOutGoodMatches(const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters, ProtoParticleVector &protoParticleVector) const
Identify the best 1:1:1 match in a group of connected elements and from it create a pfo...
AmbiguousDeltaRayTool()
Default constructor.
bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.