Main Page
Namespaces
Classes
Package Documentation
EventFilter
EcalTBRawToDigi
src
DCCTCCBlock.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------*/
2
/* DCC TCC BLOCK CLASS */
3
/* */
4
/* Author : N.Almeida (LIP) Date : 30/05/2005 */
5
/*--------------------------------------------------------------*/
6
#ifndef DCCTBTCCBLOCK_HH
7
#define DCCTBTCCBLOCK_HH
8
9
#include <iostream>
//STL
10
#include <string>
11
#include <vector>
12
#include <map>
13
#include <utility>
14
15
#include "
DCCBlockPrototype.h
"
//DATA DECODER
16
#include "
DCCDataParser.h
"
17
#include "
DCCDataMapper.h
"
18
#include "
DCCEventBlock.h
"
19
20
class
DCCTBEventBlock
;
21
class
DCCTBDataParser
;
22
23
24
class
DCCTBTCCBlock
:
public
DCCTBBlockPrototype
{
25
26
public
:
30
DCCTBTCCBlock
(
DCCTBEventBlock
* dccBlock,
31
DCCTBDataParser
*
parser
,
32
const
uint32_t *
buffer
,
33
uint32_t numbBytes,
34
uint32_t wordsToEnd,
35
uint32_t wordEventOffset,
36
uint32_t expectedId );
37
38
39
40
std::vector< std::pair<int, bool> >
triggerSamples
();
41
42
std::vector<int>
triggerFlags
();
43
44
protected
:
48
void
dataCheck
();
49
53
using
DCCTBBlockPrototype::increment
;
54
void
increment
(uint32_t numb);
55
63
enum
tccFields
{
64
BXMASK
= 0xFFF,
65
L1MASK
= 0xFFF,
66
BPOSITION_BLOCKID
= 29,
67
BLOCKID
= 3,
68
BPOSITION_FGVB
= 8,
69
ETMASK
= 0xFF
70
};
71
72
DCCTBEventBlock
*
dccBlock_
;
73
uint32_t
expectedId_
;
74
};
75
76
#endif
DCCTBTCCBlock::ETMASK
Definition:
DCCTCCBlock.h:69
DCCTBBlockPrototype::increment
virtual void increment(uint32_t numb, std::string msg="")
Definition:
DCCBlockPrototype.cc:114
DCCTBTCCBlock::L1MASK
Definition:
DCCTCCBlock.h:65
DCCTBTCCBlock
Definition:
DCCTCCBlock.h:24
DCCTBTCCBlock::expectedId_
uint32_t expectedId_
Definition:
DCCTCCBlock.h:73
DCCTBTCCBlock::dataCheck
void dataCheck()
Definition:
DCCTCCBlock.cc:43
edmScanValgrind.buffer
buffer
Definition:
edmScanValgrind.py:170
DCCTBEventBlock
Definition:
DCCEventBlock.h:17
DCCTBTCCBlock::triggerFlags
std::vector< int > triggerFlags()
Definition:
DCCTCCBlock.cc:124
DCCBlockPrototype.h
createfilelist.parser
parser
Definition:
createfilelist.py:7
DCCTBTCCBlock::triggerSamples
std::vector< std::pair< int, bool > > triggerSamples()
Definition:
DCCTCCBlock.cc:107
DCCTBTCCBlock::BPOSITION_BLOCKID
Definition:
DCCTCCBlock.h:66
DCCTBTCCBlock::BPOSITION_FGVB
Definition:
DCCTCCBlock.h:68
DCCTBTCCBlock::increment
void increment(uint32_t numb)
Definition:
DCCTCCBlock.cc:86
DCCTBBlockPrototype
Definition:
DCCBlockPrototype.h:23
DCCEventBlock.h
DCCTBTCCBlock::dccBlock_
DCCTBEventBlock * dccBlock_
Definition:
DCCTCCBlock.h:72
DCCDataMapper.h
DCCDataParser.h
DCCTBTCCBlock::BLOCKID
Definition:
DCCTCCBlock.h:67
DCCTBTCCBlock::DCCTBTCCBlock
DCCTBTCCBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset, uint32_t expectedId)
Definition:
DCCTCCBlock.cc:13
DCCTBTCCBlock::tccFields
tccFields
Definition:
DCCTCCBlock.h:63
DCCTBTCCBlock::BXMASK
Definition:
DCCTCCBlock.h:64
DCCTBDataParser
Definition:
DCCDataParser.h:27
Generated for CMSSW Reference Manual by
1.8.11