Public Member Functions | Private Attributes | List of all members
lar_content::LongitudinalOverlapResult Class Reference

LongitudinalOverlapResult class. More...

#include <LArTrackOverlapResult.h>

Inheritance diagram for lar_content::LongitudinalOverlapResult:
lar_content::TrackOverlapResult

Public Member Functions

 LongitudinalOverlapResult ()
 Default constructor. More...
 
 LongitudinalOverlapResult (const TrackOverlapResult trackOverlapResult, const float innerChi2, const float outerChi2)
 Constructor. More...
 
 LongitudinalOverlapResult (const unsigned int nMatchedSamplingPoints, const unsigned int nSamplingPoints, const float chi2, const float innerChi2, const float outerChi2)
 Constructor. More...
 
 LongitudinalOverlapResult (const LongitudinalOverlapResult &rhs)
 Copy constructor. More...
 
 ~LongitudinalOverlapResult ()
 Destructor. More...
 
float GetInnerChi2 () const
 
float GetOuterChi2 () const
 
LongitudinalOverlapResultoperator= (const LongitudinalOverlapResult &rhs)
 Track overlap result assigment operator. More...
 
- Public Member Functions inherited from lar_content::TrackOverlapResult
 TrackOverlapResult ()
 Default constructor. More...
 
 TrackOverlapResult (const unsigned int nMatchedSamplingPoints, const unsigned int nSamplingPoints, const float chi2)
 Constructor. More...
 
 TrackOverlapResult (const TrackOverlapResult &rhs)
 Copy constructor. More...
 
virtual ~TrackOverlapResult ()
 Destructor. More...
 
bool IsInitialized () const
 Whether the track overlap result has been initialized. More...
 
unsigned int GetNMatchedSamplingPoints () const
 Get the number of matched sampling points. More...
 
unsigned int GetNSamplingPoints () const
 Get the number of sampling points. More...
 
float GetMatchedFraction () const
 Get the fraction of sampling points resulting in a match. More...
 
float GetChi2 () const
 Get the absolute chi2 value. More...
 
float GetReducedChi2 () const
 Get the chi2 per samping point value. More...
 
bool operator< (const TrackOverlapResult &rhs) const
 Track overlap result less than operator. More...
 
bool operator> (const TrackOverlapResult &rhs) const
 Track overlap result greater than operator. More...
 
TrackOverlapResultoperator= (const TrackOverlapResult &rhs)
 Track overlap result assigment operator. More...
 

Private Attributes

float m_innerChi2
 The inner chi squared. More...
 
float m_outerChi2
 The outer chi squared. More...
 

Additional Inherited Members

- Protected Attributes inherited from lar_content::TrackOverlapResult
bool m_isInitialized
 Whether the track overlap result has been initialized. More...
 
unsigned int m_nMatchedSamplingPoints
 The number of matched sampling points. More...
 
unsigned int m_nSamplingPoints
 The number of sampling points. More...
 
float m_matchedFraction
 The fraction of sampling points resulting in a match. More...
 
float m_chi2
 The absolute chi2 value. More...
 
float m_reducedChi2
 The chi2 per samping point value. More...
 

Detailed Description

LongitudinalOverlapResult class.

Definition at line 194 of file LArTrackOverlapResult.h.

Constructor & Destructor Documentation

lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult ( )

Default constructor.

Definition at line 186 of file LArTrackOverlapResult.cc.

lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult ( const TrackOverlapResult  trackOverlapResult,
const float  innerChi2,
const float  outerChi2 
)

Constructor.

Parameters
trackOverlapResult
innerChi2
outerChi2

Definition at line 191 of file LArTrackOverlapResult.cc.

191  :
192  TrackOverlapResult(trackOverlapResult),
193  m_innerChi2(innerChi2),
194  m_outerChi2(outerChi2)
195 {
196 }
TrackOverlapResult()
Default constructor.
float m_outerChi2
The outer chi squared.
float m_innerChi2
The inner chi squared.
lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult ( const unsigned int  nMatchedSamplingPoints,
const unsigned int  nSamplingPoints,
const float  chi2,
const float  innerChi2,
const float  outerChi2 
)

Constructor.

Parameters
nMatchedSamplingPoints
nSamplingPoints
chi2
innerChi2
outerChi2

Definition at line 200 of file LArTrackOverlapResult.cc.

201  :
202  TrackOverlapResult(nMatchedSamplingPoints, nSamplingPoints, chi2),
203  m_innerChi2(innerChi2),
204  m_outerChi2(outerChi2)
205 {
206 }
TrackOverlapResult()
Default constructor.
float m_outerChi2
The outer chi squared.
float m_innerChi2
The inner chi squared.
lar_content::LongitudinalOverlapResult::LongitudinalOverlapResult ( const LongitudinalOverlapResult rhs)

Copy constructor.

Parameters
rhs

Definition at line 210 of file LArTrackOverlapResult.cc.

210  :
211  TrackOverlapResult(rhs),
212  m_innerChi2(rhs.IsInitialized() ? rhs.GetInnerChi2() : 0.f),
213  m_outerChi2(rhs.IsInitialized() ? rhs.GetOuterChi2() : 0.f)
214 {
215 }
TrackOverlapResult()
Default constructor.
float m_outerChi2
The outer chi squared.
float m_innerChi2
The inner chi squared.
lar_content::LongitudinalOverlapResult::~LongitudinalOverlapResult ( )

Destructor.

Definition at line 219 of file LArTrackOverlapResult.cc.

220 {
221 }

Member Function Documentation

float lar_content::LongitudinalOverlapResult::GetInnerChi2 ( ) const
inline
Returns

Definition at line 473 of file LArTrackOverlapResult.h.

474 {
475  return m_innerChi2;
476 }
float m_innerChi2
The inner chi squared.
float lar_content::LongitudinalOverlapResult::GetOuterChi2 ( ) const
inline
Returns

Definition at line 480 of file LArTrackOverlapResult.h.

481 {
482  return m_outerChi2;
483 }
float m_outerChi2
The outer chi squared.
LongitudinalOverlapResult & lar_content::LongitudinalOverlapResult::operator= ( const LongitudinalOverlapResult rhs)

Track overlap result assigment operator.

Parameters
rhsthe track overlap result to assign

Definition at line 225 of file LArTrackOverlapResult.cc.

226 {
228  m_innerChi2 = rhs.GetInnerChi2();
229  m_outerChi2 = rhs.GetOuterChi2();
230 
231  return *this;
232 }
float m_outerChi2
The outer chi squared.
float m_innerChi2
The inner chi squared.
TrackOverlapResult & operator=(const TrackOverlapResult &rhs)
Track overlap result assigment operator.

Member Data Documentation

float lar_content::LongitudinalOverlapResult::m_innerChi2
private

The inner chi squared.

Definition at line 257 of file LArTrackOverlapResult.h.

float lar_content::LongitudinalOverlapResult::m_outerChi2
private

The outer chi squared.

Definition at line 258 of file LArTrackOverlapResult.h.


The documentation for this class was generated from the following files: