00001 #ifndef CaloMETAnalyzerBase_H 00002 #define CaloMETAnalyzerBase_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/CaloMETCollection.h" 00024 #include "DataFormats/METReco/interface/CaloMET.h" 00025 // 00026 #include "DataFormats/HLTReco/interface/TriggerObject.h" 00027 #include "FWCore/Framework/interface/TriggerNames.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 CaloMETAnalyzerBase { 00033 public: 00034 00036 CaloMETAnalyzerBase() {} 00037 00039 virtual ~CaloMETAnalyzerBase() {} 00040 00042 virtual void beginJob(edm::EventSetup const& iSetup, DQMStore* dbe)= 0; 00043 00045 void analyze(const edm::Event&, const edm::EventSetup&, 00046 const edm::TriggerResults&, 00047 reco::CaloMET& caloMET, reco::CaloMET& caloMETNoHF){} 00048 00049 private: 00050 // ----------member data --------------------------- 00051 }; 00052 #endif