25#include "ROOT/RColor.hxx"
35 auto pHist = std::make_shared<RH2D>(xaxis, yaxis);
38 pHist->Fill({0.01, 1.02});
39 pHist->Fill({0.54, 3.02});
40 pHist->Fill({0.98, 1.02});
41 pHist->Fill({1.90, 1.02});
42 pHist->Fill({0.75, -0.02});
48 auto canvas = RCanvas::Create(
"Canvas Title");
#define R__LOAD_LIBRARY(LIBRARY)
Objects used to configure the different axis types.
static TDirectory & Heap()
Dedicated, process-wide TDirectory.
void Add(std::string_view name, const std::shared_ptr< T > &ptr)
Add an existing object (rather a shared_ptr to it) to the TDirectory.