CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DQMOffline/JetMET/interface/METAnalyzerBase.h

Go to the documentation of this file.
00001 #ifndef METAnalyzerBase_H
00002 #define METAnalyzerBase_H
00003 
00014 #include <memory>
00015 #include <fstream>
00016 #include "FWCore/Framework/interface/Frameworkfwd.h"
00017 #include "FWCore/Framework/interface/Event.h"
00018 #include "FWCore/Framework/interface/MakerMacros.h"
00019 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00020 #include "FWCore/ServiceRegistry/interface/Service.h"
00021 #include "DQMServices/Core/interface/DQMStore.h"
00022 #include "DQMServices/Core/interface/MonitorElement.h"
00023 //#include "DataFormats/METReco/interface/METCollection.h"
00024 #include "DataFormats/METReco/interface/MET.h"
00025 #include "DataFormats/METReco/interface/METFwd.h"
00026 //
00027 #include "DataFormats/HLTReco/interface/TriggerObject.h"
00028 #include "DataFormats/Common/interface/TriggerResults.h"
00029 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
00030 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
00031 
00032 class METAnalyzerBase {
00033  public:
00034 
00036   METAnalyzerBase() {}
00037   
00039   virtual ~METAnalyzerBase() {}
00040   
00042   virtual void beginJob(DQMStore * dbe)= 0;
00043 
00045     void analyze(const edm::Event&, const edm::EventSetup&, 
00046                  const edm::TriggerResults&,
00047                  const reco::MET& MET){}
00048 
00049  private:
00050   // ----------member data ---------------------------
00051 };
00052 #endif