LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 269 of file LArTrackOverlapResult.h.
lar_content::FragmentOverlapResult::FragmentOverlapResult | ( | ) |
Default constructor.
Definition at line 243 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 251 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 262 of file LArTrackOverlapResult.cc.
lar_content::FragmentOverlapResult::FragmentOverlapResult | ( | const FragmentOverlapResult & | rhs | ) |
Copy constructor.
rhs |
Definition at line 272 of file LArTrackOverlapResult.cc.
lar_content::FragmentOverlapResult::~FragmentOverlapResult | ( | ) |
|
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 |
Get the list of fragment-associated hits.
Definition at line 433 of file LArTrackOverlapResult.h.
Referenced by lar_content::ClearTrackFragmentsTool::CheckOverlapResult(), lar_content::ThreeDTrackFragmentsAlgorithm::CheckOverlapResult(), operator=(), lar_content::ThreeDTrackFragmentsAlgorithm::PerformMainLoop(), and lar_content::ClearTrackFragmentsTool::ProcessTensorElement().
|
inline |
Get the list of fragment-associated clusters.
Definition at line 440 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 298 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 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.
|
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.
FragmentOverlapResult & lar_content::FragmentOverlapResult::operator= | ( | const FragmentOverlapResult & | rhs | ) |
Fragments overlap result assigment operator.
rhs | the track overlap result to assign |
Definition at line 287 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 340 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 341 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().