35 auto pHist = std::make_shared<Experimental::TH2D>(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});
Namespace for new ROOT classes and functions.
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.
static TDirectory & Heap()
Dedicated, process-wide TDirectory.
Objects used to configure the different axis types.
static constexpr PredefinedRGB kRed
#define R__LOAD_LIBRARY(LIBRARY)
static std::shared_ptr< TCanvas > Create(const std::string &title)