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 18 of file DQMService.cc.

References s_mutex.

18 { s_mutex.lock(); }
static std::recursive_mutex s_mutex
Definition: DQMService.cc:14

◆ ~DQMScope()

DQMScope::~DQMScope ( )

Release access lock to the DQM core.

Definition at line 21 of file DQMService.cc.

References s_mutex.

21 { s_mutex.unlock(); }
static std::recursive_mutex s_mutex
Definition: DQMService.cc:14