CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/DQM/RPCMonitorClient/interface/RPCEfficiencyShiftHisto.h

Go to the documentation of this file.
00001 #ifndef RPCEfficiencyShiftHisto_H
00002 #define RPCEfficiencyShiftHisto_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 
00027 class DQMStore;
00028 class RPCDetId;
00029 
00030 
00031 class RPCEfficiencyShiftHisto:public edm::EDAnalyzer {
00032 public:
00033 
00035   RPCEfficiencyShiftHisto(const edm::ParameterSet& iConfig);
00036   
00038   virtual ~RPCEfficiencyShiftHisto();
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 * EffBarrelRoll;
00053   MonitorElement * EffEndcapPlusRoll;
00054   MonitorElement * EffEndcapMinusRoll;
00055   MonitorElement * RollPercentage;
00056   
00057  private:
00058   
00059   bool SaveFile;
00060 
00061   std::string NameFile;
00062   int  numberOfDisks_;
00063   int effCut_;
00064 
00065   DQMStore* dbe_;
00066 
00067   std::string globalFolder_;
00068 
00069 };
00070 
00071 #endif