Logo ROOT  
Reference Guide
RooStatsUtils.h File Reference
#include "Math/DistFuncMathCore.h"
#include "RooArgSet.h"
#include "RooRealVar.h"
#include "RooAbsCollection.h"
#include "RooStats/ModelConfig.h"
#include "RooProdPdf.h"
#include "RooDataSet.h"
#include "RooAbsCategoryLValue.h"
Include dependency graph for RooStatsUtils.h:
This graph shows which files directly or indirectly include this file:


struct  RooStats::RooStatsConfig


namespace  RooStats
 Namespace for the RooStats classes.


double RooStats::AsimovSignificance (double s, double b, double sigma_b=0.0)
 Compute the Asimov Median significance for a Poisson process with s = expected number of signal events, b = expected number of background events and optionally sigma_b = expected uncertainty of backgorund events. More...
void RooStats::FactorizePdf (const RooArgSet &observables, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints)
void RooStats::FactorizePdf (RooStats::ModelConfig &model, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints)
TTreeRooStats::GetAsTTree (TString name, TString desc, const RooDataSet &data)
 Create a TTree with the given name and description. All RooRealVars in the RooDataSet are represented as branches that contain values of type double. More...
RooStatsConfig & RooStats::GetGlobalRooStatsConfig ()
 Retrieve the config object which can be used to set flags for things like offsetting the likelihood or using the error wall for the minimiser. More...
bool RooStats::IsNLLOffset ()
 function returning if the flag to check if the flag to use NLLOffset is set More...
RooWorkspaceRooStats::MakeCleanWorkspace (RooWorkspace *oldWS, const char *newName, bool copySnapshots, const char *mcname, const char *newmcname)
 function that clones a workspace, copying all needed components and discarding all others More...
RooAbsPdfRooStats::MakeNuisancePdf (const RooStats::ModelConfig &model, const char *name)
RooAbsPdfRooStats::MakeNuisancePdf (RooAbsPdf &pdf, const RooArgSet &observables, const char *name)
 extract constraint terms from pdf More...
RooAbsPdfRooStats::MakeUnconstrainedPdf (const RooStats::ModelConfig &model, const char *name=nullptr)
RooAbsPdfRooStats::MakeUnconstrainedPdf (RooAbsPdf &pdf, const RooArgSet &observables, const char *name=nullptr)
 remove constraints from pdf and return the unconstrained pdf More...
void RooStats::PrintListContent (const RooArgList &l, std::ostream &os=std::cout)
 useful function to print in one line the content of a set with their values More...
double RooStats::PValueToSignificance (double pvalue)
 returns one-sided significance corresponding to a p-value More...
void RooStats::RandomizeCollection (RooAbsCollection &set, bool randomizeConstants=true)
 assuming all values in set are RooRealVars, randomize their values More...
void RooStats::RemoveConstantParameters (RooArgList &set)
void RooStats::RemoveConstantParameters (RooArgSet *set)
bool RooStats::SetAllConstant (const RooAbsCollection &coll, bool constant=true)
 utility function to set all variable constant in a collection (from G. More...
void RooStats::SetParameters (const RooArgSet *desiredVals, RooArgSet *paramsToChange)
double RooStats::SignificanceToPValue (double Z)
 returns p-value corresponding to a 1-sided significance More...
void RooStats::UseNLLOffset (bool on)
 function to set a global flag in RooStats to use NLL offset when performing nll computations Note that not all ROoStats tools implement this capabilities More...