9 #include "Objects/CaloHit.h" 11 #include "Pandora/PandoraInternal.h" 20 ShowerOverlapResult::ShowerOverlapResult() :
21 m_isInitialized(false),
22 m_nMatchedSamplingPoints(0),
24 m_matchedFraction(0.
f),
39 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
69 throw StatusCodeException(STATUS_CODE_NOT_INITIALIZED);
102 return !(*
this < rhs);
110 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
bool IsInitialized() const
Whether the track overlap result has been initialized.
float GetXSpanV() const
Get the x span in the v view.
ShowerOverlapResult()
Default constructor.
const XOverlap & GetXOverlap() const
Get the x overlap object.
bool operator<(const ShowerOverlapResult &rhs) const
Track overlap result less than operator.
float GetXSpanW() const
Get the x span in the w view.
unsigned int m_nSamplingPoints
The number of sampling points.
bool operator>(const ShowerOverlapResult &rhs) const
Track overlap result greater than operator.
ShowerOverlapResult class.
float m_matchedFraction
The fraction of sampling points resulting in a match.
float GetXOverlapSpan() const
Get the x overlap span.
Header file for the lar shower overlap result class.
bool m_isInitialized
Whether the track overlap result has been initialized.
float GetXSpanU() const
Get the x span in the u view.
ShowerOverlapResult & operator=(const ShowerOverlapResult &rhs)
Track overlap result assigment operator.
~ShowerOverlapResult()
Destructor.
unsigned int m_nMatchedSamplingPoints
The number of matched sampling points.
XOverlap m_xOverlap
The x overlap object.