CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/RPCMonitorClient/interface/RPCEfficiencyPerRingLayer.h

Go to the documentation of this file.
00001 #ifndef RPCEfficiencyPerRingLayer_H
00002 #define RPCEfficiencyPerRingLayer_H
00003 
00004 
00015 #include "FWCore/Framework/interface/Frameworkfwd.h"
00016 #include <FWCore/Framework/interface/EDAnalyzer.h>
00017 #include <FWCore/Framework/interface/ESHandle.h>
00018 #include <FWCore/Framework/interface/MakerMacros.h>
00019 #include "FWCore/ServiceRegistry/interface/Service.h"
00020 #include "DQMServices/Core/interface/MonitorElement.h"
00021 
00022 
00023 #include <memory>
00024 #include <string>
00025 
00026 #include "DQMServices/Core/interface/DQMStore.h"
00027 //class DQMStore;
00028 //class RPCDetId;
00029 
00030 
00031 class RPCEfficiencyPerRingLayer:public edm::EDAnalyzer {
00032 public:
00033 
00035   RPCEfficiencyPerRingLayer(const edm::ParameterSet& iConfig);
00036   
00038   virtual ~RPCEfficiencyPerRingLayer();
00039 
00041   void beginJob();
00042 
00043   //Begin Run
00044    void beginRun(const edm::Run& r, const edm::EventSetup& c);
00045   
00046    //End Run
00047    void endRun(const edm::Run& r, const edm::EventSetup& c);
00048 
00050   void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup);
00051 
00052   MonitorElement * EfficiencyPerRing;
00053   MonitorElement * EfficiencyPerLayer;
00054   
00055  private:
00056   
00057   bool SaveFile;
00058 
00059   std::string NameFile;
00060 
00061   DQMStore* dbe_;
00062 
00063   std::string globalFolder_;
00064 
00065 };
00066 
00067 #endif