43 const std::string thname_i,
44 const std::string thname2_i,
45 const std::string label_i,
46 const std::string label2_i,
77 boost::tokenizer<boost::char_separator<char> >* tok,
78 boost::tokenizer<boost::char_separator<char> >::iterator& beg,
79 std::string& infilename,
A class for analyzing observables pairwise.
void setThname2(std::string thname2)
A set method to fix the name of the second observable as listed in ThFactory class.
double getMax2() const
A get method to access the maximum value of the second observable.
double getErrf2() const
A get method to access the flat error of the second observable.
double computeTheoryValue2()
A method to access the computed theory value of the second observable.
virtual void setLikelihoodFromHisto(std::string filename, std::string histoname)
A set method to set the likelihood from which the experimental likelihood of the observable will be r...
double max2
The maximum valus of the second observable.
int ParseObservable2D(std::string &type, boost::tokenizer< boost::char_separator< char > > *tok, boost::tokenizer< boost::char_separator< char > >::iterator &beg, std::string &infilename, std::ifstream &ifile, int lineNo, int rank)
bool isEOF()
A method to check if the end of file has been reached.
double errf2
the flat error of the second observable.
void setObsType2(std::string &obsType2_i)
std::string filepath
The path to the file being parsed.
std::string thname2
The name for the second observable as fixed in the ThObservable() class.
void setAve2(double ave2)
A set method to fix the average value of the second observable.
double getMin2() const
A get method to access the minimum value of the second observable.
double errgr2
The right Gaussian error of the second observable.
std::string getLabel2() const
A get method to access the label for the second observable.
std::string label2
A label for the second observable.
bool IsEOF
A bolean that is true if the end of file is reached.
double ave2
The average value of the second observable.
int iterationNo2
Counts the iteration to help with caching.
std::string getThname2() const
A get method to access the thname of the second observable as defined in ThFactory class.
Observable2D()
The default constructor.
ThObservable * tho2
A pointer to an object of the ThObservable class.
void setTho2(ThObservable *tho2_i)
A set method to fix the pointer to object of type ThObservable class for the second observable.
std::vector< double > bin_max
The maximum value of the bin.
virtual ~Observable2D()
The default destructor.
double errgl2
The left Gaussian error of the second observable.
double min2
The minimum value of the second observable.
ThObservable * getTho2() const
A get method to access the pointer to the object of the ThObservable class for the second observable.
double thValue2
The theory value of the second observable.
double getErrg2() const
A get method to access the Gaussian error of the second observble.
void setTho1Tho2(ThObservable *tho1_i, ThObservable *tho2_i)
A set method to fix the pointer to object of type ThObservable class for the second observable.
virtual double computeWeight()
A method to compute the weight associated with the observable.
void setMin2(double min2)
A set method to fix the minimum value for the second observable.
void setErrf2(double errf2)
A set method to fix the flat error of the second observable.
double errg2
The Gaussian error of the second observable.
void setLabel2(std::string label2)
A set method to fix the label for the second observable.
void setErrg2(double errg2)
A set method to fix the gaussian error of the observable.
std::string getObsType2() const
TH2D * inhisto2d
2D Histogram containing the experimental likelihood for the observable.
void setMax2(double max2)
A set method to fix the maximum value for the second observable.
std::string obsType2
Type of the second Observable. 0: Observable, 1: HiggsObservable, 2: BinnedObservable,...
std::vector< double > bin_min
The minimum value of the bin.
double getAve2() const
A get method to access the average value of the second observable.
void setTho(ThObservable *tho_i)
A set method to fix the pointer to object of type ThObservable.
std::string histoname
The name of the histogram for the observable.
std::string filename
The name of the file containing the experimental likelihood for the observable.
double computeTheoryValue()
A method to access the computed theory value of the observable.
A class for a model prediction of an observable.
void setBinMax(double max)
A set method to set the maximum value of the bin.
void setBinMin(double min)
A set method to set the minimum value of the bin.