CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DCCXtalBlock.h
Go to the documentation of this file.
1 // Date : 30/05/2005
2 // Author : N.Almeida (LIP)
3 
4 #ifndef DCCTBXTALBLOCK_HH
5 #define DCCTBXTALBLOCK_HH
6 
7 #include "DCCBlockPrototype.h"
8 class DCCTBDataParser;
9 
11 public:
13  const uint32_t* buffer,
14  uint32_t numbBytes,
15  uint32_t wordsToEnd,
16  uint32_t wordEventOffset,
17  uint32_t expectedXtalID,
18  uint32_t expectedStripID);
19 
20  void dataCheck();
21  int xtalID();
22  int stripID();
23  std::vector<int> xtalDataSamples();
24 
25 protected:
27  void increment(uint32_t numb);
28 
30 
31  uint32_t expectedXtalID_;
32  uint32_t expectedStripID_;
33 };
34 #endif
virtual void increment(uint32_t numb, std::string msg="")
DCCTBXtalBlock(DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset, uint32_t expectedXtalID, uint32_t expectedStripID)
Definition: DCCXtalBlock.cc:5
std::vector< int > xtalDataSamples()
uint32_t expectedStripID_
Definition: DCCXtalBlock.h:32
uint32_t expectedXtalID_
Definition: DCCXtalBlock.h:31
void increment(uint32_t numb)
Definition: DCCXtalBlock.cc:60