36 auto pHist = std::make_shared<RH1D>(xaxis);
37 auto pHist2 = std::make_shared<RH1D>(xaxis);
39 for (
int n=0;
n<1000;
n++) {
45 auto canvas = RCanvas::Create(
"Canvas Title");
46 auto draw1 = canvas->Draw(pHist);
49 auto draw2 = canvas->Draw(pHist2);
#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...