Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
24
class
DCCTBTCCBlock
:
public
DCCTBBlockPrototype
{
25
26
public
:
30
DCCTBTCCBlock
(
DCCTBEventBlock
* dccBlock,
31
DCCTBDataParser
*
parser
,
32
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
void
increment
(uint32_t numb);
54
62
enum
tccFields
{
63
BXMASK
= 0xFFF,
64
L1MASK
= 0xFFF,
65
BPOSITION_BLOCKID
= 29,
66
BLOCKID
= 3,
67
BPOSITION_FGVB
= 8,
68
ETMASK
= 0xFF
69
};
70
71
DCCTBEventBlock
*
dccBlock_
;
72
uint32_t
expectedId_
;
73
};
74
75
#endif
geometryXMLtoCSV.parser
tuple parser
Definition:
geometryXMLtoCSV.py:78
DCCTBTCCBlock::ETMASK
Definition:
DCCTCCBlock.h:68
DCCTBTCCBlock::L1MASK
Definition:
DCCTCCBlock.h:64
DCCTBTCCBlock
Definition:
DCCTCCBlock.h:24
DCCTBTCCBlock::expectedId_
uint32_t expectedId_
Definition:
DCCTCCBlock.h:72
DCCTBTCCBlock::dataCheck
void dataCheck()
Definition:
DCCTCCBlock.cc:43
DCCTBEventBlock
Definition:
DCCEventBlock.h:17
DCCTBTCCBlock::triggerFlags
std::vector< int > triggerFlags()
Definition:
DCCTCCBlock.cc:124
DCCBlockPrototype.h
DCCTBTCCBlock::triggerSamples
std::vector< std::pair< int, bool > > triggerSamples()
Definition:
DCCTCCBlock.cc:107
DCCTBTCCBlock::BPOSITION_BLOCKID
Definition:
DCCTCCBlock.h:65
DCCTBTCCBlock::DCCTBTCCBlock
DCCTBTCCBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset, uint32_t expectedId)
Definition:
DCCTCCBlock.cc:13
DCCTBTCCBlock::BPOSITION_FGVB
Definition:
DCCTCCBlock.h:67
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:71
DCCDataMapper.h
DCCDataParser.h
DCCTBTCCBlock::BLOCKID
Definition:
DCCTCCBlock.h:66
DCCTBTCCBlock::tccFields
tccFields
Definition:
DCCTCCBlock.h:62
DCCTBTCCBlock::BXMASK
Definition:
DCCTCCBlock.h:63
DCCTBDataParser
Definition:
DCCDataParser.h:27
Generated for CMSSW Reference Manual by
1.8.5