CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DQMServices/Examples/interface/HarvestingAnalyzer.h

Go to the documentation of this file.
00001 #ifndef HarvestingAnalyzer_h
00002 #define HarvestingAnalyzer_h
00003 
00013 // framework & common header files
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/Framework/interface/Frameworkfwd.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "FWCore/Framework/interface/EventSetup.h"
00018 #include "FWCore/Framework/interface/Run.h"
00019 #include "FWCore/Framework/interface/MakerMacros.h"
00020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00021 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00022 
00023 //DQM services
00024 #include "DQMServices/Core/interface/DQMStore.h"
00025 #include "FWCore/ServiceRegistry/interface/Service.h"
00026 #include "DQMServices/Core/interface/MonitorElement.h"
00027 
00028 #include <iostream>
00029 #include <stdlib.h>
00030 #include <string>
00031 #include <memory>
00032 #include <vector>
00033 
00034 #include "TString.h"
00035 
00036 class HarvestingAnalyzer : public edm::EDAnalyzer
00037 {
00038   
00039  public:
00040 
00041   explicit HarvestingAnalyzer(const edm::ParameterSet&);
00042   virtual ~HarvestingAnalyzer();
00043   virtual void beginJob();
00044   virtual void endJob();  
00045   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00046   virtual void beginRun(const edm::Run&, const edm::EventSetup&);
00047   virtual void endRun(const edm::Run&, const edm::EventSetup&);
00048 
00049   
00050 private:
00051   std::string fName;
00052   int verbosity;
00053   DQMStore *dbe;
00054 
00055 };
00056 
00057 #endif