Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
KalmanFitStatus.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file 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
blob
master
fitters
src
KalmanFitStatus.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:17
using
1.8.2 with
sPHENIX GitHub integration