![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
FragmentOverlapResult class. More...
#include "LArTrackOverlapResult.h"
Public Member Functions | |
| FragmentOverlapResult () | |
| Default constructor. More... | |
| FragmentOverlapResult (const TrackOverlapResult trackOverlapResult, const pandora::CaloHitList &caloHitList, const pandora::ClusterList &clusterList) | |
| Constructor. More... | |
| FragmentOverlapResult (const unsigned int nMatchedSamplingPoints, const unsigned int nSamplingPoints, const float chi2, const pandora::CaloHitList &caloHitList, const pandora::ClusterList &clusterList) | |
| Constructor. More... | |
| FragmentOverlapResult (const FragmentOverlapResult &rhs) | |
| Copy constructor. More... | |
| ~FragmentOverlapResult () | |
| Destructor. More... | |
| const pandora::CaloHitList & | GetFragmentCaloHitList () const |
| Get the list of fragment-associated hits. More... | |
| const pandora::ClusterList & | GetFragmentClusterList () const |
| Get the list of fragment-associated clusters. More... | |
| pandora::HitType | GetFragmentHitType () const |
| Get the fragment hit type. More... | |
| FragmentOverlapResult & | operator= (const FragmentOverlapResult &rhs) |
| Fragments 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 | |
| pandora::CaloHitList | m_caloHitList |
| The list of fragment-associated hits. More... | |
| pandora::ClusterList | m_clusterList |
| The list of fragment-associated clusters. More... | |
FragmentOverlapResult class.
Definition at line 268 of file LArTrackOverlapResult.h.
| lar_content::FragmentOverlapResult::FragmentOverlapResult | ( | ) |
Default constructor.
Definition at line 242 of file LArTrackOverlapResult.cc.
| lar_content::FragmentOverlapResult::FragmentOverlapResult | ( | const TrackOverlapResult | trackOverlapResult, |
| const pandora::CaloHitList & | caloHitList, | ||
| const pandora::ClusterList & | clusterList | ||
| ) |
Constructor.
| trackOverlapResult | |
| caloHitList | |
| clusterList |
Definition at line 250 of file LArTrackOverlapResult.cc.
| lar_content::FragmentOverlapResult::FragmentOverlapResult | ( | const unsigned int | nMatchedSamplingPoints, |
| const unsigned int | nSamplingPoints, | ||
| const float | chi2, | ||
| const pandora::CaloHitList & | caloHitList, | ||
| const pandora::ClusterList & | clusterList | ||
| ) |
Constructor.
| nMatchedSamplingPoints | |
| nSamplingPoints | |
| chi2 | |
| caloHitList | |
| clusterList |
Definition at line 260 of file LArTrackOverlapResult.cc.
| lar_content::FragmentOverlapResult::FragmentOverlapResult | ( | const FragmentOverlapResult & | rhs | ) |
Copy constructor.
| rhs |
Definition at line 270 of file LArTrackOverlapResult.cc.
| lar_content::FragmentOverlapResult::~FragmentOverlapResult | ( | ) |
|
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 |
Get the list of fragment-associated hits.
Definition at line 488 of file LArTrackOverlapResult.h.
Referenced by lar_content::ClearTrackFragmentsTool::CheckOverlapResult(), lar_content::ThreeViewTrackFragmentsAlgorithm::CheckOverlapResult(), operator=(), lar_content::ThreeViewTrackFragmentsAlgorithm::PerformMainLoop(), and lar_content::ClearTrackFragmentsTool::ProcessTensorElement().
|
inline |
Get the list of fragment-associated clusters.
Definition at line 495 of file LArTrackOverlapResult.h.
Referenced by lar_content::ClearTrackFragmentsTool::GetAffectedKeyClusters(), operator=(), and lar_content::ClearTrackFragmentsTool::ProcessTensorElement().
| pandora::HitType lar_content::FragmentOverlapResult::GetFragmentHitType | ( | ) | const |
Get the fragment hit type.
Definition at line 296 of file LArTrackOverlapResult.cc.
References m_caloHitList.
Referenced by lar_content::ClearTrackFragmentsTool::GetAffectedKeyClusters(), and lar_content::ClearTrackFragmentsTool::ProcessTensorElement().
|
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().
|
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.
| FragmentOverlapResult & lar_content::FragmentOverlapResult::operator= | ( | const FragmentOverlapResult & | rhs | ) |
Fragments overlap result assigment operator.
| rhs | the track overlap result to assign |
Definition at line 285 of file LArTrackOverlapResult.cc.
References GetFragmentCaloHitList(), GetFragmentClusterList(), m_caloHitList, m_clusterList, 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.
|
private |
The list of fragment-associated hits.
Definition at line 338 of file LArTrackOverlapResult.h.
Referenced by GetFragmentHitType(), and operator=().
|
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 list of fragment-associated clusters.
Definition at line 339 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().
|
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().