00001 #ifndef DQMSERVICES_COMPONENTS_DQMFileReader_H 00002 # define DQMSERVICES_COMPONENTS_DQMFileReader_H 00003 // -*- C++ -*- 00004 // 00005 // Package: DQMFileReader 00006 // Class: DQMFileReader 00007 // 00008 /* 00009 00010 Description: <one line class summary> 00011 00012 Implementation: 00013 <Notes on implementation> 00014 */ 00015 // 00016 // Original Author: Kenichi Hatakeyama 00017 // 00018 #include "FWCore/Framework/interface/EDAnalyzer.h" 00019 #include "DQMServices/Core/interface/DQMStore.h" 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 #include "FWCore/ServiceRegistry/interface/Service.h" 00022 00023 class DQMFileReader : public edm::EDAnalyzer { 00024 public: 00025 explicit DQMFileReader(const edm::ParameterSet&); 00026 ~DQMFileReader(); 00027 00028 00029 private: 00030 virtual void beginJob() ; 00031 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00032 virtual void endJob() ; 00033 00034 DQMStore *dbe_; 00035 edm::ParameterSet pset_; 00036 00037 std::vector<std::string > filenames_; 00038 std::string referenceFileName_; 00039 00040 }; 00041 00042 #endif