LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
TwoViewTransverseOverlapResult class. More...
#include "LArTrackTwoViewOverlapResult.h"
Public Member Functions | |
TwoViewTransverseOverlapResult () | |
Default constructor. More... | |
TwoViewTransverseOverlapResult (const float matchingScore, const float downsamplingFactor, const unsigned int nSamplingPoints, const unsigned int nMatchedSamplingPoints, const float correlationCoefficient, const TwoViewXOverlap &twoViewXOverlap) | |
Constructor. More... | |
TwoViewTransverseOverlapResult (const TwoViewTransverseOverlapResult &rhs) | |
Copy constructor. More... | |
~TwoViewTransverseOverlapResult () | |
Destructor. More... | |
unsigned int | GetNSamplingPoints () const |
Get the number of sampling points. More... | |
unsigned int | GetNMatchedSamplingPoints () const |
Get the number of matched sampling points. More... | |
unsigned int | GetNReUpsampledSamplingPoints () const |
Get the number of re-upsampled sampling points. More... | |
unsigned int | GetNMatchedReUpsampledSamplingPoints () const |
Get the number of matched re-upsampled sampling points. More... | |
float | GetCorrelationCoefficient () const |
Get the correlation coefficient. More... | |
float | GetLocallyMatchedFraction () const |
Get the locally matched fraction. More... | |
const TwoViewXOverlap & | GetTwoViewXOverlap () const |
Get the two view x overlap object. More... | |
bool | operator< (const TwoViewTransverseOverlapResult &rhs) const |
Track two view overlap result less than operator. More... | |
TwoViewTransverseOverlapResult & | operator= (const TwoViewTransverseOverlapResult &rhs) |
Track overlap result assigment operator. More... | |
bool | IsInitialized () const |
Whether the track overlap result has been initialized. More... | |
float | GetMatchingScore () const |
Get the matching score of the overlap result. More... | |
bool | operator< (const TrackTwoViewOverlapResult &rhs) const |
Track two view overlap result less than operator. More... | |
bool | operator> (const TrackTwoViewOverlapResult &rhs) const |
Track two view overlap result greater than operator. More... | |
Protected Attributes | |
bool | m_isInitialized |
Whether the track overlap result has been initialized. More... | |
float | m_matchingScore |
The compatability score for the two objects associated with the overlap result. More... | |
Private Attributes | |
float | m_downsamplingFactor |
The downsampling factor. More... | |
unsigned int | m_nSamplingPoints |
The number of sampling points. More... | |
unsigned int | m_nMatchedSamplingPoints |
The number of matched sampling points. More... | |
float | m_correlationCoefficient |
The correlation coefficient. More... | |
TwoViewXOverlap | m_twoViewXOverlap |
The two view x overlap object. More... | |
TwoViewTransverseOverlapResult class.
Definition at line 204 of file LArTrackTwoViewOverlapResult.h.
lar_content::TwoViewTransverseOverlapResult::TwoViewTransverseOverlapResult | ( | ) |
Default constructor.
Definition at line 189 of file LArTrackTwoViewOverlapResult.cc.
lar_content::TwoViewTransverseOverlapResult::TwoViewTransverseOverlapResult | ( | const float | matchingScore, |
const float | downsamplingFactor, | ||
const unsigned int | nSamplingPoints, | ||
const unsigned int | nMatchedSamplingPoints, | ||
const float | correlationCoefficient, | ||
const TwoViewXOverlap & | twoViewXOverlap | ||
) |
Constructor.
matchingScore | the matching candidate matching score |
downsamplingFactor | the downsampling factor |
nSamplingPoints | the number of sampling points used in the matching |
nMatchedSamplingPoints | the number of matched sampling points |
correlationCoefficient | the corerlation coefficient for the matching candidate |
twoViewXOverlap | the description of the geometrical overlap for the matching candidate |
Definition at line 201 of file LArTrackTwoViewOverlapResult.cc.
lar_content::TwoViewTransverseOverlapResult::TwoViewTransverseOverlapResult | ( | const TwoViewTransverseOverlapResult & | rhs | ) |
Copy constructor.
rhs | the rhs |
Definition at line 214 of file LArTrackTwoViewOverlapResult.cc.
lar_content::TwoViewTransverseOverlapResult::~TwoViewTransverseOverlapResult | ( | ) |
|
inline |
Get the correlation coefficient.
Definition at line 414 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inline |
Get the locally matched fraction.
Definition at line 424 of file LArTrackTwoViewOverlapResult.h.
References f, and lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
Referenced by operator<().
|
inlineinherited |
Get the matching score of the overlap result.
Definition at line 363 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inline |
Get the number of matched re-upsampled sampling points.
Definition at line 404 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inline |
Get the number of matched sampling points.
Definition at line 384 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inline |
Get the number of re-upsampled sampling points.
Definition at line 394 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inline |
Get the number of sampling points.
Definition at line 374 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inline |
Get the two view x overlap object.
Definition at line 434 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
|
inlineinherited |
Whether the track overlap result has been initialized.
Definition at line 356 of file LArTrackTwoViewOverlapResult.h.
References lar_content::TwoViewDeltaRayOverlapResult::m_isInitialized.
Referenced by lar_content::TwoViewTransverseTracksAlgorithm::TwoViewTransverseTracksAlgorithm().
|
inherited |
Track two view overlap result less than operator.
rhs | the track two view overlap result for comparison |
Definition at line 146 of file LArTrackTwoViewOverlapResult.cc.
References lar_content::TrackTwoViewOverlapResult::m_isInitialized, and lar_content::TrackTwoViewOverlapResult::m_matchingScore.
bool lar_content::TwoViewTransverseOverlapResult::operator< | ( | const TwoViewTransverseOverlapResult & | rhs | ) | const |
Track two view overlap result less than operator.
rhs | the track two view overlap result for comparison |
Definition at line 232 of file LArTrackTwoViewOverlapResult.cc.
References GetLocallyMatchedFraction(), lar_content::TwoViewXOverlap::GetTwoViewXOverlapSpan(), lar_content::TwoViewXOverlap::GetXSpan0(), lar_content::TwoViewXOverlap::GetXSpan1(), m_correlationCoefficient, lar_content::TrackTwoViewOverlapResult::m_isInitialized, lar_content::TrackTwoViewOverlapResult::m_matchingScore, m_nMatchedSamplingPoints, m_nSamplingPoints, and m_twoViewXOverlap.
TwoViewTransverseOverlapResult & lar_content::TwoViewTransverseOverlapResult::operator= | ( | const TwoViewTransverseOverlapResult & | rhs | ) |
Track overlap result assigment operator.
rhs | the track overlap result to assign |
Definition at line 272 of file LArTrackTwoViewOverlapResult.cc.
References f, m_correlationCoefficient, m_downsamplingFactor, lar_content::TrackTwoViewOverlapResult::m_isInitialized, lar_content::TrackTwoViewOverlapResult::m_matchingScore, m_nMatchedSamplingPoints, m_nSamplingPoints, m_twoViewXOverlap, and lar_content::TrackTwoViewOverlapResult::operator=().
|
inherited |
Track two view overlap result greater than operator.
rhs | the track two view overlap result for comparison |
Definition at line 165 of file LArTrackTwoViewOverlapResult.cc.
|
private |
The correlation coefficient.
Definition at line 304 of file LArTrackTwoViewOverlapResult.h.
Referenced by operator<(), and operator=().
|
private |
The downsampling factor.
Definition at line 301 of file LArTrackTwoViewOverlapResult.h.
Referenced by operator=().
|
protectedinherited |
Whether the track overlap result has been initialized.
Definition at line 195 of file LArTrackTwoViewOverlapResult.h.
Referenced by lar_content::TrackTwoViewOverlapResult::operator<(), operator<(), lar_content::TrackTwoViewOverlapResult::operator=(), and operator=().
|
protectedinherited |
The compatability score for the two objects associated with the overlap result.
Definition at line 196 of file LArTrackTwoViewOverlapResult.h.
Referenced by lar_content::TrackTwoViewOverlapResult::operator<(), operator<(), lar_content::TrackTwoViewOverlapResult::operator=(), and operator=().
|
private |
The number of matched sampling points.
Definition at line 303 of file LArTrackTwoViewOverlapResult.h.
Referenced by operator<(), and operator=().
|
private |
The number of sampling points.
Definition at line 302 of file LArTrackTwoViewOverlapResult.h.
Referenced by operator<(), and operator=().
|
private |
The two view x overlap object.
Definition at line 305 of file LArTrackTwoViewOverlapResult.h.
Referenced by operator<(), and operator=().