46void StandardProfileInspectorDemo(
const char *infile =
"",
const char *workspaceName =
"combined",
47 const char *modelConfigName =
"ModelConfig",
const char *dataName =
"obsData")
54 const char *filename =
"";
55 if (!strcmp(infile,
"")) {
56 filename =
"results/example_combined_GaussExample_model.root";
57 bool fileExist = !
gSystem->AccessPathName(filename);
61 cout <<
"will run standard hist2workspace example" << endl;
62 gROOT->ProcessLine(
".! prepareHistFactory .");
63 gROOT->ProcessLine(
".! hist2workspace config/example.xml");
64 cout <<
"\n\n---------------------" << endl;
65 cout <<
"Done creating example input" << endl;
66 cout <<
"---------------------\n\n" << endl;
94 if (list->GetSize() > 4) {
95 double n = list->GetSize();
101 c1->Divide(list->GetSize());
102 for (
int i = 0; i < list->GetSize(); ++i) {
104 list->At(i)->Draw(
"al");
Abstract base class for binned and unbinned datasets.
Utility class to plot conditional MLE of nuisance parameters vs.
TList * GetListOfProfilePlots(RooAbsData &data, RooStats::ModelConfig *config)
This tool makes a plot of the conditional maximum likelihood estimate of the nuisance parameter vs th...
Persistable container for RooFit projects.
TObject * Get(const char *namecycle) override
Return pointer to object identified by namecycle.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
VecExpr< UnaryOp< Sqrt< T >, VecExpr< A, T, D >, T >, T, D > sqrt(const VecExpr< A, T, D > &rhs)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooStats::ModelConfig ModelConfig
Namespace for the RooStats classes.
Int_t CeilNint(Double_t x)
Returns the nearest integer of TMath::Ceil(x).