Showcase registration of callback functions that act on partial results while the event-loop is running using OnPartialResult
and OnPartialResultSlot
. This tutorial is not meant to run in batch mode.
{
const auto nEvents =
nSlots * 10000ull;
for (volatile int i = 0; i < 1000000; ++i)
;
};
auto h = df.Histo1D<
double>({
"browserHisto",
"", 100, -2., 2.},
"x");
return;
});
});
std::cout << "Analysis running..." << std::endl;
std::cout << "\nDone!" << std::endl;
auto clone =
static_cast<TH1D *
>(
h->Clone());
return;
clone->Draw();
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
R__EXTERN TSystem * gSystem
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
Using a TBrowser one can browse all ROOT objects.
1-D histogram with a double per channel (see TH1 documentation)
virtual void SetDirectory(TDirectory *dir)
By default, when a histogram is created, it is added to the list of histogram objects in the current ...
void Draw(Option_t *option="") override
Draw this histogram with options.
A TMemFile is like a normal TFile except that it reads and writes only from memory.
This is the base class for the ROOT Random number generators.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
void EnableImplicitMT(UInt_t numthreads=0)
Enable ROOT's implicit multi-threading for all objects and methods that provide an internal paralleli...
UInt_t GetThreadPoolSize()
Returns the size of ROOT's thread pool.