RootUtils: add TRandomTLS class
Add `TRandomTLS` class to provide thread-specific `TRandom` instances. The class also takes care of assigning a unique seed to each new instance.
Showing
- Control/RootUtils/CMakeLists.txt 7 additions, 1 deletionControl/RootUtils/CMakeLists.txt
- Control/RootUtils/RootUtils/TRandomTLS.h 74 additions, 0 deletionsControl/RootUtils/RootUtils/TRandomTLS.h
- Control/RootUtils/test/TRandomTLS_test.cxx 67 additions, 0 deletionsControl/RootUtils/test/TRandomTLS_test.cxx
Loading