39 hist.
Fill({0.01, 1.02});
43 return par[0] *
x[0] *
x[0] + (par[1] -
x[1]) *
x[1];
49 file->Write(
"TheHist", hist);
Objects used to configure the different axis types.
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value ...
void Fill(const CoordArray_t &x, Weight_t weight=(Weight_t) 1) noexcept
Add weight to the bin containing coordinate x.
Points to an object that stores or reads objects in ROOT's binary format.
TFitResult FitTo(const RHist< DIMENSIONS, PRECISION, STAT... > &hist, const TFunction< DIMENSIONS > &func, std::span< double > paramInit)
Namespace for new ROOT classes and functions.