CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/IORawData/DaqSource/interface/DaqBaseReader.h

Go to the documentation of this file.
00001 #ifndef DaqSource_DaqBaseReader_h
00002 #define DaqSource_DaqBaseReader_h
00003 
00016 #include "DataFormats/Provenance/interface/RunID.h"
00017 
00018 
00019 class FEDRawDataCollection;
00020 namespace edm {class EventID; class Timestamp; class ParameterSet;}
00021 
00022 
00023 class DaqBaseReader
00024 {
00025 public:
00026   //
00027   // construction/destruction
00028   //
00029   DaqBaseReader() {}
00030   virtual ~DaqBaseReader() {}
00031   
00032   //
00033   // abstract interface
00034   //
00035   
00037   virtual void setRunNumber(edm::RunNumber_t runNumber) {}
00038 
00042   virtual int fillRawData(edm::EventID& eID,
00043                            edm::Timestamp& tstamp, 
00044                            FEDRawDataCollection*& data) = 0;  
00045   
00046 private:
00047   //
00048   // member data
00049   //
00050 
00051   
00052 };
00053 
00054 #endif
00055