TwoViewLongTracksTool class. More...
#include <TwoViewLongTracksTool.h>
Public Member Functions | |
TwoViewLongTracksTool () | |
Default constructor. More... | |
bool | Run (TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix) |
Run the algorithm tool. More... | |
Static Public Member Functions | |
static bool | HasLongDirectConnections (IteratorList::const_iterator iIter, const IteratorList &iteratorList) |
Whether a long element shares clusters with any other long elements. More... | |
static bool | IsLongerThanDirectConnections (IteratorList::const_iterator iIter, const MatrixType::ElementList &elementList, const unsigned int minMatchedSamplingPointRatio, const pandora::ClusterSet &usedClusters) |
Whether a long element is significantly longer that other elements with which it shares a cluster. More... | |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | FindLongTracks (const MatrixType &overlapMatrix, ProtoParticleVector &protoParticleVector) const |
Find long tracks, hidden by simple ambiguities in the matrix. More... | |
void | SelectLongElements (const MatrixType::ElementList &elementList, const pandora::ClusterSet &usedClusters, IteratorList &iteratorList) const |
Select a list of long track-like elements from a set of connected matrix elements. More... | |
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... | |
unsigned int | m_minMatchedSamplingPointRatio |
The min ratio between 1st and 2nd highest msps for simple ambiguity resolution. More... | |
Additional Inherited Members | |
Public Types inherited from lar_content::TransverseMatrixTool | |
typedef TwoViewTransverseTracksAlgorithm::MatchingType::MatrixType | MatrixType |
typedef std::vector< MatrixType::ElementList::const_iterator > | IteratorList |
TwoViewLongTracksTool class.
Definition at line 19 of file TwoViewLongTracksTool.h.
lar_content::TwoViewLongTracksTool::TwoViewLongTracksTool | ( | ) |
Default constructor.
Definition at line 18 of file TwoViewLongTracksTool.cc.
|
private |
Find long tracks, hidden by simple ambiguities in the matrix.
overlapMatrix | the overlap matrix |
protoParticleVector | to receive the list of proto particles |
Definition at line 84 of file TwoViewLongTracksTool.cc.
|
static |
Whether a long element shares clusters with any other long elements.
iIter | specifies the long element under consideration |
iteratorList | list of iterators to other long elements |
Definition at line 29 of file TwoViewLongTracksTool.cc.
|
static |
Whether a long element is significantly longer that other elements with which it shares a cluster.
iIter | specifies the long element under consideration |
elementList | the full list of connected matrix elements |
minMatchedSamplingPointRatio | the min ratio between 1st and 2nd highest msps for simple ambiguity resolution |
usedClusters | the list of clusters already marked as to be added to a pfo |
Definition at line 45 of file TwoViewLongTracksTool.cc.
|
private |
Definition at line 152 of file TwoViewLongTracksTool.cc.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapMatrix | the overlap matrix |
Implements lar_content::TransverseMatrixTool.
Definition at line 70 of file TwoViewLongTracksTool.cc.
|
private |
Select a list of long track-like elements from a set of connected matrix elements.
elementList | the full list of connected matrix elements |
usedClusters | the list of clusters already marked as to be added to a pfo |
iteratorList | to receive a list of iterators to long track-like elements |
Definition at line 124 of file TwoViewLongTracksTool.cc.
|
private |
The min matched sampling point fraction for particle creation.
Definition at line 70 of file TwoViewLongTracksTool.h.
|
private |
The min ratio between 1st and 2nd highest msps for simple ambiguity resolution.
Definition at line 74 of file TwoViewLongTracksTool.h.
|
private |
The min number of matched sampling points for particle creation.
Definition at line 72 of file TwoViewLongTracksTool.h.
|
private |
The min global matching score for particle creation.
Definition at line 71 of file TwoViewLongTracksTool.h.
|
private |
The min x overlap fraction (in each view) for particle creation.
Definition at line 73 of file TwoViewLongTracksTool.h.