Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:14:56

0001 // Date   : 30/05/2005
0002 // Author : N.Almeida (LIP)
0003 
0004 #ifndef DCCTBTRAILERBLOCK_HH
0005 #define DCCTBTRAILERBLOCK_HH
0006 
0007 #include "DCCBlockPrototype.h"
0008 class DCCDataParser;
0009 
0010 class DCCTBTrailerBlock : public DCCTBBlockPrototype {
0011 public:
0012   DCCTBTrailerBlock(DCCTBDataParser* parser,
0013                     const uint32_t* buffer,
0014                     uint32_t numbBytes,
0015                     uint32_t wToEnd,
0016                     uint32_t wordEventOffset,
0017                     uint32_t expectedLength,
0018                     uint32_t expectedCRC);
0019 
0020   void dataCheck();
0021 
0022 protected:
0023   enum traillerFields { EOE = 0xA };
0024   uint32_t expectedLength_;
0025   uint32_t expectedCRC_;
0026 };
0027 
0028 #endif