00001 #ifndef SiPixelDigiToRaw_H 00002 #define SiPixelDigiToRaw_H 00003 00007 #include "FWCore/Framework/interface/EDProducer.h" 00008 #include "FWCore/Framework/interface/EventSetup.h" 00009 #include "FWCore/Framework/interface/Event.h" 00010 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00011 #include "FWCore/ParameterSet/interface/InputTag.h" 00012 class SiPixelFedCablingMap; 00013 00014 class SiPixelDigiToRaw : public edm::EDProducer { 00015 public: 00016 00018 explicit SiPixelDigiToRaw( const edm::ParameterSet& ); 00019 00021 virtual ~SiPixelDigiToRaw(); 00022 00024 virtual void beginJob( const edm::EventSetup& ); 00025 00027 virtual void endJob() {} 00028 00030 virtual void produce( edm::Event&, const edm::EventSetup& ); 00031 00032 private: 00033 00034 unsigned long eventCounter_; 00035 SiPixelFedCablingMap * fedCablingMap_; 00036 // edm::InputTag src_; 00037 edm::ParameterSet config_; 00038 }; 00039 #endif