3### Keeping the canvas open after drawing in Python
6# short example makeAndDrawHisto.py: initialize a histogram and draw it on a canvas
7test_histo =
ROOT.TH1D(
"test_histo",
"Histogram to draw", 200, -5, 5)
14# -i flag keeps the TBrowser open with the TCanvas on it
20# contents of short example makeAndDrawHistoInMain.py:
23 Initialize a histogram and draw it in a non-top level function, using ROOT.SetOwnership to keep the canvas and histogram open after execution
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Using a TBrowser one can browse all ROOT objects.
1-D histogram with a double per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
void Draw(Option_t *option="") override
Draw this histogram with options.
The histogram painter class.
h1 FillRandom("gaus", 30000)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...