27 dir.Append(
"/hist/data/tprofile2poly_tutorial.data");
32 std::cerr <<
dir.Data() << std::endl;
33 std::cerr <<
"Error code: " << std::strerror(
errno) << std::endl;
37 std::vector<std::pair<Double_t, Double_t>>
allCoords;
43 std::cout <<
"[ERROR] Bad file" << std::endl;
62 for (
int j = 0;
j < numEvents; ++
j) {
79 err->Fill(
r1,
r2, val);
85 th2p->SetTitle(
"total hits");
90 avg->SetTitle(
"average charge");
95 err->SetContentToError();
96 err->SetTitle(
"error");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
2D Histogram with Polygonal Bins
2D Profile Histogram with Polygonal Bins.
This is the base class for the ROOT Random number generators.