ATLAS Offline Software
Tracking
TrkEvent
TrkEventPrimitives
src
FitQuality.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// FitQuality.cxx (c) ATLAS Detector software
8
9
#include "
TrkEventPrimitives/FitQuality.h
"
10
#include "GaudiKernel/MsgStream.h"
11
#include <string>
12
#include <ostream>
13
15
MsgStream&
Trk::operator <<
( MsgStream& sl,
const
Trk::FitQualityImpl
& fq)
16
{
17
std::streamsize
ss
= sl.precision();
18
sl << std::setiosflags(std::ios::fixed)<< std::setprecision(3);
19
sl <<
"FitQuality: \t"
20
<<
"("
<<fq.
chiSquared
()<<
", \t"
<<fq.
numberDoF
()<<
")\t"
21
<<
"(chi^2, ndf)"
;
22
sl.precision (
ss
); sl<<std::resetiosflags(std::ios::fixed);
23
return
sl;
24
}
25
26
std::ostream&
Trk::operator <<
( std::ostream& sl,
const
Trk::FitQualityImpl
& fq)
27
{
28
std::streamsize
ss
= sl.precision();
29
sl << std::setiosflags(std::ios::fixed)<< std::setprecision(3);
30
sl <<
"FitQuality: \t"
31
<<
"("
<<fq.
chiSquared
()<<
", \t"
<<fq.
numberDoF
()<<
")\t"
32
<<
"(chi^2, ndf)"
;
33
sl.precision (
ss
); sl<<std::resetiosflags(std::ios::fixed);
34
return
sl;
35
}
36
PowhegControl_ttHplus_NLO.ss
ss
Definition:
PowhegControl_ttHplus_NLO.py:83
Trk::FitQualityImpl::chiSquared
double chiSquared() const
returns the of the overall track fit
Definition:
FitQuality.h:56
Trk::FitQualityImpl::numberDoF
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
Definition:
FitQuality.h:60
Trk::FitQualityImpl
simple/trivial Implemenation class for fit the fit quality. It holds the same payload as FitQuality_p...
Definition:
FitQuality.h:32
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition:
AlignModule.cxx:204
FitQuality.h
Generated on Thu Nov 7 2024 21:15:19 for ATLAS Offline Software by
1.8.18