00001 #ifndef AlcaBeamSpotHarvester_H 00002 #define AlcaBeamSpotHarvester_H 00003 00011 #include "FWCore/Framework/interface/EDAnalyzer.h" 00012 #include "FWCore/Framework/interface/Frameworkfwd.h" 00013 #include "Calibration/TkAlCaRecoProducers/interface/AlcaBeamSpotManager.h" 00014 00015 // #include "FWCore/ParameterSet/interface/ParameterSet.h" 00016 00017 class AlcaBeamSpotHarvester : public edm::EDAnalyzer { 00018 public: 00020 AlcaBeamSpotHarvester(const edm::ParameterSet&); 00021 00023 virtual ~AlcaBeamSpotHarvester(); 00024 00025 // Operations 00026 virtual void beginJob (void); 00027 virtual void endJob (void); 00028 virtual void analyze (const edm::Event& , const edm::EventSetup&); 00029 virtual void beginRun (const edm::Run& , const edm::EventSetup&); 00030 virtual void endRun (const edm::Run& , const edm::EventSetup&); 00031 virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&); 00032 virtual void endLuminosityBlock (const edm::LuminosityBlock&, const edm::EventSetup&); 00033 00034 protected: 00035 00036 private: 00037 // Parameters 00038 std::string beamSpotOutputBase_; 00039 std::string outputrecordName_; 00040 double sigmaZValue_; 00041 00042 // Member Variables 00043 AlcaBeamSpotManager theAlcaBeamSpotManager_; 00044 00045 // edm::ParameterSet metadataForOfflineDropBox_; 00046 }; 00047 #endif 00048