CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/CSCMonitorModule/interface/CSCDaqInfo.h

Go to the documentation of this file.
00001 /*
00002  * =====================================================================================
00003  *
00004  *       Filename:  CSCDaqInfo.h
00005  *
00006  *    Description:  CSC DAQ Information
00007  *
00008  *        Version:  1.0
00009  *        Created:  12/09/2008 10:53:27 AM
00010  *       Revision:  none
00011  *       Compiler:  gcc
00012  *
00013  *         Author:  Valdas Rapsevicius (VR), valdas.rapsevicius@cern.ch
00014  *        Company:  CERN, CH
00015  *
00016  * =====================================================================================
00017  */
00018 
00019 #ifndef CSCDaqInfo_H
00020 #define CSCDaqInfo_H
00021 
00022 // system include files
00023 #include <memory>
00024 #include <iostream>
00025 #include <fstream>
00026 
00027 // FWCore
00028 #include "FWCore/Framework/interface/Frameworkfwd.h"
00029 #include "FWCore/Framework/interface/LuminosityBlock.h"
00030 #include "FWCore/Framework/interface/EDAnalyzer.h"
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/Framework/interface/MakerMacros.h"
00033 #include "FWCore/Framework/interface/ESHandle.h"
00034 #include "FWCore/Framework/interface/EventSetup.h"
00035 #include "FWCore/ServiceRegistry/interface/Service.h"
00036 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00037 
00038 // DQM
00039 #include "DQMServices/Core/interface/DQMStore.h"
00040 #include "DQMServices/Core/interface/MonitorElement.h"
00041 
00042 class CSCDaqInfo : public edm::EDAnalyzer {
00043 
00044   public:
00045 
00046     explicit CSCDaqInfo(const edm::ParameterSet&);
00047     ~CSCDaqInfo() { }
00048 
00049   private:
00050 
00051     virtual void beginJob();
00052 
00053     virtual void beginLuminosityBlock(const edm::LuminosityBlock& , const  edm::EventSetup&) { }
00054     virtual void analyze(const edm::Event&, const edm::EventSetup&) { }
00055     virtual void endLuminosityBlock(const edm::LuminosityBlock& , const  edm::EventSetup&) { }
00056     virtual void endJob() { }
00057                     
00058     std::map<std::string, MonitorElement*> mos;
00059     DQMStore *dbe;  
00060                           
00061 };
00062 
00063 #endif