CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Validation/RecoJets/plugins/JetFileSaver.h

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