40void draw_canvas(
const std::string &title,
RColor col)
44 auto pHist = std::make_shared<RH1D>(xaxis);
45 auto pHist2 = std::make_shared<RH1D>(xaxis);
50 for (
int n = 0;
n < 10000; ++
n) {
57 auto canvas = RCanvas::Create(title +
" canvas");
58 canvas->Draw(pHist)->AttrLine().SetColor(col);
65 printf(
"%s started\n", title.c_str());
67 for (
int loop = 0; loop < maxloop; ++loop) {
69 for (
int n = 0;
n < 10000; ++
n) {
86 printf(
"%s completed\n", title.c_str());
100 RWebWindowsManager::Instance();
#define R__LOAD_LIBRARY(LIBRARY)
Objects used to configure the different axis types.
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=0)
Set the value of a resource or create a new resource.
Random number generator class based on M.
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
void EnableThreadSafety()
Enables the global mutex to make ROOT thread safe/aware.