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 16 of file utils.h.

Member Function Documentation

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

Definition at line 18 of file utils.h.

References MonitorElement::getTH1().

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

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