12 #ifndef ROOSTATS_RooStatsUtils 13 #define ROOSTATS_RooStatsUtils 23 #ifndef ROOT_Math_DistFuncMathCore 70 *paramsToChange=*desiredVals ;
80 set->remove(constSet);
117 if (randomizeConstants) {
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
virtual void randomize(const char *rangeName=0)
Set a new value sampled from a uniform distribution over the fit range.
RooAbsPdf * MakeNuisancePdf(RooAbsPdf &pdf, const RooArgSet &observables, const char *name)
double normal_quantile_c(double z, double sigma)
Inverse ( ) of the cumulative distribution function of the upper tail of the normal (Gaussian) distri...
Double_t PValueToSignificance(Double_t pvalue)
void SetParameters(const RooArgSet *desiredVals, RooArgSet *paramsToChange)
TTree * GetAsTTree(TString name, TString desc, const RooDataSet &data)
void FactorizePdf(const RooArgSet &observables, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints)
Double_t SignificanceToPValue(Double_t Z)
RooRealVar represents a fundamental (non-derived) real valued object.
RooAbsPdf * MakeUnconstrainedPdf(RooAbsPdf &pdf, const RooArgSet &observables, const char *name=NULL)
void setConstant(Bool_t value=kTRUE)
void PrintListContent(const RooArgList &l, std::ostream &os=std::cout)
RooDataSet is a container class to hold unbinned data.
double normal_cdf_c(double x, double sigma=1, double x0=0)
Complement of the cumulative distribution function of the normal (Gaussian) distribution (upper tail)...
void RandomizeCollection(RooAbsCollection &set, Bool_t randomizeConstants=kTRUE)
void UseNLLOffset(bool on)
Namespace for the RooStats classes.
bool SetAllConstant(const RooAbsCollection &coll, bool constant=true)
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
void RemoveConstantParameters(RooArgSet *set)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooLinkedListIter iterator(Bool_t dir=kIterForward) const
A TTree object has a header with a name and a title.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooLinkedListIter is the TIterator implementation for RooLinkedList.
Bool_t isConstant() const