CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DQMOffline/L1Trigger/interface/L1TEfficiencyMuons_Offline.h

Go to the documentation of this file.
00001 #ifndef DQMOFFLINE_L1TRIGGER_L1TEFFICIENCYMUON_OFFLINE_H
00002 #define DQMOFFLINE_L1TRIGGER_L1TEFFICIENCYMUON_OFFLINE_H
00003 
00004 /*
00005  * \file L1TEfficiencyMuons.h
00006  *
00007  * $Date: 2012/11/22 17:10:18 $
00008  * $Revision: 1.1 $
00009  * \author J. Pela
00010  *
00011  */
00012 
00013 // system include files
00014 #include <memory>
00015 #include <unistd.h>
00016 
00017 // user include files
00018 #include "FWCore/Framework/interface/Frameworkfwd.h"
00019 #include "FWCore/Framework/interface/EDAnalyzer.h"
00020 #include "FWCore/Framework/interface/ESHandle.h"
00021 #include "FWCore/Framework/interface/Event.h"
00022 #include "FWCore/Framework/interface/LuminosityBlock.h"
00023 #include "FWCore/Framework/interface/MakerMacros.h"
00024 
00025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00026 
00027 #include "DQMServices/Core/interface/DQMStore.h"
00028 #include "DQMServices/Core/interface/MonitorElement.h"
00029 #include "FWCore/ServiceRegistry/interface/Service.h"
00030 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00031 
00032 #include <TString.h>
00033 
00034 #include <iostream>
00035 #include <fstream>
00036 #include <vector>
00037 
00038 //
00039 // class declaration
00040 //
00041 
00042 class L1TEfficiencyMuons_Offline : public edm::EDAnalyzer {
00043   
00044 public:
00045   
00046   enum Errors{
00047     UNKNOWN                = 1,
00048     WARNING_PY_MISSING_FIT = 2
00049   };
00050   
00051 public:
00052   
00053   L1TEfficiencyMuons_Offline(const edm::ParameterSet& ps);   // Constructor
00054   virtual ~L1TEfficiencyMuons_Offline();                     // Destructor
00055   
00056 protected:
00057   
00058   // Event
00059   void analyze (const edm::Event& e, const edm::EventSetup& c); 
00060   
00061   // Job
00062   void beginJob();  
00063   void endJob  ();
00064 
00065   // Run
00066   void beginRun(const edm::Run& run, const edm::EventSetup& iSetup);
00067   void endRun  (const edm::Run& run, const edm::EventSetup& iSetup);
00068   
00069   // Luminosity Block
00070   virtual void beginLuminosityBlock(edm::LuminosityBlock const& lumiBlock, edm::EventSetup const& c);
00071   virtual void endLuminosityBlock  (edm::LuminosityBlock const& lumiBlock, edm::EventSetup const& c);
00072   
00073 private:
00074   
00075   // bool
00076   bool  m_verbose;
00077   
00078   DQMStore* dbe;  // The DQM Service Handle
00079   
00080 };
00081 
00082 #endif