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);
127 const unsigned int nMatchedSamplingPoints,
const unsigned int nSamplingPoints,
const float chi2,
const XOverlap &xOverlap) :
171 throw StatusCodeException(STATUS_CODE_NOT_INITIALIZED);
201 const float chi2,
const float innerChi2,
const float outerChi2) :
243 const TrackOverlapResult trackOverlapResult,
const pandora::CaloHitList &caloHitList,
const pandora::ClusterList &clusterList) :
253 const float chi2,
const pandora::CaloHitList &caloHitList,
const pandora::ClusterList &clusterList) :
291 throw StatusCodeException(STATUS_CODE_INVALID_PARAMETER);
306 const float chi2,
const XOverlap &xOverlap,
const PfoList &commonMuonPfoList) :
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.
const pandora::PfoList & GetCommonMuonPfoList() const
Get the common muon pfo list.
DeltaRayOverlapResult class.
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.
virtual ~DeltaRayOverlapResult()
Destructor.
pandora::PfoList m_commonMuonPfoList
The list of cosmic ray pfos that, in each view, lie close to the clusters of the tensor element...
unsigned int m_nSamplingPoints
The number of sampling points.
float m_matchedFraction
The fraction of sampling points resulting in a match.
DeltaRayOverlapResult()
Default constructor.
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.
DeltaRayOverlapResult & operator=(const DeltaRayOverlapResult &rhs)
Track overlap result assigment operator.
pandora::CaloHitList m_caloHitList
The list of fragment-associated hits.
XOverlap m_xOverlap
The x overlap object.