8 #ifndef LAR_TRACK_OVERLAP_RESULT_H 9 #define LAR_TRACK_OVERLAP_RESULT_H 1 11 #include "Pandora/PandoraInputTypes.h" 12 #include "Pandora/StatusCodes.h" 40 TrackOverlapResult(
const unsigned int nMatchedSamplingPoints,
const unsigned int nSamplingPoints,
const float chi2);
147 TransverseOverlapResult(
const unsigned int nMatchedSamplingPoints,
const unsigned int nSamplingPoints,
const float chi2,
167 const XOverlap &GetXOverlap()
const;
221 LongitudinalOverlapResult(
const unsigned int nMatchedSamplingPoints,
const unsigned int nSamplingPoints,
const float chi2,
222 const float innerChi2,
const float outerChi2);
241 float GetInnerChi2()
const;
248 float GetOuterChi2()
const;
285 const pandora::ClusterList &clusterList);
296 FragmentOverlapResult(
const unsigned int nMatchedSamplingPoints,
const unsigned int nSamplingPoints,
const float chi2,
297 const pandora::CaloHitList &caloHitList,
const pandora::ClusterList &clusterList);
316 const pandora::CaloHitList &GetFragmentCaloHitList()
const;
323 const pandora::ClusterList &GetFragmentClusterList()
const;
330 pandora::HitType GetFragmentHitType()
const;
361 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
371 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
381 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
391 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
401 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
412 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
435 return m_caloHitList;
442 return m_clusterList;
447 #endif // #ifndef LAR_TRACK_OVERLAP_RESULT_H 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.
std::vector< FragmentOverlapResult > FragmentOverlapResultVector
virtual ~TrackOverlapResult()
Destructor.
float GetInnerChi2() const
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.
std::vector< TransverseOverlapResult > TransverseOverlapResultVector
float m_innerChi2
The inner chi squared.
bool operator<(const TrackOverlapResult &rhs) const
Track overlap result less than operator.
const XOverlap & GetXOverlap() const
Get the x overlap object.
TransverseOverlapResult operator+(const TransverseOverlapResult &lhs, const TransverseOverlapResult &rhs)
Transverse overlap result + operator.
const pandora::CaloHitList & GetFragmentCaloHitList() const
Get the list of fragment-associated hits.
unsigned int GetNSamplingPoints() const
Get the number of sampling points.
float GetMatchedFraction() const
Get the fraction of sampling points resulting in a match.
TransverseOverlapResult class.
float GetReducedChi2() const
Get the chi2 per samping point value.
TrackOverlapResult class.
TrackOverlapResult & operator=(const TrackOverlapResult &rhs)
Track overlap result assigment operator.
std::vector< LongitudinalOverlapResult > LongitudinalOverlapResultVector
Header file for the lar x overlap class.
bool operator>(const TrackOverlapResult &rhs) const
Track overlap result greater than operator.
float m_reducedChi2
The chi2 per samping point value.
unsigned int m_nSamplingPoints
The number of sampling points.
float m_matchedFraction
The fraction of sampling points resulting in a match.
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.