CMS 3D CMS Logo

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 
00050   private:
00051 
00052     virtual void beginJob(const edm::EventSetup&) ;
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     DQMStore *dbe;  
00059     MonitorElement*  DaqFraction;
00060     std::pair<int,int> FEDRange;
00061     int  NumberOfFeds;
00062                           
00063 };
00064 
00065 #endif

Generated on Tue Jun 9 17:32:31 2009 for CMSSW by  doxygen 1.5.4