CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/SiStripMonitorClient/plugins/SiStripOfflineDQM.h

Go to the documentation of this file.
00001 #ifndef SiStripMonitorClient_SiStripOfflineDQM_h
00002 #define SiStripMonitorClient_SiStripOfflineDQM_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiStripMonitorClient
00006 // Class  :     SiStripOfflineDQM
00007 // 
00017 //
00018 // Original Author:  Samvel Khalatyan (ksamdev at gmail dot com)
00019 //         Created:  Wed Oct 5 16:47:14 CET 2006
00020 //
00021 
00022 #include <string>
00023 
00024 #include "FWCore/Framework/interface/EDAnalyzer.h"
00025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00026 #include "FWCore/Framework/interface/ESHandle.h"
00027 #include "FWCore/Framework/interface/LuminosityBlock.h"
00028 #include "FWCore/Framework/interface/Run.h"
00029 #include "FWCore/Framework/interface/EventSetup.h"
00030 
00031 #include <iostream>
00032 #include <fstream>
00033 #include <string>
00034 #include <vector>
00035 #include <map>
00036 
00037 class DQMStore;
00038 class SiStripActionExecutor;
00039 class SiStripDetCabling;
00040 
00041 class SiStripOfflineDQM: public edm::EDAnalyzer {
00042 
00043  public:
00044 
00046   SiStripOfflineDQM(const edm::ParameterSet& ps);
00047   
00049   virtual ~SiStripOfflineDQM();
00050 
00051  private:
00052 
00054   void beginJob();
00055 
00057   void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
00058 
00060   void analyze(edm::Event const& e, edm::EventSetup const& eSetup);
00061 
00063   void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup);
00064 
00066   void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
00067 
00069   void endJob();
00070 
00071 private:
00072 
00073   void checkTrackerFEDs(edm::Event const& e);
00074   bool openInputFile();
00075 
00076   DQMStore* dqmStore_;
00077 
00078   SiStripActionExecutor* actionExecutor_;
00079 
00080   bool createSummary_;
00081   std::string inputFileName_;
00082   std::string outputFileName_;
00083   int globalStatusFilling_; 
00084   bool usedWithEDMtoMEConverter_;
00085   int nEvents_;
00086   bool trackerFEDsFound_;
00087   bool printFaultyModuleList_;
00088 
00089   edm::ParameterSet configPar_;
00090 
00091 };
00092 #endif