LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
MatchedEndPointsTool.h
Go to the documentation of this file.
1 
8 #ifndef MATCHED_END_POINTS_TOOL_H
9 #define MATCHED_END_POINTS_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
20 {
21 public:
26 
27  bool Run(ThreeDLongitudinalTracksAlgorithm *const pAlgorithm, TensorType &overlapTensor);
28 
29 private:
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
31 
38  void FindMatchedTracks(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const;
39 
48  static bool SortByChiSquared(const TensorType::Element &lhs, const TensorType::Element &rhs);
49 
52 };
53 
54 } // namespace lar_content
55 
56 #endif // #ifndef MATCHED_END_POINTS_TOOL_H
std::vector< ProtoParticle > ProtoParticleVector
bool Run(ThreeDLongitudinalTracksAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
MatchedEndPointsTool()
Default constructor.
float m_maxEndPointChi2
The max chi2 of matched vertex and end points for particle creation.
void FindMatchedTracks(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Find matched tracks, hidden by ambiguities in the tensor.
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
static bool SortByChiSquared(const TensorType::Element &lhs, const TensorType::Element &rhs)
Sort tensor elements by chi-squared.
MatchedEndPointsTool class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Header file for the three dimensional longitudinal tracks algorithm class.