Main Page
Namespaces
Classes
Package Documentation
EventFilter
EcalTBRawToDigi
src
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
10
class
DCCTBXtalBlock
:
public
DCCTBBlockPrototype
{
11
12
public
:
13
14
DCCTBXtalBlock
(
15
DCCTBDataParser
*
parser
,
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
:
30
using
DCCTBBlockPrototype::increment
;
31
void
increment
(uint32_t numb);
32
33
enum
xtalBlockFields
{
BPOSITION_BLOCKID
= 30,
BLOCKID
= 3};
34
35
uint32_t
expectedXtalID_
;
36
uint32_t
expectedStripID_
;
37
38
39
};
40
#endif
DCCTBXtalBlock::xtalBlockFields
xtalBlockFields
Definition:
DCCXtalBlock.h:33
DCCTBBlockPrototype::increment
virtual void increment(uint32_t numb, std::string msg="")
Definition:
DCCBlockPrototype.cc:114
edmScanValgrind.buffer
buffer
Definition:
edmScanValgrind.py:171
DCCTBXtalBlock::DCCTBXtalBlock
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
DCCTBXtalBlock::xtalDataSamples
std::vector< int > xtalDataSamples()
Definition:
DCCXtalBlock.cc:109
DCCTBXtalBlock::expectedStripID_
uint32_t expectedStripID_
Definition:
DCCXtalBlock.h:36
DCCTBXtalBlock::BLOCKID
Definition:
DCCXtalBlock.h:33
DCCBlockPrototype.h
DCCTBXtalBlock::xtalID
int xtalID()
Definition:
DCCXtalBlock.cc:76
DCCTBXtalBlock::stripID
int stripID()
Definition:
DCCXtalBlock.cc:94
DCCTBXtalBlock::dataCheck
void dataCheck()
Definition:
DCCXtalBlock.cc:36
DCCTBBlockPrototype
Definition:
DCCBlockPrototype.h:23
DCCTBXtalBlock::BPOSITION_BLOCKID
Definition:
DCCXtalBlock.h:33
DCCTBXtalBlock
Definition:
DCCXtalBlock.h:10
DCCTBXtalBlock::expectedXtalID_
uint32_t expectedXtalID_
Definition:
DCCXtalBlock.h:35
DCCTBXtalBlock::increment
void increment(uint32_t numb)
Definition:
DCCXtalBlock.cc:62
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
DCCTBDataParser
Definition:
DCCDataParser.h:27
Generated for CMSSW Reference Manual by
1.8.11