CMS 3D CMS Logo

List of all members | Static Public Member Functions
rpcdqm::RPCMEHelper Struct Reference

#include <utils.h>

Static Public Member Functions

static void setNoAlphanumeric (MonitorElement *myMe)
 

Detailed Description

Definition at line 17 of file utils.h.

Member Function Documentation

◆ setNoAlphanumeric()

static void rpcdqm::RPCMEHelper::setNoAlphanumeric ( MonitorElement myMe)
inlinestatic

Definition at line 18 of file utils.h.

18  {
19  // Set no-alphanumeric flag to avoid malfunctioning in multithread environment.
20  TH2* h2 = dynamic_cast<TH2*>(myMe->getTH1());
21  if (!h2)
22  return;
23 
24  h2->GetXaxis()->SetNoAlphanumeric(true);
25  h2->GetYaxis()->SetNoAlphanumeric(true);
26  }

References dqm::impl::MonitorElement::getTH1().

Referenced by rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), and rpcdqm::utils::labelYAxisRoll().

dqm::legacy::MonitorElement::getTH1
virtual TH1 * getTH1() const
Definition: MonitorElement.h:475