CMS 3D CMS Logo

DCCTrailerBlock.h
Go to the documentation of this file.
1 // Date : 30/05/2005
2 // Author : N.Almeida (LIP)
3 
4 #ifndef DCCTBTRAILERBLOCK_HH
5 #define DCCTBTRAILERBLOCK_HH
6 
7 #include "DCCBlockPrototype.h"
8 class DCCDataParser;
9 
11 public:
13  const uint32_t* buffer,
14  uint32_t numbBytes,
15  uint32_t wToEnd,
16  uint32_t wordEventOffset,
17  uint32_t expectedLength,
18  uint32_t expectedCRC);
19 
20  void dataCheck();
21 
22 protected:
23  enum traillerFields { EOE = 0xA };
24  uint32_t expectedLength_;
25  uint32_t expectedCRC_;
26 };
27 
28 #endif
DCCTBTrailerBlock(DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wToEnd, uint32_t wordEventOffset, uint32_t expectedLength, uint32_t expectedCRC)
uint32_t expectedLength_