CMS 3D CMS Logo

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 
12  public :
13 
16  const uint32_t * buffer,
17  uint32_t numbBytes,
18  uint32_t wordsToEnd,
19  uint32_t wordEventOffset,
20  uint32_t expectedXtalID ,
21  uint32_t expectedStripID
22  );
23 
24  void dataCheck();
25  int xtalID();
26  int stripID();
27  std::vector<int> xtalDataSamples();
28 
29  protected :
31  void increment(uint32_t numb);
32 
34 
35  uint32_t expectedXtalID_;
36  uint32_t expectedStripID_;
37 
38 
39 };
40 #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:6
std::vector< int > xtalDataSamples()
uint32_t expectedStripID_
Definition: DCCXtalBlock.h:36
uint32_t expectedXtalID_
Definition: DCCXtalBlock.h:35
void increment(uint32_t numb)
Definition: DCCXtalBlock.cc:62