A class for analyzing observables pairwise.
- Author
- HEPfit Collaboration
- Copyright
- GNU General Public License
The class for building a pair of observables and storing their different parameters read from the SomeModel.conf file or specified by the user. The names (thname) of the observables have to correspond to the allowed names of observables listed in the ThFactory class.
Definition at line 24 of file Observable2D.h.
|
| double | computeTheoryValue2 () |
| | A method to access the computed theory value of the second observable.
|
| |
| virtual double | computeWeight () |
| | A method to compute the weight associated with the observable.
|
| |
| virtual double | computeWeight (double th1, double th2) |
| | A method to compute the weight associated with the observable.
|
| |
| double | getAve2 () const |
| | A get method to access the average value of the second observable.
|
| |
| double | getErrf2 () const |
| | A get method to access the flat error of the second observable.
|
| |
| double | getErrg2 () const |
| | A get method to access the Gaussian error of the second observble.
|
| |
| std::string | getLabel2 () const |
| | A get method to access the label for the second observable.
|
| |
| double | getMax2 () const |
| | A get method to access the maximum value of the second observable.
|
| |
| double | getMin2 () const |
| | A get method to access the minimum value of the second observable.
|
| |
| std::string | getObsType2 () const |
| |
| std::string | getThname2 () const |
| | A get method to access the thname of the second observable as defined in ThFactory class.
|
| |
| ThObservable * | getTho2 () const |
| | A get method to access the pointer to the object of the ThObservable class for the second observable.
|
| |
| bool | isEOF () |
| | A method to check if the end of file has been reached.
|
| |
| | Observable2D () |
| | The default constructor.
|
| |
| | Observable2D (const Observable &o1d) |
| | A conversion constructor. Constructs Observable2D with just one observable.
|
| |
| | Observable2D (const Observable2D &orig) |
| | The copy constructor.
|
| |
| | Observable2D (const std::string name_i, const std::string thname_i, const std::string thname2_i, const std::string label_i, const std::string label2_i, const bool tMCMC_i, const double min_i, const double max_i, const double min2_i, const double max2_i, ThObservable *tho_i, ThObservable *tho2_i) |
| | Constructor.
|
| |
| 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) |
| |
| void | setAve2 (double ave2) |
| | A set method to fix the average value of the second observable.
|
| |
| void | setErrf2 (double errf2) |
| | A set method to fix the flat error of the second observable.
|
| |
| void | setErrg2 (double errg2) |
| | A set method to fix the gaussian error of the observable.
|
| |
| void | setLabel2 (std::string label2) |
| | A set method to fix the label for 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 read.
|
| |
| void | setMax2 (double max2) |
| | A set method to fix the maximum value for the second observable.
|
| |
| void | setMin2 (double min2) |
| | A set method to fix the minimum value for the second observable.
|
| |
| void | setObsType2 (std::string &obsType2_i) |
| |
| void | setThname2 (std::string thname2) |
| | A set method to fix the name of the second observable as listed in ThFactory class.
|
| |
| 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.
|
| |
| void | setTho2 (ThObservable *tho2_i) |
| | A set method to fix the pointer to object of type ThObservable class for the second observable.
|
| |
| virtual | ~Observable2D () |
| | The default destructor.
|
| |
| double | computeTheoryValue () |
| | A method to access the computed theory value of the observable.
|
| |
| virtual double | computeWeight (double th) |
| | A method to compute the weight associated with the observable.
|
| |
| virtual double | computeWeight (double th, double ave_i, double errg_i, double errf_i) |
| | A method to compute the weight associated with the observable.
|
| |
| double | getAve () const |
| | A get method to access the average value of the observable.
|
| |
| std::string | getDistr () const |
| | A get method to access the name of the distribution of the observable.
|
| |
| double | getErrf () const |
| | A get method to access the flat error of the observable.
|
| |
| double | getErrg () const |
| | A get method to access the Gaussian error of the observble.
|
| |
| std::string | getFilename () const |
| | A get method to access the filename of the observables experimental likelihood file.
|
| |
| std::string | getHistoname () const |
| | A get method to access the name for the histogram of the observable.
|
| |
| std::string | getLabel () const |
| | A get method to access the label for the observable.
|
| |
| double | getMax () const |
| | A get method to access the maximum value of the observable.
|
| |
| double | getMin () const |
| | A get method to access the minimum value of the observable.
|
| |
| std::string | getName () const |
| | A get method to access the name of the observable.
|
| |
| virtual int | getNChannels () |
| |
| virtual int | getNTheoryValues () |
| |
| std::string | getObsType () const |
| | A get method to get the Observable type.
|
| |
| virtual void | getTheoryValues (std::vector< double > &theoryValues_i) |
| |
| std::string | getThname () const |
| | A get method to access the thname of the observable as defined in ThFactory class.
|
| |
| ThObservable * | getTho () const |
| | A get method to access the pointer to the object of the ThObservable class.
|
| |
| virtual bool | isNew () |
| |
| bool | isTMCMC () const |
| | A method to check if the observable is listed for MCMC.
|
| |
| bool | isWriteChain () const |
| | A method to check if the observable is listed for writing chains.
|
| |
| double | LogGaussian (double x, double ave, double sigma) |
| |
| double | LogSplitGaussian (double x, double ave, double errl, double errr) |
| |
| | Observable () |
| | The default constructor.
|
| |
| | Observable (const Observable &orig) |
| | The copy constructor.
|
| |
| | Observable (const std::string name_i, const std::string thname_i, const std::string label_i, const bool tMCMC_i, const double min_i, const double max_i, ThObservable *tho_i) |
| | Constructor.
|
| |
| boost::tokenizer< boost::char_separator< char > >::iterator & | ParseObservable (std::string &type, boost::tokenizer< boost::char_separator< char > > *tok, boost::tokenizer< boost::char_separator< char > >::iterator &beg, std::string &filepath, std::string &infilename, int rank) |
| | The parser for Observables.
|
| |
| void | setAve (double ave) |
| | A set method to fix the average value of the observable.
|
| |
| void | setDistr (std::string distr) |
| | A set method to fix the name of the distribution of the observable.
|
| |
| void | setErrf (double errf) |
| | A set method to fix the flat error of the observable.
|
| |
| void | setErrg (double errg) |
| | A set method to fix the gaussian error of the observable.
|
| |
| void | setErrgl (double errgl) |
| | A set method to fix the left Gaussian error of the observable.
|
| |
| void | setErrgr (double errgr) |
| | A set method to fix the right Gaussian error of the observable.
|
| |
| void | setFilename (std::string filename_i) |
| |
| void | setHasInverseCovariance (bool hasInverseCovariance) |
| | A set method to state that the Observable is a part of ObservablesWithInverseCovariance.
|
| |
| void | setHistoname (std::string histoname_i) |
| | A set method to set the name of the histogram containing the likelihood.
|
| |
| void | setLabel (std::string label) |
| | A set method to fix the label for the observable.
|
| |
| void | setMax (double max) |
| | A set method to fix the maximum value for the observable.
|
| |
| void | setMin (double min) |
| | A set method to fix the minimum value for the observable.
|
| |
| void | setName (std::string name) |
| | A set method to fix the name for the observable.
|
| |
| void | setObsType (std::string &obsType_s) |
| | A set method to set the Observable type.
|
| |
| virtual void | setParametricLikelihood (std::string filename) |
| | A set method to set a parametric likelihood reading parameters from a file.
|
| |
| virtual void | setParametricLikelihood (std::string filename, std::vector< ThObservable * > thObsV) |
| |
| void | setThname (std::string thname) |
| | A set method to fix the name of the observable as listed in ThFactory class.
|
| |
| void | setTho (ThObservable *tho_i) |
| | A set method to fix the pointer to object of type ThObservable.
|
| |
| void | setTho (ThObservable *tho_i, double bmin, double bmax) |
| | A set method to fix the pointer to object of type ThObservable.
|
| |
| void | setTMCMC (bool tMCMC) |
| | A set method to fix the observable's inclusion in the MCMC listing.
|
| |
| virtual | ~Observable () |
| | The default destructor.
|
| |
|
| double | ave |
| | The average value of the observable.
|
| |
| double | bin_max |
| | The maximum valus of the observable bin.
|
| |
| double | bin_min |
| | The minimum value of the observable bin.
|
| |
| std::string | distr |
| | The name of the distribution of the the observable.
|
| |
| double | errf |
| | The flat error of the observable.
|
| |
| double | errg |
| | The gaussian error of the observable.
|
| |
| double | errgl |
| | The lower gaussian error of the observable.
|
| |
| double | errgr |
| | The upper gaussian error of the observable.
|
| |
| std::string | filename |
| | The name of the file containing the experimental likelihood for the observable.
|
| |
| bool | hasInverseCovariance |
| |
| std::string | histoname |
| | The name of the histogram for the observable.
|
| |
| TH1D * | inhisto |
| | 1D Histogram containing the experimental likelihood for the observable
|
| |
| int | iterationNo |
| | A counter for the interation that helps with the observable caching.
|
| |
| std::string | label |
| | A label for the observable.
|
| |
| double | max |
| | The maximum valus of the observable.
|
| |
| double | min |
| | The minimum value of the observable.
|
| |
| std::string | name |
| | A name for the observable.
|
| |
| std::string | obsType |
| | Type of the Observable. 0: Observable, 1: HiggsObservable, 2: BinnedObservable, 3: FunctionObservable.
|
| |
| std::string | thname |
| | The name for the observable as fixed in the ThObservable class.
|
| |
| ThObservable * | tho |
| | A pointer of to the object of the ThObservables class.
|
| |
| double | thValue |
| | The theory value of the first observable.
|
| |
| bool | tMCMC |
| | The flag to include or exclude the observable from the MCMC run.
|
| |
| bool | writeChain |
| | The flag to write the chain for the observable from the MCMC run.
|
| |