CMS 3D CMS Logo

cscdqm::EventProcessorMutex Class Reference

#include <DQM/CSCMonitorModule/interface/CSCDQM_Dispatcher.h>

Inheritance diagram for cscdqm::EventProcessorMutex:

cscdqm::Lock

List of all members.

Public Member Functions

 EventProcessorMutex (Configuration *const p_config)
void updateFractionAndEfficiencyHistos ()

Private Attributes

Configurationconfig
EventProcessor processor


Detailed Description

Definition at line 36 of file CSCDQM_Dispatcher.h.


Constructor & Destructor Documentation

cscdqm::EventProcessorMutex::EventProcessorMutex ( Configuration *const   p_config  )  [inline]

Definition at line 45 of file CSCDQM_Dispatcher.h.

References config.

00045                                                          : processor(p_config) {
00046         config = p_config;
00047       }


Member Function Documentation

void cscdqm::EventProcessorMutex::updateFractionAndEfficiencyHistos (  ) 

Definition at line 50 of file CSCDQM_Dispatcher.cc.

References config, cscdqm::Lock::lock(), processor, cscdqm::Lock::unlock(), cscdqm::EventProcessor::updateEfficiencyHistos(), cscdqm::Configuration::updateEffTimer(), cscdqm::EventProcessor::updateFractionHistos(), and cscdqm::Configuration::updateFraTimer().

Referenced by cscdqm::Dispatcher::Dispatcher().

00050                                                               {
00051     lock();
00052 
00053     config->updateFraTimer(true);
00054     processor.updateFractionHistos();
00055     config->updateFraTimer(false);
00056 
00057     if (config->getPROCESS_EFF_HISTOS()) {
00058 
00059       config->updateEffTimer(true);
00060       processor.updateEfficiencyHistos();
00061       config->updateEffTimer(false);
00062 
00063     }
00064     unlock();
00065   }


Member Data Documentation

Configuration* cscdqm::EventProcessorMutex::config [private]

Definition at line 41 of file CSCDQM_Dispatcher.h.

Referenced by EventProcessorMutex(), and updateFractionAndEfficiencyHistos().

EventProcessor cscdqm::EventProcessorMutex::processor [private]

Definition at line 40 of file CSCDQM_Dispatcher.h.

Referenced by updateFractionAndEfficiencyHistos().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:36:57 2009 for CMSSW by  doxygen 1.5.4