CMS 3D CMS Logo

List of all members | Public Member Functions
DQMScope Class Reference

#include <DQMScope.h>

Public Member Functions

 DQMScope ()
 
 ~DQMScope ()
 Release access lock to the DQM core. More...
 

Detailed Description

Gateway to accessing DQM core in threads other than the CMSSW thread.

Definition at line 5 of file DQMScope.h.

Constructor & Destructor Documentation

◆ DQMScope()

DQMScope::DQMScope ( )

Acquire lock and access to the DQM core from a thread other than the "main" CMSSW processing thread, such as in extra XDAQ threads.

Definition at line 19 of file DQMService.cc.

19 { s_mutex.lock(); }

References s_mutex.

◆ ~DQMScope()

DQMScope::~DQMScope ( )

Release access lock to the DQM core.

Definition at line 22 of file DQMService.cc.

22 { s_mutex.unlock(); }

References s_mutex.

s_mutex
static std::recursive_mutex s_mutex
Definition: DQMService.cc:15