9 #include "Objects/CaloHit.h" 11 #include "Pandora/PandoraInternal.h" 20 TrackOverlapResult::TrackOverlapResult() :
21 m_isInitialized(false),
22 m_nMatchedSamplingPoints(0),
24 m_matchedFraction(0.
f),
41 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
73 throw StatusCodeException(STATUS_CODE_NOT_INITIALIZED);
97 return !(*
this < rhs);
105 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
129 const float chi2,
const XOverlap &xOverlap) :
173 throw StatusCodeException(STATUS_CODE_NOT_INITIALIZED);
207 const float chi2,
const float innerChi2,
const float outerChi2) :
252 const pandora::ClusterList &clusterList) :
263 const float chi2,
const pandora::CaloHitList &caloHitList,
const pandora::ClusterList &clusterList) :
301 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
LongitudinalOverlapResult class.
pandora::ClusterList m_clusterList
The list of fragment-associated clusters.
float m_chi2
The absolute chi2 value.
FragmentOverlapResult class.
unsigned int GetNMatchedSamplingPoints() const
Get the number of matched sampling points.
bool IsInitialized() const
Whether the track overlap result has been initialized.
virtual ~TrackOverlapResult()
Destructor.
FragmentOverlapResult()
Default constructor.
FragmentOverlapResult & operator=(const FragmentOverlapResult &rhs)
Fragments overlap result assigment operator.
float GetInnerChi2() const
~TransverseOverlapResult()
Destructor.
TrackOverlapResult()
Default constructor.
unsigned int m_nMatchedSamplingPoints
The number of matched sampling points.
bool m_isInitialized
Whether the track overlap result has been initialized.
float GetOuterChi2() const
float m_outerChi2
The outer chi squared.
float m_innerChi2
The inner chi squared.
bool operator<(const TrackOverlapResult &rhs) const
Track overlap result less than operator.
LongitudinalOverlapResult()
Default constructor.
const XOverlap & GetXOverlap() const
Get the x overlap object.
~FragmentOverlapResult()
Destructor.
TransverseOverlapResult operator+(const TransverseOverlapResult &lhs, const TransverseOverlapResult &rhs)
Transverse overlap result + operator.
pandora::HitType GetFragmentHitType() const
Get the fragment hit type.
const pandora::CaloHitList & GetFragmentCaloHitList() const
Get the list of fragment-associated hits.
unsigned int GetNSamplingPoints() const
Get the number of sampling points.
TransverseOverlapResult()
Default constructor.
TransverseOverlapResult class.
TrackOverlapResult class.
LongitudinalOverlapResult & operator=(const LongitudinalOverlapResult &rhs)
Track overlap result assigment operator.
TrackOverlapResult & operator=(const TrackOverlapResult &rhs)
Track overlap result assigment operator.
Header file for the lar track overlap result class.
bool operator>(const TrackOverlapResult &rhs) const
Track overlap result greater than operator.
float m_reducedChi2
The chi2 per samping point value.
~LongitudinalOverlapResult()
Destructor.
unsigned int m_nSamplingPoints
The number of sampling points.
float m_matchedFraction
The fraction of sampling points resulting in a match.
TransverseOverlapResult & operator=(const TransverseOverlapResult &rhs)
Track overlap result assigment operator.
const pandora::ClusterList & GetFragmentClusterList() const
Get the list of fragment-associated clusters.
float GetChi2() const
Get the absolute chi2 value.
pandora::CaloHitList m_caloHitList
The list of fragment-associated hits.
XOverlap m_xOverlap
The x overlap object.