00001 #ifndef TkAlCaRecoProducers_AlcaBeamSpotFromDB_h 00002 #define TkAlCaRecoProducers_AlcaBeamSpotFromDB_h 00003 00017 // C++ standard 00018 #include <string> 00019 // CMS 00020 #include "FWCore/Framework/interface/Frameworkfwd.h" 00021 #include "FWCore/Framework/interface/Event.h" 00022 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00023 #include "FWCore/Framework/interface/EDProducer.h" 00024 00025 class AlcaBeamSpotFromDB : public edm::EDProducer { 00026 public: 00027 explicit AlcaBeamSpotFromDB(const edm::ParameterSet&); 00028 ~AlcaBeamSpotFromDB(); 00029 00030 private: 00031 virtual void beginJob() ; 00032 virtual void beginLuminosityBlock(edm::LuminosityBlock& lumiSeg, const edm::EventSetup& iSetup); 00033 virtual void endLuminosityBlock (edm::LuminosityBlock& lumiSeg, const edm::EventSetup& iSetup); 00034 virtual void produce (edm::Event& iEvent, const edm::EventSetup& iSetup); 00035 virtual void endJob() ; 00036 00037 00038 }; 00039 00040 #endif