8 #ifndef LAR_TRACK_TWO_VIEW_OVERLAP_RESULT_H 9 #define LAR_TRACK_TWO_VIEW_OVERLAP_RESULT_H 1 11 #include "Pandora/StatusCodes.h" 41 const pandora::Cluster *
const pBestMatchedCluster,
const pandora::ClusterList &matchedClusterList,
const float reducedChiSquared);
171 float GetMatchingScore()
const;
223 const unsigned int nMatchedSamplingPoints,
const float correlationCoefficient,
const TwoViewXOverlap &twoViewXOverlap);
242 unsigned int GetNSamplingPoints()
const;
249 unsigned int GetNMatchedSamplingPoints()
const;
256 unsigned int GetNReUpsampledSamplingPoints()
const;
263 unsigned int GetNMatchedReUpsampledSamplingPoints()
const;
270 float GetCorrelationCoefficient()
const;
277 float GetLocallyMatchedFraction()
const;
366 return m_matchingScore;
368 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
377 return m_nSamplingPoints;
379 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
387 return m_nMatchedSamplingPoints;
389 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
397 return static_cast<unsigned int>(m_downsamplingFactor *
static_cast<float>(m_nSamplingPoints));
399 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
407 return static_cast<unsigned int>(m_downsamplingFactor *
static_cast<float>(m_nMatchedSamplingPoints));
409 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
417 return m_correlationCoefficient;
419 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
427 return (m_nSamplingPoints > 0 ? static_cast<float>(m_nMatchedSamplingPoints) / static_cast<float>(m_nSamplingPoints) : 0.
f);
429 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
437 return m_twoViewXOverlap;
439 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
444 #endif // #ifndef LAR_TRACK_TWO_VIEW_OVERLAP_RESULT_H const TwoViewXOverlap & GetTwoViewXOverlap() const
Get the two view x overlap object.
bool IsInitialized() const
Whether the track overlap result has been initialized.
TwoViewTransverseOverlapResult class.
bool IsInitialized() const
Whether the track overlap result has been initialized.
float GetMatchingScore() const
Get the matching score of the overlap result.
unsigned int GetNMatchedSamplingPoints() const
Get the number of matched sampling points.
bool operator>(ScheduleID const left, ScheduleID const right) noexcept
float GetReducedChiSquared() const
Get the reduced chi squared value.
pandora::ClusterList m_matchedClusterList
The list of clusters that lie on the projected hits.
virtual ~TwoViewDeltaRayOverlapResult()
Destructor.
bool m_isInitialized
Whether the track overlap result has been initialized.
TwoViewDeltaRayOverlapResult()
Default constructor.
float m_reducedChiSquared
The reduced chi squared of the best matched cluster.
unsigned int GetNMatchedReUpsampledSamplingPoints() const
Get the number of matched re-upsampled sampling points.
float GetLocallyMatchedFraction() const
Get the locally matched fraction.
pandora::PfoList m_commonMuonPfoList
The list of muon pfos whose clusters lie close to delta ray clusters in all views.
const pandora::Cluster * GetBestMatchedAvailableCluster() const
Get the best matched available cluster.
TwoViewXOverlap m_xOverlap
The x overlap object.
const pandora::Cluster * GetBestMatchedCluster() const
Get the best matched cluster.
TwoViewDeltaRayOverlapResult class.
Header file for the lar x two view overlap class.
float GetCorrelationCoefficient() const
Get the correlation coefficient.
unsigned int GetNReUpsampledSamplingPoints() const
Get the number of re-upsampled sampling points.
float m_correlationCoefficient
The correlation coefficient.
bool operator<(const TwoViewDeltaRayOverlapResult &rhs) const
Track two view overlap result less than operator.
float m_matchingScore
The compatability score for the two objects associated with the overlap result.
TwoViewDeltaRayOverlapResult & operator=(const TwoViewDeltaRayOverlapResult &rhs)
Track overlap result assigment operator.
unsigned int GetNSamplingPoints() const
Get the number of sampling points.
Header file for the lar track overlap result class.
const pandora::Cluster * m_pBestMatchedCluster
The largest cluster that lies on the projected hits.
float m_downsamplingFactor
The downsampling factor.
TrackTwoViewOverlapResult class.
unsigned int m_nSamplingPoints
The number of sampling points.
const pandora::ClusterList & GetMatchedClusterList() const
Get the matched cluster list.
std::vector< TwoViewTransverseOverlapResult > TwoViewTransverseOverlapResultVector
TwoViewXOverlap m_twoViewXOverlap
The two view x overlap object.
const pandora::PfoList & GetCommonMuonPfoList() const
Get the common muon pfo list.
bool m_isInitialized
Whether the two view delta ray overlap result has been initialized.
unsigned int m_nMatchedSamplingPoints
The number of matched sampling points.
const TwoViewXOverlap & GetXOverlap() const
Get the x overlap object.