Class to represent and store fit qualities from track reconstruction in terms of \(\chi^2\) and number of degrees of freedom.
More...
#include <FitQuality.h>
Class to represent and store fit qualities from track reconstruction in terms of \(\chi^2\) and number of degrees of freedom.
Its main use is to describe the trajectory fit quality at a measurement and of the overall track. However, it can be extended as necessary.
- Author
- Edwar.nosp@m.d.Mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch, Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Definition at line 96 of file FitQuality.h.
◆ FitQuality()
Definition at line 111 of file FitQuality.h.
113 {
114 }
FitQualityImpl()=default
default ctor for POOL
◆ ~FitQuality()
| virtual Trk::FitQuality::~FitQuality |
( |
| ) |
|
|
virtualdefault |
◆ chiSquared()
| double Trk::FitQualityImpl::chiSquared |
( |
| ) |
const |
|
inline |
returns the \( \chi^2 \) of the overall track fit
Definition at line 56 of file FitQuality.h.
◆ clone()
| virtual FitQuality * Trk::FitQuality::clone |
( |
| ) |
const |
|
virtual |
◆ doubleNumberDoF()
| double Trk::FitQualityImpl::doubleNumberDoF |
( |
| ) |
const |
|
inline |
returns the number of degrees of freedom of the overall track or vertex fit as double
Definition at line 68 of file FitQuality.h.
◆ FitQualityImpl() [1/5]
| Trk::FitQualityImpl::FitQualityImpl |
( |
| ) |
|
|
default |
◆ FitQualityImpl() [2/5]
◆ FitQualityImpl() [3/5]
| Trk::FitQualityImpl::FitQualityImpl |
( |
double | chiSquared, |
|
|
double | numberDoF ) |
|
inline |
Constructor hadling double type of NDF.
Definition at line 49 of file FitQuality.h.
52 {
53 }
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
double chiSquared() const
returns the of the overall track fit
◆ FitQualityImpl() [4/5]
| Trk::FitQualityImpl::FitQualityImpl |
( |
double | chiSquared, |
|
|
int | numberDoF ) |
|
inline |
Constructor with \( \chi^2 \) and \( n_{dof} \).
Definition at line 42 of file FitQuality.h.
◆ FitQualityImpl() [5/5]
◆ numberDoF()
| int Trk::FitQualityImpl::numberDoF |
( |
| ) |
const |
|
inline |
returns the number of degrees of freedom of the overall track or vertex fit as integer
Definition at line 60 of file FitQuality.h.
61 {
62
63 return static_cast<int>(std::floor(
m_numberDoF + 0.5));
64 }
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setChiSquared()
| void Trk::FitQualityImpl::setChiSquared |
( |
double | chiSquared | ) |
|
|
inline |
◆ setNumberDoF()
| void Trk::FitQualityImpl::setNumberDoF |
( |
double | numberDoF | ) |
|
|
inline |
set the number of degrees of freedom
Definition at line 74 of file FitQuality.h.
◆ uniqueClone()
| std::unique_ptr< FitQuality > Trk::FitQuality::uniqueClone |
( |
| ) |
const |
◆ m_chiSquared
| double Trk::FitQualityImpl::m_chiSquared {} |
|
protectedinherited |
◆ m_numberDoF
| double Trk::FitQualityImpl::m_numberDoF {} |
|
protectedinherited |
The documentation for this class was generated from the following file: