LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
TwoViewSimpleTracksTool class. More...
#include "TwoViewSimpleTracksTool.h"
Public Types | |
typedef TwoViewTransverseTracksAlgorithm::MatchingType::MatrixType | MatrixType |
typedef std::vector< MatrixType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
TwoViewSimpleTracksTool () | |
Default constructor. More... | |
bool | Run (TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix) |
Run the algorithm tool. More... | |
Private Member Functions | |
void | FindBestTrack (const MatrixType &overlapMatrix, ProtoParticleVector &protoParticleVector) const |
Find best track match as a simple way to (try to) resolve ambiguities in the matrix. More... | |
bool | PassesElementCuts (MatrixType::ElementList::const_reverse_iterator eIter) const |
Whether a provided (iterator to a) matrix element passes the selection cuts for particle creation. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_minMatchedFraction |
The min matched sampling point fraction for particle creation. More... | |
float | m_minMatchingScore |
The min global matching score for particle creation. More... | |
unsigned int | m_minMatchedSamplingPoints |
The min number of matched sampling points for particle creation. More... | |
float | m_minXOverlapFraction |
The min x overlap fraction (in each view) for particle creation. More... | |
TwoViewSimpleTracksTool class.
Definition at line 19 of file TwoViewSimpleTracksTool.h.
|
inherited |
Definition at line 103 of file TwoViewTransverseTracksAlgorithm.h.
|
inherited |
Definition at line 102 of file TwoViewTransverseTracksAlgorithm.h.
lar_content::TwoViewSimpleTracksTool::TwoViewSimpleTracksTool | ( | ) |
Default constructor.
Definition at line 18 of file TwoViewSimpleTracksTool.cc.
|
private |
Find best track match as a simple way to (try to) resolve ambiguities in the matrix.
overlapMatrix | the overlap matrix |
protoParticleVector | to receive the list of proto particles |
Definition at line 41 of file TwoViewSimpleTracksTool.cc.
References lar_content::OverlapMatrix< T >::GetConnectedElements(), lar_content::OverlapMatrix< T >::GetSortedKeyClusters(), lar_content::ProtoParticle::m_clusterList, and PassesElementCuts().
Referenced by Run().
|
private |
Whether a provided (iterator to a) matrix element passes the selection cuts for particle creation.
eIter | the iterator to the matrix element |
Definition at line 78 of file TwoViewSimpleTracksTool.cc.
References m_minMatchedFraction, m_minMatchedSamplingPoints, m_minMatchingScore, and m_minXOverlapFraction.
Referenced by FindBestTrack().
|
private |
Definition at line 104 of file TwoViewSimpleTracksTool.cc.
References m_minMatchedFraction, m_minMatchedSamplingPoints, m_minMatchingScore, and m_minXOverlapFraction.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapMatrix | the overlap matrix |
Implements lar_content::TransverseMatrixTool.
Definition at line 28 of file TwoViewSimpleTracksTool.cc.
References lar_content::MatchingBaseAlgorithm::CreateThreeDParticles(), and FindBestTrack().
|
private |
The min matched sampling point fraction for particle creation.
Definition at line 47 of file TwoViewSimpleTracksTool.h.
Referenced by PassesElementCuts(), and ReadSettings().
|
private |
The min number of matched sampling points for particle creation.
Definition at line 49 of file TwoViewSimpleTracksTool.h.
Referenced by PassesElementCuts(), and ReadSettings().
|
private |
The min global matching score for particle creation.
Definition at line 48 of file TwoViewSimpleTracksTool.h.
Referenced by PassesElementCuts(), and ReadSettings().
|
private |
The min x overlap fraction (in each view) for particle creation.
Definition at line 50 of file TwoViewSimpleTracksTool.h.
Referenced by PassesElementCuts(), and ReadSettings().