Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:37

0001 // Date   : 30/05/2005
0002 // Author : N.Almeida (LIP)
0003 
0004 #ifndef DCCTBSRPBLOCK_HH
0005 #define DCCTBSRPBLOCK_HH
0006 
0007 #include <iostream>
0008 #include <string>
0009 #include <vector>
0010 #include <map>
0011 #include <utility>
0012 
0013 #include "DCCBlockPrototype.h"
0014 
0015 class DCCTBEventBlock;
0016 class DCCTBXtalBlock;
0017 class DCCTBDataParser;
0018 
0019 class DCCTBSRPBlock : public DCCTBBlockPrototype {
0020 public:
0021   DCCTBSRPBlock(DCCTBEventBlock* dccBlock,
0022                 DCCTBDataParser* parser,
0023                 const uint32_t* buffer,
0024                 uint32_t numbBytes,
0025                 uint32_t wordsToEnd,
0026                 uint32_t wordEventOffset);
0027 
0028 protected:
0029   void dataCheck();
0030   using DCCTBBlockPrototype::increment;
0031   void increment(uint32_t numb);
0032 
0033   enum srpFields { BXMASK = 0xFFF, L1MASK = 0xFFF, BPOSITION_BLOCKID = 29, BLOCKID = 4 };
0034 
0035   DCCTBEventBlock* dccBlock_;
0036 };
0037 
0038 #endif