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