CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DQM/EcalPreshowerMonitorClient/interface/EcalPreshowerMonitorClient.h

Go to the documentation of this file.
00001 #ifndef EcalPreshowerMonitorClient_H
00002 #define EcalPreshowerMonitorClient_H
00003 
00004 #include "FWCore/Framework/interface/EDAnalyzer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 
00009 #include "DQM/EcalPreshowerMonitorClient/interface/ESClient.h"
00010 
00011 class DQMStore;
00012 
00013 class EcalPreshowerMonitorClient : public edm::EDAnalyzer {
00014 
00015  public:
00016 
00017   EcalPreshowerMonitorClient(const edm::ParameterSet& ps);
00018   virtual ~EcalPreshowerMonitorClient();
00019 
00020  private:
00021   
00022   virtual void analyze(const edm::Event &, const edm::EventSetup &);
00023   virtual void analyze();
00024   
00025   virtual void beginJob();
00026   virtual void endJob();
00027   virtual void beginRun(void);
00028   virtual void endRun(void);
00029   virtual void beginRun(const edm::Run &, const edm::EventSetup &);
00030   virtual void endRun(const edm::Run &, const edm::EventSetup &);
00031 
00032   void beginLuminosityBlock(const edm::LuminosityBlock & l, const edm::EventSetup & c);
00033   void endLuminosityBlock(const edm::LuminosityBlock & l, const edm::EventSetup & c);
00034   
00035   void htmlOutput(int);
00036   
00037   // ----------member data ---------------------------
00038   std::string outputFile_;
00039   std::string inputFile_;
00040   std::string prefixME_;
00041   
00042   DQMStore* dqmStore_;
00043   
00044   bool begin_run_;
00045   bool end_run_;
00046   bool debug_;
00047   bool verbose_;
00048   
00049   int prescaleFactor_;          
00050   int ievt_;
00051   int jevt_;
00052   
00053   std::vector<std::string> enabledClients_;
00054   std::vector<ESClient*> clients_;
00055   
00056   int nLines_, runNum_;
00057   int runtype_, seqtype_, dac_, gain_, precision_;
00058   int firstDAC_, nDAC_, isPed_, vDAC_[5], layer_;
00059   
00060   int senZ_[4288], senP_[4288], senX_[4288], senY_[4288];
00061   int qt[40][40], qtCriteria;
00062   
00063 };
00064 
00065 #endif