CMS 3D CMS Logo

FRDEventMessage.h

Go to the documentation of this file.
00001 #ifndef IOPool_Streamer_FRDEventMessage_h
00002 #define IOPool_Streamer_FRDEventMessage_h
00003 
00025 #include "IOPool/Streamer/interface/MsgTools.h"
00026 #include "IOPool/Streamer/interface/MsgHeader.h"
00027 
00028 struct FRDEventHeader_V2
00029 {
00030   uint32 version_;
00031   uint32 run_;
00032   uint32 lumi_;
00033   uint32 event_;
00034 };
00035 
00036 struct FRDEventHeader_V1
00037 {
00038   uint32 run_;
00039   uint32 event_;
00040 };
00041 
00042 class FRDEventMsgView
00043 {
00044  public:
00045 
00046   FRDEventMsgView(void* buf);
00047 
00048   uint8* startAddress() const { return buf_; }
00049   uint32 size() const { return event_len_; }
00050 
00051   uint32 version() const;
00052   uint32 run() const;
00053   uint32 lumi() const;
00054   uint32 event() const;
00055 
00056  private:
00057 
00058   uint8* buf_;
00059   uint32 event_len_;
00060 };
00061 
00062 #endif

Generated on Tue Jun 9 17:39:16 2009 for CMSSW by  doxygen 1.5.4