void fitpanel6()
{
}
auto panel = std::make_shared<ROOT::Experimental::RFitPanel>("FitPanel");
TH1F *test =
new TH1F(
"test",
"This is test histogram",100,-4,4);
panel->AssignHistogram(test);
panel->Show();
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.
- Date
- 2019-04-11
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
- Authors
- Sergey Linev S.Lin.nosp@m.ev@g.nosp@m.si.de, Iliana Betsou Ilian.nosp@m.a.Be.nosp@m.tsou@.nosp@m.cern.nosp@m..ch
Definition in file fitpanel6.cxx.