Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
class
DCCTBTCCBlock
:
public
DCCTBBlockPrototype
{
24
public
:
28
DCCTBTCCBlock
(
DCCTBEventBlock
* dccBlock,
29
DCCTBDataParser
*
parser
,
30
const
uint32_t*
buffer
,
31
uint32_t numbBytes,
32
uint32_t wordsToEnd,
33
uint32_t wordEventOffset,
34
uint32_t expectedId);
35
36
std::vector<std::pair<int, bool> >
triggerSamples
();
37
38
std::vector<int>
triggerFlags
();
39
40
protected
:
44
void
dataCheck
();
45
49
using
DCCTBBlockPrototype::increment
;
50
void
increment
(uint32_t numb);
51
59
enum
tccFields
{
60
BXMASK
= 0xFFF,
61
L1MASK
= 0xFFF,
62
BPOSITION_BLOCKID
= 29,
63
BLOCKID
= 3,
64
BPOSITION_FGVB
= 8,
65
ETMASK
= 0xFF
66
};
67
68
DCCTBEventBlock
*
dccBlock_
;
69
uint32_t
expectedId_
;
70
};
71
72
#endif
DCCTBTCCBlock::ETMASK
Definition:
DCCTCCBlock.h:65
DCCTBBlockPrototype::increment
virtual void increment(uint32_t numb, std::string msg="")
Definition:
DCCBlockPrototype.cc:113
DCCTBTCCBlock::L1MASK
Definition:
DCCTCCBlock.h:61
DCCTBTCCBlock
Definition:
DCCTCCBlock.h:23
DCCTBTCCBlock::expectedId_
uint32_t expectedId_
Definition:
DCCTCCBlock.h:69
DCCTBTCCBlock::dataCheck
void dataCheck()
Definition:
DCCTCCBlock.cc:47
DCCTBEventBlock
Definition:
DCCEventBlock.h:16
DCCTBTCCBlock::triggerFlags
std::vector< int > triggerFlags()
Definition:
DCCTCCBlock.cc:117
DCCBlockPrototype.h
DCCTBTCCBlock::triggerSamples
std::vector< std::pair< int, bool > > triggerSamples()
Definition:
DCCTCCBlock.cc:104
DCCTBTCCBlock::BPOSITION_BLOCKID
Definition:
DCCTCCBlock.h:62
writedatasetfile.parser
tuple parser
Definition:
writedatasetfile.py:7
DCCTBTCCBlock::BPOSITION_FGVB
Definition:
DCCTCCBlock.h:64
DCCTBTCCBlock::increment
void increment(uint32_t numb)
Definition:
DCCTCCBlock.cc:87
DCCTBBlockPrototype
Definition:
DCCBlockPrototype.h:21
DCCEventBlock.h
DCCTBTCCBlock::dccBlock_
DCCTBEventBlock * dccBlock_
Definition:
DCCTCCBlock.h:68
DCCDataMapper.h
edmScanValgrind.buffer
list buffer
Definition:
edmScanValgrind.py:171
DCCDataParser.h
DCCTBTCCBlock::BLOCKID
Definition:
DCCTCCBlock.h:63
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:59
DCCTBTCCBlock::BXMASK
Definition:
DCCTCCBlock.h:60
DCCTBDataParser
Definition:
DCCDataParser.h:25
Generated for CMSSW Reference Manual by
1.8.5