CMS 3D CMS Logo

DTDigiToRaw.h

Go to the documentation of this file.
00001 #ifndef EventFilter_DTDigiToRaw_h
00002 #define EventFilter_DTDigiToRaw_h
00003 
00004 
00005 #include <FWCore/Framework/interface/EDProducer.h>
00006 #include <DataFormats/DTDigi/interface/DTDigiCollection.h>
00007 
00008 class FEDRawDataCollection;
00009 
00010 
00011 #include <CondFormats/DTObjects/interface/DTReadOutMapping.h>
00012 #include <FWCore/Framework/interface/ESHandle.h>
00013 #include <DataFormats/FEDRawData/interface/FEDRawData.h>
00014 #include <FWCore/ParameterSet/interface/ParameterSet.h>
00015 #include <map>
00016 
00017 
00018 class DTDigiToRaw {
00019 public:
00021   DTDigiToRaw(const edm::ParameterSet& ps);
00022 
00024   virtual ~DTDigiToRaw();
00025 
00027   FEDRawData* createFedBuffers(const DTDigiCollection& digis,
00028                         edm::ESHandle<DTReadOutMapping>& mapping);
00029                         
00030   void SetdduID(int dduid);
00031 
00032 private:
00033    
00034    typedef unsigned int Word32;
00035    typedef long long Word64;
00036    const edm::ParameterSet pset;
00037    
00038    int dduID_;
00039    bool debug;
00040    
00041   
00042 };
00043 #endif
00044 

Generated on Tue Jun 9 17:34:29 2009 for CMSSW by  doxygen 1.5.4