11#ifndef ROOTUTILS_TRANDOMTLS_H
12#define ROOTUTILS_TRANDOMTLS_H
17#include "boost/thread/tss.hpp"
boost::thread_specific_ptr< T > m_rand_tls
Thread-local TRandom.
T * get() const
Get thread-specific TRandom.
TRandomTLS(UInt_t seed=4357)
Constructor.
std::atomic< UInt_t > m_seed
TRandom seed (incremented for each new instance/thread)
~TRandomTLS()=default
Destructor.