CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/EventFilter/EcalTBRawToDigi/src/DCCTrailerBlock.h

Go to the documentation of this file.
00001 // Date   : 30/05/2005
00002 // Author : N.Almeida (LIP)
00003 
00004 #ifndef DCCTBTRAILERBLOCK_HH
00005 #define DCCTBTRAILERBLOCK_HH
00006 
00007 
00008 #include "DCCBlockPrototype.h"
00009 class DCCDataParser;
00010 
00011 class DCCTBTrailerBlock : public DCCTBBlockPrototype {
00012 
00013         public :
00014                 
00015                 DCCTBTrailerBlock(
00016                         DCCTBDataParser * parser, 
00017                         uint32_t * buffer, 
00018                         uint32_t numbBytes,
00019                         uint32_t wToEnd, 
00020                         uint32_t wordEventOffset,
00021                         uint32_t expectedLength,
00022                         uint32_t expectedCRC
00023                 );
00024                 
00025                 void dataCheck(); 
00026                 
00027                 
00028         protected :
00029                 
00030                 enum traillerFields{ EOE = 0xA};
00031                 uint32_t expectedLength_;
00032                 uint32_t expectedCRC_;
00033 
00034 
00035 };
00036 
00037 #endif
00038