46void StandardProfileInspectorDemo(
const char *infile =
"",
const char *workspaceName =
"combined",
47 const char *modelConfigName =
"ModelConfig",
const char *dataName =
"obsData")
55 if (!strcmp(infile,
"")) {
56 filename =
"results/example_combined_GaussExample_model.root";
61 cout <<
"HistFactory file cannot be generated on Windows - exit" << endl;
65 cout <<
"will run standard hist2workspace example" << endl;
66 gROOT->ProcessLine(
".! prepareHistFactory .");
67 gROOT->ProcessLine(
".! hist2workspace config/example.xml");
68 cout <<
"\n\n---------------------" << endl;
69 cout <<
"Done creating example input" << endl;
70 cout <<
"---------------------\n\n" << endl;
81 cout <<
"StandardRooStatsDemoMacro: Input file " <<
filename <<
" is not found" << endl;
92 cout <<
"workspace not found" << endl;
105 cout <<
"data or ModelConfig was not found" << endl;
112 TList *list =
p.GetListOfProfilePlots(*
data, mc);
124 for (
int i = 0; i < list->
GetSize(); ++i) {
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
R__EXTERN TSystem * gSystem
RooAbsData is the common abstract base class for binned and unbinned datasets.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
Utility class to plot conditional MLE of nuisance parameters vs.
The RooWorkspace is a persistable container for RooFit projects.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
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.
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
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...
Namespace for the RooStats classes.
Int_t CeilNint(Double_t x)
Returns the nearest integer of TMath::Ceil(x).