LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TwoViewSimpleTracksTool.h
Go to the documentation of this file.
1 
8 #ifndef TWO_VIEW_SIMPLE_TRACKS_TOOL_H
9 #define TWO_VIEW_SIMPLE_TRACKS_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
20 {
21 public:
26 
27  bool Run(TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix);
28 
29 private:
36  void FindBestTrack(const MatrixType &overlapMatrix, ProtoParticleVector &protoParticleVector) const;
37 
43  bool PassesElementCuts(MatrixType::ElementList::const_reverse_iterator eIter) const;
44 
45  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
46 
51 };
52 
53 } // namespace lar_content
54 
55 #endif // #ifndef TWO_VIEW_SIMPLE_TRACKS_TOOL_H
std::vector< ProtoParticle > ProtoParticleVector
bool Run(TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix)
Run the algorithm tool.
float m_minMatchingScore
The min global matching score for particle creation.
unsigned int m_minMatchedSamplingPoints
The min number of matched sampling points for particle creation.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
bool PassesElementCuts(MatrixType::ElementList::const_reverse_iterator eIter) const
Whether a provided (iterator to a) matrix element passes the selection cuts for particle creation...
Header file for the two view transverse tracks algorithm class.
TwoViewSimpleTracksTool class.
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
float m_minXOverlapFraction
The min x overlap fraction (in each view) for particle creation.
void FindBestTrack(const MatrixType &overlapMatrix, ProtoParticleVector &protoParticleVector) const
Find best track match as a simple way to (try to) resolve ambiguities in the matrix.