00001 #ifndef ElectroWeakAnalysis_EWKTau_DQMSimpleFileSaver_h 00002 #define ElectroWeakAnalysis_EWKTau_DQMSimpleFileSaver_h 00003 00014 // framework & common header files 00015 #include "FWCore/Framework/interface/EDAnalyzer.h" 00016 #include "FWCore/Framework/interface/Event.h" 00017 #include "FWCore/Framework/interface/EventSetup.h" 00018 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00019 00020 #include <string> 00021 00022 class DQMSimpleFileSaver : public edm::EDAnalyzer 00023 { 00024 public: 00025 explicit DQMSimpleFileSaver(const edm::ParameterSet&); 00026 virtual ~DQMSimpleFileSaver(); 00027 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00028 virtual void endJob(); 00029 00030 private: 00031 std::string outputFileName_; 00032 int cfgError_; 00033 }; 00034 00035 #endif 00036 00037