35 auto pHist = std::make_shared<RH1D>(xaxis);
36 auto pHist2 = std::make_shared<RH1D>(xaxis);
38 for (
int n=0;
n<1000;
n++) {
44 auto canvas = RCanvas::Create(
"Canvas Title");
45 auto draw1 = canvas->Draw(pHist);
48 auto draw2 = canvas->Draw(pHist2);
51 canvas->SetSize(1000, 700);
#define R__LOAD_LIBRARY(LIBRARY)
R__EXTERN TRandom * gRandom
Objects used to configure the different axis types.
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...