CMS 3D CMS Logo

DCCSRPBlock.h
Go to the documentation of this file.
1 // Date : 30/05/2005
2 // Author : N.Almeida (LIP)
3 
4 #ifndef DCCTBSRPBLOCK_HH
5 #define DCCTBSRPBLOCK_HH
6 
7 #include <iostream>
8 #include <string>
9 #include <vector>
10 #include <map>
11 #include <utility>
12 
13 #include "DCCBlockPrototype.h"
14 
15 class DCCTBEventBlock;
16 class DCCTBXtalBlock;
17 class DCCTBDataParser;
18 
20 public:
23  const uint32_t* buffer,
24  uint32_t numbBytes,
25  uint32_t wordsToEnd,
26  uint32_t wordEventOffset);
27 
28 protected:
29  void dataCheck();
31  void increment(uint32_t numb);
32 
33  enum srpFields { BXMASK = 0xFFF, L1MASK = 0xFFF, BPOSITION_BLOCKID = 29, BLOCKID = 4 };
34 
36 };
37 
38 #endif
virtual void increment(uint32_t numb, std::string msg="")
void increment(uint32_t numb)
Definition: DCCSRPBlock.cc:67
DCCTBEventBlock * dccBlock_
Definition: DCCSRPBlock.h:35
void dataCheck()
Definition: DCCSRPBlock.cc:36
DCCTBSRPBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset)
Definition: DCCSRPBlock.cc:6