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}
bool tMCMC
The flag to include or exclude the observable from the MCMC run.
Definition: Observable.h:492
std::string distr
The name of the distribution of the the observable.
Definition: Observable.h:482
double errf
The flat error of the observable.
Definition: Observable.h:487
double max
The maximum valus of the observable.
Definition: Observable.h:491
double ave
The average value of the observable.
Definition: Observable.h:485
double min
The minimum value of the observable.
Definition: Observable.h:490
double errg
The gaussian error of the observable.
Definition: Observable.h:486
std::string histoname
The name of the histogram for the observable.
Definition: Observable.h:484
std::string filename
The name of the file containing the experimental likelihood for the observable.
Definition: Observable.h:483
std::string name
A name for the observable.
Definition: Observable.h:479