00001 #ifndef JetAnalyzerBase_H 00002 #define JetAnalyzerBase_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/JetReco/interface/CaloJetCollection.h" 00024 #include "DataFormats/JetReco/interface/CaloJet.h" 00025 00026 class JetAnalyzerBase { 00027 public: 00028 00030 // JetAnalyzerBase(JetServiceProxy *theServ):theService(theServ){} 00031 JetAnalyzerBase() {} 00032 00034 virtual ~JetAnalyzerBase() {} 00035 00037 virtual void beginJob(edm::EventSetup const& iSetup, DQMStore* dbe)= 0; 00038 00040 void analyze(const edm::Event&, const edm::EventSetup&, reco::CaloJet& caloJet){} 00041 00042 // JetServiceProxy* service() {return theService;} 00043 00044 private: 00045 // ----------member data --------------------------- 00046 // JetServiceProxy *theService; 00047 }; 00048 #endif