Belle II Software
release-05-01-25
KalmanFitStatus.cc
1
/* Copyright 2013, Technische Universitaet Muenchen, Ludwig-Maximilians-Universität München
2
Authors: Johannes Rauch & Tobias Schlüter
3
4
This file is part of GENFIT.
5
6
GENFIT is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published
8
by the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
GENFIT is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
21
#include "KalmanFitStatus.h"
22
23
#include "IO.h"
24
25
namespace
genfit
{
26
27
void
KalmanFitStatus::Print(
const
Option_t*)
const
28
{
29
FitStatus::Print();
30
if
(fittedWithDaf_)
printOut
<<
" track has been fitted with DAF,"
;
31
if
(fittedWithReferenceTrack_)
printOut
<<
" track has been fitted with reference track,"
;
32
if
(
isFitted_
) {
33
printOut
<<
" numIterations = "
<< numIterations_ <<
", "
;
34
printOut
<<
"track length = "
<< trackLen_ <<
", "
;
35
printOut
<<
"fChi2 = "
<< fChi2_ <<
", "
;
36
printOut
<<
"bChi2 = "
<<
FitStatus::getChi2
() <<
", "
;
37
printOut
<<
"fNdf = "
<< fNdf_ <<
", "
;
38
printOut
<<
"bNdf = "
<<
FitStatus::getNdf
() <<
", "
;
39
printOut
<<
"fPVal = "
<< getForwardPVal() <<
", "
;
40
printOut
<<
"bPVal = "
<< getBackwardPVal() <<
"\n"
;
41
}
42
printOut
<<
"\n"
;
43
}
44
45
}
/* End of namespace genfit */
genfit::FitStatus::getChi2
double getChi2() const
Get chi^2 of the fit.
Definition:
FitStatus.h:120
genfit::printOut
std::ostream printOut
Default stream for output of Print calls.
genfit
Defines for I/O streams used for error and debug printing.
Definition:
AlignablePXDRecoHit.h:19
genfit::FitStatus::isFitted_
bool isFitted_
has the track been fitted?
Definition:
FitStatus.h:147
genfit::FitStatus::getNdf
double getNdf() const
Get the degrees of freedom of the fit.
Definition:
FitStatus.h:122
genfit2
code2
fitters
src
KalmanFitStatus.cc
Generated on Fri Nov 5 2021 03:54:06 for Belle II Software by
1.8.17