![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://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 194 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 205 of file LArTrackOverlapResult.cc.
| lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult | ( | const LongitudinalOverlapResult & | rhs | ) |
Copy constructor.
| rhs |
Definition at line 215 of file LArTrackOverlapResult.cc.
| lar_content::LongitudinalOverlapResult::~LongitudinalOverlapResult | ( | ) |
|
inlineinherited |
Get the absolute chi2 value.
Definition at line 441 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 473 of file LArTrackOverlapResult.h.
Referenced by operator=().
|
inlineinherited |
Get the fraction of sampling points resulting in a match.
Definition at line 431 of file LArTrackOverlapResult.h.
References lar_content::TrackOverlapResult::m_isInitialized, and lar_content::TrackOverlapResult::m_matchedFraction.
Referenced by lar_content::ClearTrackFragmentsTool::CheckOverlapResult(), lar_content::ThreeViewTrackFragmentsAlgorithm::CheckOverlapResult(), and lar_content::ThreeViewTransverseTracksAlgorithm::ThreeViewTransverseTracksAlgorithm().
|
inlineinherited |
Get the number of matched sampling points.
Definition at line 411 of file LArTrackOverlapResult.h.
References lar_content::TrackOverlapResult::m_isInitialized, and lar_content::TrackOverlapResult::m_nMatchedSamplingPoints.
Referenced by lar_content::operator+(), lar_content::ThreeViewLongitudinalTracksAlgorithm::ThreeViewLongitudinalTracksAlgorithm(), and lar_content::ThreeViewTransverseTracksAlgorithm::ThreeViewTransverseTracksAlgorithm().
|
inlineinherited |
Get the number of sampling points.
Definition at line 421 of file LArTrackOverlapResult.h.
References lar_content::TrackOverlapResult::m_isInitialized, and lar_content::TrackOverlapResult::m_nSamplingPoints.
Referenced by lar_content::operator+(), and lar_content::ThreeViewTransverseTracksAlgorithm::ThreeViewTransverseTracksAlgorithm().
|
inline |
Definition at line 480 of file LArTrackOverlapResult.h.
Referenced by operator=().
|
inlineinherited |
Get the chi2 per samping point value.
Definition at line 451 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 404 of file LArTrackOverlapResult.h.
References lar_content::TrackOverlapResult::m_isInitialized.
Referenced by lar_content::ThreeViewDeltaRayMatchingAlgorithm::DoesClusterPassTensorThreshold(), lar_content::ThreeViewTransverseTracksAlgorithm::GetBestOverlapResult(), lar_content::ThreeViewTransverseTracksAlgorithm::GetPreviousOverlapResults(), lar_content::operator+(), lar_content::TrackOverlapResult::operator<(), lar_content::TransverseOverlapResult::operator=(), lar_content::ThreeViewTrackFragmentsAlgorithm::PerformMainLoop(), lar_content::ThreeViewLongitudinalTracksAlgorithm::ThreeViewLongitudinalTracksAlgorithm(), and lar_content::ThreeViewTransverseTracksAlgorithm::ThreeViewTransverseTracksAlgorithm().
|
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 230 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 257 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 258 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().