CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/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   MonitorElement * m_phipackedbad;
00060   MonitorElement * m_phipackeddead;
00061   MonitorElement * m_deadChannels;
00062   MonitorElement * m_noisyChannels;
00063   
00064   edm::ParameterSet parameters_;
00065   DQMStore* dbe_;  
00066   std::string monitorName_;
00067   std::string input_dir_;
00068   std::string output_dir_;
00069   int counterLS_;      
00070   int counterEvt_;     
00071   int prescaleLS_;     
00072   int prescaleEvt_;    
00073 
00074   bool verbose_;
00075 
00076 };
00077 
00078 #endif