LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
TrackOverlapResult class. More...
#include "LArTrackOverlapResult.h"
Public Member Functions | |
TrackOverlapResult () | |
Default constructor. More... | |
TrackOverlapResult (const unsigned int nMatchedSamplingPoints, const unsigned int nSamplingPoints, const float chi2) | |
Constructor. More... | |
TrackOverlapResult (const TrackOverlapResult &rhs) | |
Copy constructor. More... | |
virtual | ~TrackOverlapResult () |
Destructor. More... | |
bool | IsInitialized () const |
Whether the track overlap result has been initialized. More... | |
unsigned int | GetNMatchedSamplingPoints () const |
Get the number of matched sampling points. More... | |
unsigned int | GetNSamplingPoints () const |
Get the number of sampling points. More... | |
float | GetMatchedFraction () const |
Get the fraction of sampling points resulting in a match. More... | |
float | GetChi2 () const |
Get the absolute chi2 value. More... | |
float | GetReducedChi2 () const |
Get the chi2 per samping point value. More... | |
bool | operator< (const TrackOverlapResult &rhs) const |
Track overlap result less than operator. More... | |
bool | operator> (const TrackOverlapResult &rhs) const |
Track overlap result greater than operator. More... | |
TrackOverlapResult & | operator= (const TrackOverlapResult &rhs) |
Track overlap result assigment operator. More... | |
Protected Attributes | |
bool | m_isInitialized |
Whether the track overlap result has been initialized. More... | |
unsigned int | m_nMatchedSamplingPoints |
The number of matched sampling points. More... | |
unsigned int | m_nSamplingPoints |
The number of sampling points. More... | |
float | m_matchedFraction |
The fraction of sampling points resulting in a match. More... | |
float | m_chi2 |
The absolute chi2 value. More... | |
float | m_reducedChi2 |
The chi2 per samping point value. More... | |
TrackOverlapResult class.
Definition at line 25 of file LArTrackOverlapResult.h.
lar_content::TrackOverlapResult::TrackOverlapResult | ( | ) |
Default constructor.
Definition at line 20 of file LArTrackOverlapResult.cc.
lar_content::TrackOverlapResult::TrackOverlapResult | ( | const unsigned int | nMatchedSamplingPoints, |
const unsigned int | nSamplingPoints, | ||
const float | chi2 | ||
) |
Constructor.
nMatchedSamplingPoints | |
nSamplingPoints | |
chi2 |
Definition at line 32 of file LArTrackOverlapResult.cc.
References m_chi2, m_matchedFraction, m_nMatchedSamplingPoints, m_nSamplingPoints, and m_reducedChi2.
lar_content::TrackOverlapResult::TrackOverlapResult | ( | const TrackOverlapResult & | rhs | ) |
Copy constructor.
rhs |
Definition at line 49 of file LArTrackOverlapResult.cc.
|
virtual |
|
inline |
Get the absolute chi2 value.
Definition at line 386 of file LArTrackOverlapResult.h.
References m_chi2, and m_isInitialized.
Referenced by lar_content::operator+().
|
inline |
Get the fraction of sampling points resulting in a match.
Definition at line 376 of file LArTrackOverlapResult.h.
References m_isInitialized, and m_matchedFraction.
Referenced by lar_content::ClearTrackFragmentsTool::CheckOverlapResult(), lar_content::ThreeDTrackFragmentsAlgorithm::CheckOverlapResult(), and lar_content::ThreeDTransverseTracksAlgorithm::ThreeDTransverseTracksAlgorithm().
|
inline |
Get the number of matched sampling points.
Definition at line 356 of file LArTrackOverlapResult.h.
References m_isInitialized, and m_nMatchedSamplingPoints.
Referenced by lar_content::operator+(), lar_content::ThreeDLongitudinalTracksAlgorithm::ThreeDLongitudinalTracksAlgorithm(), and lar_content::ThreeDTransverseTracksAlgorithm::ThreeDTransverseTracksAlgorithm().
|
inline |
Get the number of sampling points.
Definition at line 366 of file LArTrackOverlapResult.h.
References m_isInitialized, and m_nSamplingPoints.
Referenced by lar_content::operator+(), and lar_content::ThreeDTransverseTracksAlgorithm::ThreeDTransverseTracksAlgorithm().
|
inline |
Get the chi2 per samping point value.
Definition at line 396 of file LArTrackOverlapResult.h.
References m_isInitialized, and m_reducedChi2.
|
inline |
Whether the track overlap result has been initialized.
Definition at line 349 of file LArTrackOverlapResult.h.
References m_isInitialized.
Referenced by lar_content::ThreeDTransverseTracksAlgorithm::GetBestOverlapResult(), lar_content::ThreeDTransverseTracksAlgorithm::GetPreviousOverlapResults(), lar_content::operator+(), operator<(), lar_content::TransverseOverlapResult::operator=(), lar_content::ThreeDTrackFragmentsAlgorithm::PerformMainLoop(), lar_content::ThreeDLongitudinalTracksAlgorithm::ThreeDLongitudinalTracksAlgorithm(), and lar_content::ThreeDTransverseTracksAlgorithm::ThreeDTransverseTracksAlgorithm().
bool lar_content::TrackOverlapResult::operator< | ( | const TrackOverlapResult & | rhs | ) | const |
Track overlap result less than operator.
rhs | the track overlap result for comparison |
Definition at line 67 of file LArTrackOverlapResult.cc.
References IsInitialized(), m_isInitialized, m_matchedFraction, m_nMatchedSamplingPoints, and m_reducedChi2.
TrackOverlapResult & lar_content::TrackOverlapResult::operator= | ( | const TrackOverlapResult & | rhs | ) |
Track overlap result assigment operator.
rhs | the track overlap result to assign |
Definition at line 102 of file LArTrackOverlapResult.cc.
References m_chi2, m_isInitialized, m_matchedFraction, m_nMatchedSamplingPoints, m_nSamplingPoints, and m_reducedChi2.
Referenced by lar_content::TransverseOverlapResult::operator=(), lar_content::LongitudinalOverlapResult::operator=(), and lar_content::FragmentOverlapResult::operator=().
bool lar_content::TrackOverlapResult::operator> | ( | const TrackOverlapResult & | rhs | ) | const |
Track overlap result greater than operator.
rhs | the track overlap result for comparison |
Definition at line 92 of file LArTrackOverlapResult.cc.
|
protected |
The absolute chi2 value.
Definition at line 122 of file LArTrackOverlapResult.h.
Referenced by GetChi2(), operator=(), and TrackOverlapResult().
|
protected |
Whether the track overlap result has been initialized.
Definition at line 118 of file LArTrackOverlapResult.h.
Referenced by GetChi2(), GetMatchedFraction(), GetNMatchedSamplingPoints(), GetNSamplingPoints(), GetReducedChi2(), lar_content::TransverseOverlapResult::GetXOverlap(), IsInitialized(), operator<(), and operator=().
|
protected |
The fraction of sampling points resulting in a match.
Definition at line 121 of file LArTrackOverlapResult.h.
Referenced by GetMatchedFraction(), operator<(), operator=(), and TrackOverlapResult().
|
protected |
The number of matched sampling points.
Definition at line 119 of file LArTrackOverlapResult.h.
Referenced by GetNMatchedSamplingPoints(), operator<(), operator=(), and TrackOverlapResult().
|
protected |
The number of sampling points.
Definition at line 120 of file LArTrackOverlapResult.h.
Referenced by GetNSamplingPoints(), operator=(), and TrackOverlapResult().
|
protected |
The chi2 per samping point value.
Definition at line 123 of file LArTrackOverlapResult.h.
Referenced by GetReducedChi2(), operator<(), operator=(), and TrackOverlapResult().