Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooStatsUtils.cxx File Reference
#include "Rtypes.h"
#include "TTree.h"
#include "TBranch.h"
#include "RooArgSet.h"
#include "RooWorkspace.h"
#include "RooAbsPdf.h"
#include "RooUniform.h"
#include "RooProdPdf.h"
#include "RooExtendPdf.h"
#include "RooSimultaneous.h"
#include "RooStats/ModelConfig.h"
#include "RooStats/RooStatsUtils.h"
Include dependency graph for RooStatsUtils.cxx:

Classes

class  RooStats::BranchStore
 

Namespaces

namespace  RooStats
 Namespace for the RooStats classes.
 
namespace  RooStats::ROOTDict
 

Functions

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 background events.
 
BranchStoreRooStats::CreateBranchStore (const RooDataSet &data)
 
void RooStats::FactorizePdf (const RooArgSet &observables, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints)
 
void RooStats::FactorizePdf (RooStats::ModelConfig &model, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints)
 
void RooStats::FillTree (TTree &myTree, const RooDataSet &data)
 
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.
 
RooStatsConfigRooStats::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.
 
bool RooStats::IsNLLOffset ()
 function returning if the flag to check if the flag to use NLLOffset is set
 
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
 
RooAbsPdfRooStats::MakeNuisancePdf (const RooStats::ModelConfig &model, const char *name)
 
RooAbsPdfRooStats::MakeNuisancePdf (RooAbsPdf &pdf, const RooArgSet &observables, const char *name)
 extract constraint terms from pdf
 
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
 
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
 
RooAbsPdfRooStats::StripConstraints (RooAbsPdf &pdf, const RooArgSet &observables)
 
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