Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
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
13namespace lar_content
14{
15
20{
21public:
26
27 bool Run(TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix);
28
29private:
36 void FindBestTrack(const MatrixType &overlapMatrix, ProtoParticleVector &protoParticleVector) const;
37
43 bool PassesElementCuts(MatrixType::ElementList::const_reverse_iterator eIter) const;
44
46
51};
52
53} // namespace lar_content
54
55#endif // #ifndef TWO_VIEW_SIMPLE_TRACKS_TOOL_H
Header file for the two view transverse tracks algorithm class.
TwoViewTransverseTracksAlgorithm::MatchingType::MatrixType MatrixType
float m_minXOverlapFraction
The min x overlap fraction (in each view) for particle creation.
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.
bool Run(TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix)
Run the algorithm tool.
bool PassesElementCuts(MatrixType::ElementList::const_reverse_iterator eIter) const
Whether a provided (iterator to a) matrix element passes the selection cuts for particle creation.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
void FindBestTrack(const MatrixType &overlapMatrix, ProtoParticleVector &protoParticleVector) const
Find best track match as a simple way to (try to) resolve ambiguities in the matrix.
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
std::vector< ProtoParticle > ProtoParticleVector
StatusCode
The StatusCode enum.