CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/EventFilter/SiStripRawToDigi/plugins/SiStripDigiToRawModule.h

Go to the documentation of this file.
00001 // Last commit: $Id: SiStripDigiToRawModule.h,v 1.7 2010/01/13 22:42:01 wmtan Exp $
00002 
00003 #ifndef EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
00004 #define EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
00005 
00006 #include "EventFilter/SiStripRawToDigi/interface/SiStripFEDBufferComponents.h"
00007 #include "FWCore/Framework/interface/EDProducer.h"
00008 #include "boost/cstdint.hpp"
00009 #include <string>
00010 
00011 namespace sistrip {
00012 
00013   class DigiToRaw;
00014 
00022   class DigiToRawModule : public edm::EDProducer {
00023   
00024   public:
00025   
00026     DigiToRawModule( const edm::ParameterSet& );
00027     ~DigiToRawModule();
00028   
00029     virtual void beginJob() {}
00030     virtual void endJob() {}
00031   
00032     virtual void produce( edm::Event&, const edm::EventSetup& );
00033   
00034   private:
00035 
00036     std::string inputModuleLabel_;
00037     std::string inputDigiLabel_;
00038     FEDReadoutMode mode_;
00039     bool rawdigi_;
00040     DigiToRaw* digiToRaw_;
00041     uint32_t eventCounter_;
00042 
00043   };
00044 
00045 }
00046 
00047 #endif // EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
00048