43 auto hist1 =
new TH1D(
"hist1",
"hist1", 100, -10, 10);
44 auto hist2 =
new TH1D(
"hist2",
"hist2", 100, -10, 10);
52 for (
int n = 0;
n < 10000; ++
n) {
59 auto canvas = RCanvas::Create(title);
68 std::cout << title <<
" started" << std::endl;
70 for (
int loop = 0; loop <
maxloop; ++loop) {
72 for (
int n = 0;
n < 10000; ++
n) {
89 std::cout << title <<
" completed" << std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Provides v7 drawing facilities for TObject types (TGraph, TH1, TH2, etc).
static std::shared_ptr< RWebWindowsManager > & Instance()
Returns default window manager Used to display all standard ROOT elements like TCanvas or TFitPanel.
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Set the value of a resource or create a new resource.
1-D histogram with a double per channel (see TH1 documentation)
static void AddDirectory(Bool_t add=kTRUE)
Sets the flag controlling the automatic add of histograms in memory.
Random number generator class based on M.
void EnableThreadSafety()
Enable support for multi-threading within the ROOT code in particular, enables the global mutex to ma...