DAS  3.0
Das Analysis System
fit.h File Reference
#include <cmath>
#include <utility>
#include <optional>
#include <memory>
#include <iostream>
#include <iomanip>
#include <TF1.h>
#include <TFitResult.h>
#include <TH1.h>
#include <TString.h>
#include <darwin.h>
+ Include dependency graph for fit.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AbstractFit
 

Namespaces

 DAS
 
 DAS::JetEnergy
 

Functions

std::ostream & operator<< (std::ostream &s, const DAS::JetEnergy::AbstractFit &fit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const DAS::JetEnergy::AbstractFit fit 
)
inline
84 {
85  using namespace std;
86  s << fixed << setprecision(3);
87  for (int i = 0; i < fit.f->GetNpar(); ++i) {
88  double m, M;
89  fit.f->GetParLimits(i, m, M);
90  if (m < M) s << bold;
91  s << setw(10) << fit.f->GetParameter(i);
92  if (m < M) s << normal;
93  }
94  s << defaultfloat;
95  return s;
96 }
normal
static const char * normal
Definition: colours.h:8
DAS::JetEnergy::AbstractFit::f
std::unique_ptr< TF1 > f
Starting by passing Gaussian range.
Definition: fit.h:30
Step::bold
static const char * bold
Definition: Step.h:35