CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/SiPixelMonitorClient/interface/SiPixelDaqInfo.h

Go to the documentation of this file.
00001 #ifndef DQM_SiPixelMonitorClient_SiPixelDaqInfo_H
00002 #define DQM_SiPixelMonitorClient_SiPixelDaqInfo_H
00003 
00004 // system include files
00005 #include <memory>
00006 #include <iostream>
00007 #include <fstream>
00008 
00009 // FWCore
00010 #include "FWCore/Framework/interface/Frameworkfwd.h"
00011 #include "FWCore/Framework/interface/LuminosityBlock.h"
00012 #include "FWCore/Framework/interface/EDAnalyzer.h"
00013 #include "FWCore/Framework/interface/Event.h"
00014 #include "FWCore/Framework/interface/MakerMacros.h"
00015 #include "FWCore/Framework/interface/ESHandle.h"
00016 #include "FWCore/Framework/interface/EventSetup.h"
00017 #include "FWCore/ServiceRegistry/interface/Service.h"
00018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00019 
00020 //DQM
00021 #include "DQMServices/Core/interface/DQMStore.h"
00022 #include "DQMServices/Core/interface/MonitorElement.h"
00023 
00024 
00025 class SiPixelDaqInfo : public edm::EDAnalyzer {
00026 public:
00027   explicit SiPixelDaqInfo(const edm::ParameterSet&);
00028   ~SiPixelDaqInfo();
00029   
00030 
00031 private:
00032   virtual void beginJob() ;
00033   virtual void beginLuminosityBlock(const edm::LuminosityBlock& , const  edm::EventSetup&);
00034   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00035   virtual void endLuminosityBlock(const edm::LuminosityBlock& , const  edm::EventSetup&);
00036   virtual void endRun(const edm::Run& , const  edm::EventSetup&);
00037   virtual void endJob() ;
00038   
00039   DQMStore *dbe_;  
00040   
00041   MonitorElement*  Fraction_;
00042   MonitorElement*  FractionBarrel_;
00043   MonitorElement*  FractionEndcap_;
00044 
00045   std::pair<int,int> FEDRange_;
00046 
00047   int  NumberOfFeds_;
00048   
00049   int NEvents_;
00050   int nFEDsBarrel_;
00051   int nFEDsEndcap_;
00052   int FEDs_[40];
00053   
00054 };
00055 
00056 #endif