#include <iostream>
void histops()
{
hist1.Fill({0.01, 1.02});
hist2.Fill({0.01, 1.02});
int binidx = hist1.GetImpl()->GetBinIndex({0.01, 1.02});
std::cout << hist1.GetImpl()->GetBinContent(binidx) << std::endl;
}
void Add(RHist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const RHist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
RHist< 2, double, RHistStatContent, RHistStatUncertainty > RH2D
Namespace for new ROOT classes and functions.
- Date
- 2015-08-08
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
- Author
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch
Definition in file histops.cxx.