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),
25 m_xOverlap(
XOverlap(0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f))
32 m_isInitialized(
true),
33 m_nMatchedSamplingPoints(nMatchedSamplingPoints),
34 m_nSamplingPoints(nSamplingPoints),
35 m_matchedFraction(0.f),
39 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
47 m_isInitialized(rhs.m_isInitialized),
48 m_nMatchedSamplingPoints(rhs.m_nMatchedSamplingPoints),
49 m_nSamplingPoints(rhs.m_nSamplingPoints),
50 m_matchedFraction(rhs.m_matchedFraction),
51 m_xOverlap(rhs.IsInitialized() ? rhs.GetXOverlap() :
XOverlap(0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f))
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.
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandora
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.
BEGIN_PROLOG don t mess with this pandoraTrackGausCryoW true
unsigned int m_nMatchedSamplingPoints
The number of matched sampling points.
XOverlap m_xOverlap
The x overlap object.