9. Retrieving statistics and entries information

Table of Contents

Shortcuts
General method

Shortcuts

1D histograms implement shortcut methods to retrieve mean and RMS of a histogram, as follows:

Histo1D *h1D = new Histo1D("Histo1: parabolic function",20,0.,20.);
...
cout << "Mean " << h1D->mean() << " RMS " << h1D->rms() << endl;