src
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
public
:
12
DCCTBXtalBlock
(
DCCTBDataParser
*
parser
,
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
:
26
using
DCCTBBlockPrototype::increment
;
27
void
increment
(uint32_t numb);
28
29
enum
xtalBlockFields
{
BPOSITION_BLOCKID
= 30,
BLOCKID
= 3 };
30
31
uint32_t
expectedXtalID_
;
32
uint32_t
expectedStripID_
;
33
};
34
#endif
DCCTBXtalBlock::xtalBlockFields
xtalBlockFields
Definition:
DCCXtalBlock.h:29
DCCTBBlockPrototype::increment
virtual void increment(uint32_t numb, std::string msg="")
Definition:
DCCBlockPrototype.cc:113
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:5
DCCTBXtalBlock::xtalDataSamples
std::vector< int > xtalDataSamples()
Definition:
DCCXtalBlock.cc:101
DCCTBXtalBlock::expectedStripID_
uint32_t expectedStripID_
Definition:
DCCXtalBlock.h:32
DCCTBXtalBlock::BLOCKID
Definition:
DCCXtalBlock.h:29
DCCBlockPrototype.h
DCCTBXtalBlock::xtalID
int xtalID()
Definition:
DCCXtalBlock.cc:75
DCCTBXtalBlock::stripID
int stripID()
Definition:
DCCXtalBlock.cc:88
DCCTBXtalBlock::dataCheck
void dataCheck()
Definition:
DCCXtalBlock.cc:32
DCCTBBlockPrototype
Definition:
DCCBlockPrototype.h:21
DCCTBXtalBlock::BPOSITION_BLOCKID
Definition:
DCCXtalBlock.h:29
DCCTBXtalBlock
Definition:
DCCXtalBlock.h:10
DCCTBXtalBlock::expectedXtalID_
uint32_t expectedXtalID_
Definition:
DCCXtalBlock.h:31
DCCTBXtalBlock::increment
void increment(uint32_t numb)
Definition:
DCCXtalBlock.cc:60
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
DCCTBDataParser
Definition:
DCCDataParser.h:25
Generated for CMSSW Reference Manual by
1.8.14