LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
LongitudinalOverlapResult class. More...
#include "LArTrackOverlapResult.h"
Public Member Functions | |
LongitudinalOverlapResult () | |
Default constructor. More... | |
LongitudinalOverlapResult (const TrackOverlapResult trackOverlapResult, const float innerChi2, const float outerChi2) | |
Constructor. More... | |
LongitudinalOverlapResult (const unsigned int nMatchedSamplingPoints, const unsigned int nSamplingPoints, const float chi2, const float innerChi2, const float outerChi2) | |
Constructor. More... | |
LongitudinalOverlapResult (const LongitudinalOverlapResult &rhs) | |
Copy constructor. More... | |
~LongitudinalOverlapResult () | |
Destructor. More... | |
float | GetInnerChi2 () const |
float | GetOuterChi2 () const |
LongitudinalOverlapResult & | operator= (const LongitudinalOverlapResult &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 | |
float | m_innerChi2 |
The inner chi squared. More... | |
float | m_outerChi2 |
The outer chi squared. More... | |
LongitudinalOverlapResult class.
Definition at line 195 of file LArTrackOverlapResult.h.
lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult | ( | ) |
Default constructor.
Definition at line 188 of file LArTrackOverlapResult.cc.
lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult | ( | const TrackOverlapResult | trackOverlapResult, |
const float | innerChi2, | ||
const float | outerChi2 | ||
) |
Constructor.
trackOverlapResult | |
innerChi2 | |
outerChi2 |
Definition at line 196 of file LArTrackOverlapResult.cc.
lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult | ( | const unsigned int | nMatchedSamplingPoints, |
const unsigned int | nSamplingPoints, | ||
const float | chi2, | ||
const float | innerChi2, | ||
const float | outerChi2 | ||
) |
Constructor.
nMatchedSamplingPoints | |
nSamplingPoints | |
chi2 | |
innerChi2 | |
outerChi2 |
Definition at line 206 of file LArTrackOverlapResult.cc.
lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult | ( | const LongitudinalOverlapResult & | rhs | ) |
Copy constructor.
rhs |
Definition at line 216 of file LArTrackOverlapResult.cc.
lar_content::LongitudinalOverlapResult::~LongitudinalOverlapResult | ( | ) |
|
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+().
|
inline |
Definition at line 418 of file LArTrackOverlapResult.h.
Referenced by 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().
|
inline |
Definition at line 425 of file LArTrackOverlapResult.h.
Referenced by operator=().
|
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.
|
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<(), lar_content::TransverseOverlapResult::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.
LongitudinalOverlapResult & lar_content::LongitudinalOverlapResult::operator= | ( | const LongitudinalOverlapResult & | rhs | ) |
Track overlap result assigment operator.
rhs | the track overlap result to assign |
Definition at line 231 of file LArTrackOverlapResult.cc.
References GetInnerChi2(), GetOuterChi2(), m_innerChi2, m_outerChi2, 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().
|
private |
The inner chi squared.
Definition at line 258 of file LArTrackOverlapResult.h.
Referenced by operator=().
|
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(), lar_content::TransverseOverlapResult::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().
|
private |
The outer chi squared.
Definition at line 259 of file LArTrackOverlapResult.h.
Referenced by operator=().
|
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().