Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
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
13namespace lar_content
14{
19{
20public:
25
26private:
27 bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor);
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
float m_maxGoodMatchReducedChiSquared
The maximum reduced chi squared value of a good 1:1:1 match.
bool Run(ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
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...
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.
ThreeViewDeltaRayMatchingAlgorithm::MatchingType::TensorType TensorType
std::vector< ProtoParticle > ProtoParticleVector
std::unordered_set< const Cluster * > ClusterSet
StatusCode
The StatusCode enum.