30 #include "tbb/task_group.h" 66 g.run([
this, &
func, start, end]() {
68 tr->SetEntriesRange(start, end);
TTreeReader is a simple, robust and fast interface to read values from a TTree, TChain or TNtuple...
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
void Process(std::function< void(TTreeReader &)> func)
Process the entries of a TTree in parallel.
TTree::TClusterIterator GetClusterIterator()
Get the cluster iterator for the tree of this view, starting from entry zero.
Long64_t GetEntries() const
Get the number of entries of the tree of this view.
double func(double *x, double *p)
ROOT::TThreadedObject< ROOT::Internal::TTreeView > treeView
! Threaded object with <file,tree> per thread
std::unique_ptr< TTreeReader > GetTreeReader() const
Get a TTreeReader for the tree of this view.