00001 #ifndef FUSHMREADER_H 00002 #define FUSHMREADER_H 1 00003 00004 00005 #include "EventFilter/ShmBuffer/interface/FUShmBuffer.h" 00006 #include "IORawData/DaqSource/interface/DaqBaseReader.h" 00007 #include "DataFormats/Provenance/interface/EventID.h" 00008 00009 00010 class FUShmReader : public DaqBaseReader 00011 { 00012 public: 00013 // 00014 //construction/destruction 00015 // 00016 FUShmReader(); 00017 virtual ~FUShmReader(); 00018 00019 00020 // 00021 // memeber functions 00022 // 00023 00024 // DaqBaseReader interface 00025 virtual 00026 void setRunNumber(edm::RunNumber_t runNumber) { runNumber_=runNumber; } 00027 00028 int fillRawData(edm::EventID& eID, 00029 edm::Timestamp& tstamp, 00030 FEDRawDataCollection*& data); 00031 00032 00033 private: 00034 // 00035 // member data 00036 // 00037 FEDRawDataCollection* event_; 00038 evf::FUShmBuffer* shmBuffer_; 00039 00040 unsigned int runNumber_; 00041 unsigned int evtNumber_; 00042 unsigned int lastCellIndex_; 00043 00044 }; 00045 00046 00047 #endif