Skip to content
Snippets Groups Projects
Commit d252c929 authored by Axel Naumann's avatar Axel Naumann
Browse files

[v7hist tutorial] follow RHist rename.

parent f74d939b
No related branches found
No related tags found
No related merge requests found
......@@ -25,12 +25,12 @@ void histops()
using namespace ROOT;
// Create a 2D histogram with an X axis with equidistant bins, and a y axis
// with irregular binning.
Experimental::TH2D hist1({100, 0., 1.}, {{0., 1., 2., 3., 10.}});
Experimental::RH2D hist1({100, 0., 1.}, {{0., 1., 2., 3., 10.}});
// Fill weight 1. at the coordinate 0.01, 1.02.
hist1.Fill({0.01, 1.02});
Experimental::TH2D hist2({{{10, 0., 1.}, {{0., 1., 2., 3., 10.}}}});
Experimental::RH2D hist2({{{10, 0., 1.}, {{0., 1., 2., 3., 10.}}}});
// Fill weight 1. at the coordinate 0.01, 1.02.
hist2.Fill({0.01, 1.02});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment