CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/L1TMonitorClient/interface/L1TRPCTFClient.h

Go to the documentation of this file.
00001 #ifndef DQM_L1TMONITORCLIENT_L1TRPCTFClient_H
00002 #define DQM_L1TMONITORCLIENT_L1TRPCTFClient_H
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "FWCore/Framework/interface/MakerMacros.h"
00007 #include "FWCore/Framework/interface/EDAnalyzer.h"
00008 #include "DQMServices/Core/interface/DQMStore.h"
00009 #include "DQMServices/Core/interface/MonitorElement.h"
00010 
00011 #include <memory>
00012 #include <iostream>
00013 #include <fstream>
00014 #include <string>
00015 #include <vector>
00016 #include <map>
00017 #include <TH1F.h>
00018 #include <TH2F.h>
00019 #include <TProfile2D.h>
00020 
00021 class L1TRPCTFClient: public edm::EDAnalyzer {
00022 
00023 public:
00024 
00026   L1TRPCTFClient(const edm::ParameterSet& ps);
00027   
00029   virtual ~L1TRPCTFClient();
00030  
00031 protected:
00032 
00034   void beginJob(void);
00035 
00037   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00038 
00040   void analyze(const edm::Event& e, const edm::EventSetup& c) ;
00041 
00042   void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, 
00043                             const edm::EventSetup& context);
00044 
00046   void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, 
00047                           const edm::EventSetup& c);
00048 
00050   void endRun(const edm::Run& r, const edm::EventSetup& c);
00051 
00053   void endJob();
00054 
00055 private:
00056 
00057   void initialize();
00058   
00059   void processHistograms();
00060 
00061 
00062   MonitorElement * m_phipackedbad;
00063   MonitorElement * m_phipackeddead;
00064   MonitorElement * m_deadChannels;
00065   MonitorElement * m_noisyChannels;
00066   
00067   edm::ParameterSet parameters_;
00068   DQMStore* dbe_;  
00069   std::string monitorName_;
00070   std::string input_dir_;
00071   std::string output_dir_;
00072   int counterLS_;      
00073   int counterEvt_;     
00074   int prescaleLS_;     
00075   int prescaleEvt_;    
00076 
00077   bool verbose_;
00078 
00079   bool m_runInEventLoop;
00080   bool m_runInEndLumi;
00081   bool m_runInEndRun;
00082   bool m_runInEndJob;
00083 
00084 
00085 
00086 };
00087 
00088 #endif