00001 #ifndef Calibration_SiStripRegFEDSelector_h 00002 #define Calibration_SiStripRegFEDSelector_h 00003 00004 // system include files 00005 #include <memory> 00006 00007 // user include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 00011 #include "FWCore/Framework/interface/Event.h" 00012 #include "FWCore/Framework/interface/MakerMacros.h" 00013 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 #include "FWCore/Framework/interface/ESHandle.h" 00016 00017 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h" 00018 #include "DataFormats/FEDRawData/interface/FEDRawData.h" 00019 #include "DataFormats/FEDRawData/interface/FEDNumbering.h" 00020 00021 #include "CalibFormats/SiStripObjects/interface/SiStripRegionCabling.h" 00022 00023 class SiStripRegFEDSelector : public edm::EDProducer { 00024 public: 00025 SiStripRegFEDSelector(const edm::ParameterSet&); 00026 ~SiStripRegFEDSelector(); 00027 00028 edm::ESHandle<SiStripRegionCabling> strip_cabling; 00029 00030 edm::InputTag seedLabel_; 00031 double delta_; 00032 00033 edm::InputTag rawInLabel_; 00034 00035 private: 00036 virtual void beginJob() ; 00037 virtual void produce(edm::Event&, const edm::EventSetup&); 00038 virtual void endJob() ; 00039 00040 }; 00041 00042 #endif