32 auto panel = std::make_shared<ROOT::Experimental::RFitPanel>(
"FitPanel");
34 TH1F *test =
new TH1F(
"test",
"This is test histogram",100,-4,4);
37 panel->AssignHistogram(test);
41 panel->ClearOnClose(panel);
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.
1-D histogram with a float per channel (see TH1 documentation)
virtual void FillRandom(const char *fname, Int_t ntimes=5000, TRandom *rng=nullptr)
Fill histogram following distribution in function fname.