CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DCCSRPBlock.h
Go to the documentation of this file.
1 // Date : 30/05/2005
2 // Author : N.Almeida (LIP)
3 
4 
5 #ifndef DCCTBSRPBLOCK_HH
6 #define DCCTBSRPBLOCK_HH
7 
8 #include <iostream>
9 #include <string>
10 #include <vector>
11 #include <map>
12 #include <utility>
13 
14 
15 #include "DCCBlockPrototype.h"
16 
17 class DCCTBEventBlock;
18 class DCCTBXtalBlock;
19 class DCCTBDataParser;
20 
22 
23  public :
24 
26  DCCTBEventBlock * dccBlock,
28  uint32_t * buffer,
29  uint32_t numbBytes,
30  uint32_t wordsToEnd,
31  uint32_t wordEventOffset
32  );
33 
34 
35 
36  protected :
37 
38  void dataCheck();
39 
40  void increment(uint32_t numb);
41 
42  enum srpFields{
43  BXMASK = 0xFFF,
44  L1MASK = 0xFFF,
46  BLOCKID = 4
47  };
48 
50 
51 
52 
53 };
54 
55 #endif
void increment(uint32_t numb)
Definition: DCCSRPBlock.cc:63
DCCTBSRPBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset)
Definition: DCCSRPBlock.cc:6
DCCTBEventBlock * dccBlock_
Definition: DCCSRPBlock.h:49
void dataCheck()
Definition: DCCSRPBlock.cc:35