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,
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...
std::string label2
A label for 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)
double ave2
The average value of the second observable.
double getErrg2() const
A get method to access the Gaussian error of the second observble.
std::string obsType2
Type of the second Observable. 0: Observable, 1: HiggsObservable, 2: BinnedObservable, 3: FunctionObservable.
double getErrf2() const
A get method to access the flat error of the second observable.
ThObservable * tho2
A pointer to an object of the ThObservable class.
void setErrg2(double errg2)
A set method to fix the gaussian error of the observable.
void setTho(ThObservable *tho_i)
A set method to fix the pointer to object of type ThObservable.
std::string getThname2() const
A get method to access the thname of the second observable as defined in ThFactory class...
double min2
The minimum value of the second observable.
virtual double computeWeight()
A method to compute the weight associated with the observable.
std::string getLabel2() const
A get method to access the label for the second observable.
std::string histoname
The name of the histogram for the observable.
A class for analyzing observables pairwise.
A class for a model prediction of an observable.
double getMin2() const
A get method to access the minimum value of the second observable.
bool isEOF()
A method to check if the end of file has been reached.
double errf2
the flat error of the second observable.
std::vector< double > bin_min
The minimum value of the bin.
void setBinMin(double min)
A set method to set the minimum value of the bin.
double errg2
The gaussian error of the second observable.
double getMax2() const
A get method to access the maximum value of the second observable.
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...
double thValue2
The theory value of the second observable.
Observable2D()
The default constructor.
void setLabel2(std::string label2)
A set method to fix the label for the second observable.
void setMax2(double max2)
A set method to fix the maximum value for the second observable.
void setErrf2(double errf2)
A set method to fix the flat error of the second observable.
void setBinMax(double max)
A set method to set the maximum value of the bin.
int iterationNo2
Counts the iteration to help with caching.
double getAve2() const
A get method to access the average 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...
void setAve2(double ave2)
A set method to fix the average value of the second observable.
std::string thname2
The name for the second oservable as fixed in the ThObservable() class.
void setMin2(double min2)
A set method to fix the minimum value for the second observable.
bool IsEOF
A bolean that is true if the end of file is reached.
double max2
The maximum valus of the second observable.
void setTho2(ThObservable *tho2_i)
A set method to fix the pointer to object of type ThObservable class for the second observable...
double computeTheoryValue2()
A method to access the computed theory value of the second observable.
std::string getObsType2() const
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.
std::vector< double > bin_max
The maximum value of the bin.
TH2D * inhisto2d
2D Histogram containing the experimental likelihood for the observable.
virtual ~Observable2D()
The default destructor.
void setObsType2(std::string &obsType2_i)
std::string filepath
The path to the file being parsed.
void setThname2(std::string thname2)
A set method to fix the name of the second observable as listed in ThFactory class.