LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
ShowerOverlapResult class. More...
#include "LArShowerOverlapResult.h"
Public Member Functions | |
ShowerOverlapResult () | |
Default constructor. More... | |
ShowerOverlapResult (const unsigned int nMatchedSamplingPoints, const unsigned int nSamplingPoints, const XOverlap &xOverlap) | |
Constructor. More... | |
ShowerOverlapResult (const ShowerOverlapResult &rhs) | |
Copy constructor. More... | |
~ShowerOverlapResult () | |
Destructor. 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... | |
const XOverlap & | GetXOverlap () const |
Get the x overlap object. More... | |
bool | operator< (const ShowerOverlapResult &rhs) const |
Track overlap result less than operator. More... | |
bool | operator> (const ShowerOverlapResult &rhs) const |
Track overlap result greater than operator. More... | |
ShowerOverlapResult & | operator= (const ShowerOverlapResult &rhs) |
Track overlap result assigment 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... | |
XOverlap | m_xOverlap |
The x overlap object. More... | |
ShowerOverlapResult class.
Definition at line 25 of file LArShowerOverlapResult.h.
lar_content::ShowerOverlapResult::ShowerOverlapResult | ( | ) |
Default constructor.
Definition at line 20 of file LArShowerOverlapResult.cc.
lar_content::ShowerOverlapResult::ShowerOverlapResult | ( | const unsigned int | nMatchedSamplingPoints, |
const unsigned int | nSamplingPoints, | ||
const XOverlap & | xOverlap | ||
) |
Constructor.
nMatchedSamplingPoints | |
nSamplingPoints |
Definition at line 31 of file LArShowerOverlapResult.cc.
References m_matchedFraction, m_nMatchedSamplingPoints, and m_nSamplingPoints.
lar_content::ShowerOverlapResult::ShowerOverlapResult | ( | const ShowerOverlapResult & | rhs | ) |
Copy constructor.
rhs |
Definition at line 46 of file LArShowerOverlapResult.cc.
lar_content::ShowerOverlapResult::~ShowerOverlapResult | ( | ) |
|
inline |
Get the fraction of sampling points resulting in a match.
Definition at line 146 of file LArShowerOverlapResult.h.
References m_isInitialized, and m_matchedFraction.
Referenced by lar_content::ThreeDShowersAlgorithm::RemoveFromSlidingFitCache().
|
inline |
Get the number of matched sampling points.
Definition at line 126 of file LArShowerOverlapResult.h.
References m_isInitialized, and m_nMatchedSamplingPoints.
Referenced by lar_content::ThreeDShowersAlgorithm::RemoveFromSlidingFitCache().
|
inline |
Get the number of sampling points.
Definition at line 136 of file LArShowerOverlapResult.h.
References m_isInitialized, and m_nSamplingPoints.
|
inline |
Get the x overlap object.
Definition at line 156 of file LArShowerOverlapResult.h.
References m_isInitialized, and m_xOverlap.
Referenced by operator=().
|
inline |
Whether the track overlap result has been initialized.
Definition at line 119 of file LArShowerOverlapResult.h.
References m_isInitialized.
Referenced by operator<(), operator=(), and lar_content::ThreeDShowersAlgorithm::RemoveFromSlidingFitCache().
bool lar_content::ShowerOverlapResult::operator< | ( | const ShowerOverlapResult & | rhs | ) | const |
Track overlap result less than operator.
rhs | the track overlap result for comparison |
Definition at line 63 of file LArShowerOverlapResult.cc.
References lar_content::XOverlap::GetXOverlapSpan(), IsInitialized(), m_isInitialized, m_matchedFraction, m_nMatchedSamplingPoints, and m_xOverlap.
ShowerOverlapResult & lar_content::ShowerOverlapResult::operator= | ( | const ShowerOverlapResult & | rhs | ) |
Track overlap result assigment operator.
rhs | the track overlap result to assign |
Definition at line 98 of file LArShowerOverlapResult.cc.
References f, GetXOverlap(), IsInitialized(), m_isInitialized, m_matchedFraction, m_nMatchedSamplingPoints, m_nSamplingPoints, and m_xOverlap.
bool lar_content::ShowerOverlapResult::operator> | ( | const ShowerOverlapResult & | rhs | ) | const |
Track overlap result greater than operator.
rhs | the track overlap result for comparison |
Definition at line 88 of file LArShowerOverlapResult.cc.
|
protected |
Whether the track overlap result has been initialized.
Definition at line 110 of file LArShowerOverlapResult.h.
Referenced by GetMatchedFraction(), GetNMatchedSamplingPoints(), GetNSamplingPoints(), GetXOverlap(), IsInitialized(), operator<(), and operator=().
|
protected |
The fraction of sampling points resulting in a match.
Definition at line 113 of file LArShowerOverlapResult.h.
Referenced by GetMatchedFraction(), operator<(), operator=(), and ShowerOverlapResult().
|
protected |
The number of matched sampling points.
Definition at line 111 of file LArShowerOverlapResult.h.
Referenced by GetNMatchedSamplingPoints(), operator<(), operator=(), and ShowerOverlapResult().
|
protected |
The number of sampling points.
Definition at line 112 of file LArShowerOverlapResult.h.
Referenced by GetNSamplingPoints(), operator=(), and ShowerOverlapResult().
|
protected |
The x overlap object.
Definition at line 114 of file LArShowerOverlapResult.h.
Referenced by GetXOverlap(), operator<(), and operator=().