Go to the documentation of this file.00001 #ifndef METFILESAVER_H
00002 #define METFILESAVER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "DQMServices/Core/interface/DQMStore.h"
00017
00018 #include "FWCore/Framework/interface/Frameworkfwd.h"
00019 #include "FWCore/Framework/interface/EDAnalyzer.h"
00020
00021 #include <string>
00022 #include <map>
00023 #include "DQMServices/Core/interface/MonitorElement.h"
00024
00025 class METFileSaver: public edm::EDAnalyzer {
00026 public:
00027
00028 explicit METFileSaver(const edm::ParameterSet&);
00029
00030 virtual void analyze(const edm::Event&, const edm::EventSetup&);
00031 virtual void beginJob() ;
00032 virtual void endJob() ;
00033
00034 private:
00035
00036
00037 DQMStore* dbe_;
00038 std::map<std::string, MonitorElement*> me;
00039
00040
00041 std::string outputFile_;
00042
00043 };
00044
00045 #endif // METFILESAVER_H