CMS 3D CMS Logo

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 
00040 class SiStripOfflineDQM: public edm::EDAnalyzer {
00041 
00042  public:
00043 
00045   SiStripOfflineDQM(const edm::ParameterSet& ps);
00046   
00048   virtual ~SiStripOfflineDQM();
00049 
00050  private:
00051 
00053   void beginJob(edm::EventSetup const& eSetup);
00054 
00056   void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
00057 
00059   void analyze(edm::Event const& e, edm::EventSetup const& eSetup);
00060 
00062                                                                                
00063   void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& eSetup);
00064 
00066   void endJob();
00067 
00068 private:
00069 
00070   void checkTrackerFEDs(edm::Event const& e);
00071   bool openInputFile();
00072 
00073   DQMStore* dqmStore_;
00074 
00075   SiStripActionExecutor* actionExecutor_;
00076 
00077   unsigned long long m_cacheID_;
00078   bool createSummary_;
00079   std::string inputFileName_;
00080   std::string outputFileName_;
00081   int globalStatusFilling_; 
00082   bool usedWithEDMtoMEConverter_;
00083   int nEvents_;
00084   bool trackerFEDsFound_;
00085 };
00086 #endif

Generated on Tue Jun 9 17:33:34 2009 for CMSSW by  doxygen 1.5.4