Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:24

0001 /* Copyright 2013, Technische Universitaet Muenchen, Ludwig-Maximilians-Universität München
0002    Authors: Johannes Rauch & Tobias Schlüter
0003 
0004    This file is part of GENFIT.
0005 
0006    GENFIT is free software: you can redistribute it and/or modify
0007    it under the terms of the GNU Lesser General Public License as published
0008    by the Free Software Foundation, either version 3 of the License, or
0009    (at your option) any later version.
0010 
0011    GENFIT is distributed in the hope that it will be useful,
0012    but WITHOUT ANY WARRANTY; without even the implied warranty of
0013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014    GNU Lesser General Public License for more details.
0015 
0016    You should have received a copy of the GNU Lesser General Public License
0017    along with GENFIT.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 
0020 
0021 #include "KalmanFitStatus.h"
0022 
0023 #include "IO.h"
0024 
0025 namespace genfit {
0026 
0027 void KalmanFitStatus::Print(const Option_t*) const
0028 {
0029   FitStatus::Print();
0030   if (fittedWithDaf_) printOut << " track has been fitted with DAF,";
0031   if (fittedWithReferenceTrack_) printOut << " track has been fitted with reference track,";
0032   if (isFitted_) {
0033     printOut << " numIterations = " << numIterations_ << ", ";
0034     printOut << "track length = " << trackLen_ << ", ";
0035     printOut << "fChi2 = " << fChi2_ << ", ";
0036     printOut << "bChi2 = " << FitStatus::getChi2() << ", ";
0037     printOut << "fNdf = " << fNdf_ << ", ";
0038     printOut << "bNdf = " << FitStatus::getNdf() << ", ";
0039     printOut << "fPVal = " << getForwardPVal() << ", ";
0040     printOut << "bPVal = " << getBackwardPVal() << "\n";
0041   }
0042   printOut << "\n";
0043 }
0044 
0045 } /* End of namespace genfit */