ATLAS Offline Software
Loading...
Searching...
No Matches
FitQualityOnSurface.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// FitQualityOnSurface.h, (c) ATLAS Detector software
8
9#ifndef TRKEVENTPRIMITIVES_FITQUALITYONSURFACE_H
10#define TRKEVENTPRIMITIVES_FITQUALITYONSURFACE_H
11
12#include <iostream>
13class MsgStream;
14
16
17namespace Trk {
19{
20public:
23 using FitQualityImpl::operator=;
30
31 // Needed for T/P since we used to have only
32 // FitQuality, this copies the payload
33 // we to the persistent type
34 // i.e FitQuality_p1.
39
40 explicit operator bool() const
41 {
42 // we need to have set something
43 return (m_chiSquared != 0 || m_numberDoF != 0);
44 }
45};
46}
47#endif // TRKEVENTPRIMITIVES_FITQUALITYONSURFACE_H
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
Definition FitQuality.h:60
double chiSquared() const
returns the of the overall track fit
Definition FitQuality.h:56
void setChiSquared(double chiSquared)
set the
Definition FitQuality.h:71
FitQualityImpl()=default
default ctor for POOL
double doubleNumberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as double
Definition FitQuality.h:68
void setNumberDoF(double numberDoF)
set the number of degrees of freedom
Definition FitQuality.h:74
double chiSquared() const
returns the of the overall track fit
Definition FitQuality.h:56
FitQualityImpl()=default
default ctor for POOL
double doubleNumberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as double
Definition FitQuality.h:68
FitQualityOnSurface(const FitQualityImpl &fq)
Ensure that the ATLAS eigen extensions are properly loaded.