A class for Higgs experimental analyses. More...
#include <HiggsObservable.h>
A class for Higgs experimental analyses.
The class for building observables encoding Higgs experimental analyses, storing the parameters read from a file specified in the SomeModel.conf file or by the user. The names (thnames) of the observables have to correspond to the allowed names of observables listed in the ThFactory class.
Definition at line 28 of file HiggsObservable.h.
Public Member Functions | |
virtual double | computeWeight () |
A method to compute the weight associated with the observable. More... | |
bool | getIsCorrelated () |
int | getNChannels () |
int | getNTheoryValues () |
void | getTheoryValues (std::vector< double > &theoryValues_i) |
HiggsObservable (const HiggsObservable &orig) | |
HiggsObservable (const Observable &Obs) | |
bool | isNew () |
A method to get the observable to the new parametric form. More... | |
boost::tokenizer< boost::char_separator< char > >::iterator & | ParseHiggsObservable (boost::tokenizer< boost::char_separator< char > >::iterator &beg, ThObsFactory &myObsFactory, StandardModel *myModel, int rank) |
the parser for HiggsObservables More... | |
void | setIsCorrelated (bool correlated) |
void | setIsnew (bool isnew) |
A method to set the observable to the new parametric form. More... | |
virtual void | setParametricLikelihood (std::string filename, std::vector< ThObservable * > thObsV) |
Set the parametric likelihood describing one Higgs decay channel from a config file. More... | |
![]() | |
double | computeTheoryValue () |
A method to access the computed theory value of the observable. More... | |
virtual double | computeWeight (double th) |
A method to compute the weight associated with the observable. More... | |
virtual double | computeWeight (double th, double ave_i, double errg_i, double errf_i) |
A method to compute the weight associated with the observable. More... | |
virtual double | computeWeight (double th1, double th2) |
A method to compute the weight associated with the observable. More... | |
double | getAve () const |
A get method to access the average value of the observable. More... | |
std::string | getDistr () const |
A get method to access the name of the distribution of the observable. More... | |
double | getErrf () const |
A get method to access the flat error of the observable. More... | |
double | getErrg () const |
A get method to access the Gaussian error of the observble. More... | |
std::string | getFilename () const |
A get method to access the filename of the observables experimental likelihood file. More... | |
std::string | getHistoname () const |
A get method to access the name for the histogram of the observable. More... | |
std::string | getLabel () const |
A get method to access the label for the observable. More... | |
double | getMax () const |
A get method to access the maximum value of the observable. More... | |
double | getMin () const |
A get method to access the minimum value of the observable. More... | |
std::string | getName () const |
A get method to access the name of the observable. More... | |
std::string | getObsType () const |
A get method to get the Observable type. More... | |
std::string | getThname () const |
A get method to access the thname of the observable as defined in ThFactory class. More... | |
ThObservable * | getTho () const |
A get method to access the pointer to the object of the ThObservable class. More... | |
bool | isTMCMC () const |
A method to check if the observable is listed for MCMC. More... | |
bool | isWriteChain () const |
A method to check if the observable is listed for writing chains. More... | |
double | LogGaussian (double x, double ave, double sigma) |
double | LogSplitGaussian (double x, double ave, double errl, double errr) |
Observable () | |
The default constructor. More... | |
Observable (const Observable &orig) | |
The copy constructor. More... | |
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. More... | |
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. More... | |
void | setAve (double ave) |
A set method to fix the average value of the observable. More... | |
void | setDistr (std::string distr) |
A set method to fix the name of the distribution of the observable. More... | |
void | setErrf (double errf) |
A set method to fix the flat error of the observable. More... | |
void | setErrg (double errg) |
A set method to fix the gaussian error of the observable. More... | |
void | setErrgl (double errgl) |
A set method to fix the left Gaussian error of the observable. More... | |
void | setErrgr (double errgr) |
A set method to fix the right Gaussian error of the observable. More... | |
void | setFilename (std::string filename_i) |
void | setHasInverseCovariance (bool hasInverseCovariance) |
A set method to state that the Observable is a part of ObservablesWithInverseCovariance. More... | |
void | setHistoname (std::string histoname_i) |
A set method to set the name of the histogram containing the likelihood. More... | |
void | setLabel (std::string label) |
A set method to fix the label for the observable. More... | |
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. More... | |
void | setMax (double max) |
A set method to fix the maximum value for the observable. More... | |
void | setMin (double min) |
A set method to fix the minimum value for the observable. More... | |
void | setName (std::string name) |
A set method to fix the name for the observable. More... | |
void | setObsType (std::string &obsType_s) |
A set method to set the Observable type. More... | |
virtual void | setParametricLikelihood (std::string filename) |
A set method to set a parametric likelihood reading parameters from a file. More... | |
void | setThname (std::string thname) |
A set method to fix the name of the observable as listed in ThFactory class. More... | |
void | setTho (ThObservable *tho_i) |
A set method to fix the pointer to object of type ThObservable. More... | |
void | setTho (ThObservable *tho_i, double bmin, double bmax) |
A set method to fix the pointer to object of type ThObservable. More... | |
void | setTMCMC (bool tMCMC) |
A set method to fix the observable's inclusion in the MCMC listing. More... | |
virtual | ~Observable () |
The default destructor. More... | |
Private Attributes | |
TMatrixD | channels |
A matrix holding the information of all the channels. More... | |
double | channelsize |
The number of channels in the Higgs Observable. More... | |
bool | covarianceFromConfig |
A flag for reading inverse covariance from config file. More... | |
gslpp::matrix< double > * | InvCov |
The inverse covariance matrix. More... | |
bool | isCorrelated |
A flag for correlated Higgs Observable. More... | |
bool | isnew |
A boolean which is true if the parametrization is new. More... | |
int | rank |
The rank of the process initializing this observable. More... | |
std::vector< double > | theoryValues |
A vector to contain the theoryvalues. More... | |
std::vector< ThObservable * > | thObsV |
A vector of ThObservables. More... | |
double | thobsvsize |
The size of the theory observables vector. More... | |
Additional Inherited Members | |
![]() | |
double | ave |
The average value of the observable. More... | |
double | bin_max |
The maximum valus of the observable bin. More... | |
double | bin_min |
The minimum value of the observable bin. More... | |
std::string | distr |
The name of the distribution of the the observable. More... | |
double | errf |
The flat error of the observable. More... | |
double | errg |
The gaussian error of the observable. More... | |
double | errgl |
The lower gaussian error of the observable. More... | |
double | errgr |
The upper gaussian error of the observable. More... | |
std::string | filename |
The name of the file containing the experimental likelihood for the observable. More... | |
bool | hasInverseCovariance |
std::string | histoname |
The name of the histogram for the observable. More... | |
TH1D * | inhisto |
1D Histogram containing the experimental likelihood for the observable More... | |
int | iterationNo |
A counter for the interation that helps with the observable caching. More... | |
std::string | label |
A label for the observable. More... | |
double | max |
The maximum valus of the observable. More... | |
double | min |
The minimum value of the observable. More... | |
std::string | name |
A name for the observable. More... | |
std::string | obsType |
Type of the Observable. 0: Observable, 1: HiggsObservable, 2: BinnedObservable, 3: FunctionObservable. More... | |
std::string | thname |
The name for the observable as fixed in the ThObservable class. More... | |
ThObservable * | tho |
A pointer of to the object of the ThObservables class. More... | |
double | thValue |
The theory value of the first observable. More... | |
bool | tMCMC |
The flag to include or exclude the observable from the MCMC run. More... | |
bool | writeChain |
The flag to write the chain for the observable from the MCMC run. More... | |
HiggsObservable::HiggsObservable | ( | const Observable & | Obs | ) |
Definition at line 20 of file HiggsObservable.cpp.
HiggsObservable::HiggsObservable | ( | const HiggsObservable & | orig | ) |
Definition at line 28 of file HiggsObservable.cpp.
|
virtual |
A method to compute the weight associated with the observable.
Reimplemented from Observable.
Definition at line 154 of file HiggsObservable.cpp.
|
inline |
Definition at line 84 of file HiggsObservable.h.
|
inlinevirtual |
Reimplemented from Observable.
Definition at line 79 of file HiggsObservable.h.
|
inlinevirtual |
Reimplemented from Observable.
Definition at line 74 of file HiggsObservable.h.
|
inlinevirtual |
Reimplemented from Observable.
Definition at line 69 of file HiggsObservable.h.
|
inlinevirtual |
A method to get the observable to the new parametric form.
Reimplemented from Observable.
Definition at line 64 of file HiggsObservable.h.
boost::tokenizer< boost::char_separator< char > >::iterator & HiggsObservable::ParseHiggsObservable | ( | boost::tokenizer< boost::char_separator< char > >::iterator & | beg, |
ThObsFactory & | myObsFactory, | ||
StandardModel * | myModel, | ||
int | rank | ||
) |
the parser for HiggsObservables
[in] | beg | the iterator that parses a line in the config file |
[in] | myObsFactory | a reference to the Observables Factory |
[in] | myModel | a pointer to the model |
[in] | rank | the rank of the process that is using the parser |
Definition at line 197 of file HiggsObservable.cpp.
|
inline |
Definition at line 89 of file HiggsObservable.h.
|
inline |
A method to set the observable to the new parametric form.
Definition at line 55 of file HiggsObservable.h.
|
virtual |
Set the parametric likelihood describing one Higgs decay channel from a config file.
filename | the name of the config file |
thObsV | a vector of ThObservables containing the ratio of the production cross section for the specified categories in the model analyzed over the SM prediction |
Reimplemented from Observable.
Definition at line 43 of file HiggsObservable.cpp.
|
private |
A matrix holding the information of all the channels.
Definition at line 109 of file HiggsObservable.h.
|
private |
The number of channels in the Higgs Observable.
Definition at line 114 of file HiggsObservable.h.
|
private |
A flag for reading inverse covariance from config file.
Definition at line 116 of file HiggsObservable.h.
|
private |
The inverse covariance matrix.
Definition at line 117 of file HiggsObservable.h.
|
private |
A flag for correlated Higgs Observable.
Definition at line 115 of file HiggsObservable.h.
|
private |
A boolean which is true if the parametrization is new.
Definition at line 110 of file HiggsObservable.h.
|
private |
The rank of the process initializing this observable.
Definition at line 118 of file HiggsObservable.h.
|
private |
A vector to contain the theoryvalues.
Definition at line 112 of file HiggsObservable.h.
|
private |
A vector of ThObservables.
Definition at line 111 of file HiggsObservable.h.
|
private |
The size of the theory observables vector.
Definition at line 113 of file HiggsObservable.h.