Observable.cpp File Reference
#include "Observable.h"
#include <TNamed.h>
#include <TFile.h>
#include <TROOT.h>
#include <TMath.h>
#include <limits>
Include dependency graph for Observable.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &output, const Observable &o)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  output,
const Observable o 
)
Parameters
[out]outputthe formatted output stream to print the model parameters
[in]oa reference to an object of type Observable()

Definition at line 87 of file Observable.cpp.

88 {
89  output << "Observable name, tMCMC, min, max, distribution, distribution parameters" << std::endl;
90  output << o.name << " " << o.tMCMC << " " << o.min << " " << o.max << " "
91  << o.distr << " " << o.filename << " " << o.histoname << " " << o.ave
92  << " " << o.errg << " " << o.errf << std::endl;
93  return output;
94 }
double min
The minimum value of the observable.
Definition: Observable.h:449
double max
The maximum valus of the observable.
Definition: Observable.h:450
std::string histoname
The name of the histogram for the observable.
Definition: Observable.h:445
bool tMCMC
The flag to include or exclude the observable from the MCMC run.
Definition: Observable.h:451
double ave
The average value of the observable.
Definition: Observable.h:446
double errg
The gaussian error of the observable.
Definition: Observable.h:447
double errf
the flat error of the observable.
Definition: Observable.h:448
std::string name
A name for the observable.
Definition: Observable.h:440
std::string filename
The name of the file containing the experimental likelihood for the observable.
Definition: Observable.h:444
std::string distr
The name of the distribution of the the observable.
Definition: Observable.h:443