a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
Observable.cpp File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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 102 of file Observable.cpp.

103 {
104  output << "Observable name, tMCMC, min, max, distribution, distribution parameters" << std::endl;
105  output << o.name << " " << o.tMCMC << " " << o.min << " " << o.max << " "
106  << o.distr << " " << o.filename << " " << o.histoname << " " << o.ave
107  << " " << o.errg << " " << o.errf << std::endl;
108  return output;
109 }
Observable::histoname
std::string histoname
The name of the histogram for the observable.
Definition: Observable.h:484
Observable::max
double max
The maximum valus of the observable.
Definition: Observable.h:491
Observable::tMCMC
bool tMCMC
The flag to include or exclude the observable from the MCMC run.
Definition: Observable.h:492
Observable::min
double min
The minimum value of the observable.
Definition: Observable.h:490
Observable::ave
double ave
The average value of the observable.
Definition: Observable.h:485
Observable::errg
double errg
The gaussian error of the observable.
Definition: Observable.h:486
Observable::errf
double errf
The flat error of the observable.
Definition: Observable.h:487
Observable::name
std::string name
A name for the observable.
Definition: Observable.h:479
Observable::filename
std::string filename
The name of the file containing the experimental likelihood for the observable.
Definition: Observable.h:483
Observable::distr
std::string distr
The name of the distribution of the the observable.
Definition: Observable.h:482