ATLAS Offline Software
Classes
OHLockedHist.h File Reference

OH histogram lock header file. More...

#include "CxxUtils/checker_macros.h"
#include <mutex>
Include dependency graph for OHLockedHist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  oh_lock_histogram_mutex
 Helper class to set histogram mutex. More...
 
class  oh_lock_histogram< H >
 Lock to be used for thread unsafe histogram operations. More...
 
class  oh_scoped_lock_histogram
 Scoped lock to be used for threaded histogram operations. More...
 

Detailed Description

OH histogram lock header file.

Author
Tomasz Bold, Frank Winklmeier

Provides a mutex to lock histogram operations to avoid OH publication while certain operations (e.g. re-binning) are ongoing. This is only relevant for online operations and only has any effect once oh_lock_histogram_mutex::set_histogram_mutex has been called to set a reference to the global OH mutex in tdaq: https://gitlab.cern.ch/atlas-tdaq-software/oh/blob/master/oh/OHRootMutex.h.

Definition in file OHLockedHist.h.