Fill the same TNtuple from different threads.
This tutorial illustrates the basics of how it's possible with ROOT to write simultaneously to a single output file using TBufferMerger.
{
auto fileName = "mt103_fillNtupleFromMultipleThreads.root";
};
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
TBufferMerger is a class to facilitate writing data in parallel from multiple threads,...
A simple TTree restricted to a list of float variables only.
This is the base class for the ROOT Random number generators.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
void EnableThreadSafety()
Enable support for multi-threading within the ROOT code in particular, enables the global mutex to ma...
- Date
- May 2017
- Author
- Guilherme Amadio
Definition in file mt103_fillNtupleFromMultipleThreads.C.