Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
EventFilter
EcalTBRawToDigi
src
DCCEventBlock.h
Go to the documentation of this file.
1
// Date : 30/05/2005
2
// Author : N.Almeida (LIP)
3
// falta fazer o update dos block sizes
4
5
#ifndef DCCTBEVENTBLOCK_HH
6
#define DCCTBEVENTBLOCK_HH
7
8
#include "
DCCBlockPrototype.h
"
9
10
class
DCCTBTowerBlock
;
11
class
DCCTBDataParser
;
12
class
DCCTBTrailerBlock
;
13
class
DCCTBTCCBlock
;
14
class
DCCTBSRPBlock
;
15
16
class
DCCTBEventBlock
:
public
DCCTBBlockPrototype
{
17
public
:
18
DCCTBEventBlock
(
DCCTBDataParser
*
parser
,
19
const
uint32_t*
buffer
,
20
uint32_t numbBytes,
21
uint32_t wordsToEnd,
22
uint32_t wordBufferOffset = 0,
23
uint32_t wordEventOffset = 0);
24
25
~DCCTBEventBlock
()
override
;
26
27
void
dataCheck
();
28
29
std::vector<DCCTBTowerBlock*>&
towerBlocks
();
30
std::vector<DCCTBTCCBlock*>&
tccBlocks
();
31
DCCTBSRPBlock
*
srpBlock
();
32
DCCTBTrailerBlock
*
trailerBlock
();
33
std::vector<DCCTBTowerBlock*>
towerBlocksById
(uint32_t
towerId
);
34
using
DCCTBBlockPrototype::compare
;
35
std::pair<bool, std::string>
compare
(
DCCTBEventBlock
*);
36
37
bool
eventHasErrors
();
38
std::string
eventErrorString
();
39
void
displayEvent
(std::ostream& os =
std::cout
);
40
41
protected
:
42
enum
dccFields
{
43
44
PHYSICTRIGGER
= 1,
45
CALIBRATIONTRIGGER
= 2,
46
TESTTRIGGER
= 3,
47
TECHNICALTRIGGER
= 4,
48
49
CH_ENABLED
= 0,
50
CH_DISABLED
= 1,
51
CH_TIMEOUT
= 2,
52
CH_SUPPRESS
= 7,
53
54
SR_NREAD
= 0,
55
56
BOE
= 0x5,
57
58
DCCERROR_EMPTYEVENT
= 0x1,
59
60
TOWERHEADER_SIZE
= 8,
61
TRAILER_SIZE
= 8
62
63
};
64
65
std::vector<DCCTBTowerBlock*>
towerBlocks_
;
66
std::vector<DCCTBTCCBlock*>
tccBlocks_
;
67
DCCTBTrailerBlock
*
dccTrailerBlock_
;
68
DCCTBSRPBlock
*
srpBlock_
;
69
uint32_t
wordBufferOffset_
;
70
bool
emptyEvent
;
71
};
72
73
inline
std::vector<DCCTBTowerBlock*>&
DCCTBEventBlock::towerBlocks
() {
return
towerBlocks_
; }
74
inline
std::vector<DCCTBTCCBlock*>&
DCCTBEventBlock::tccBlocks
() {
return
tccBlocks_
; }
75
inline
DCCTBSRPBlock
*
DCCTBEventBlock::srpBlock
() {
return
srpBlock_
; }
76
inline
DCCTBTrailerBlock
*
DCCTBEventBlock::trailerBlock
() {
return
dccTrailerBlock_
; }
77
78
#endif
DCCTBEventBlock::compare
std::pair< bool, std::string > compare(DCCTBEventBlock *)
Definition:
DCCEventBlock.cc:307
DCCTBTCCBlock
Definition:
DCCTCCBlock.h:23
DCCTBEventBlock::TESTTRIGGER
Definition:
DCCEventBlock.h:46
DCCTBEventBlock::CH_ENABLED
Definition:
DCCEventBlock.h:49
DCCTBEventBlock::eventHasErrors
bool eventHasErrors()
Definition:
DCCEventBlock.cc:421
DCCTBEventBlock
Definition:
DCCEventBlock.h:16
DCCTBEventBlock::towerBlocksById
std::vector< DCCTBTowerBlock * > towerBlocksById(uint32_t towerId)
Definition:
DCCEventBlock.cc:521
DCCTBEventBlock::dataCheck
void dataCheck()
Definition:
DCCEventBlock.cc:212
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
DCCTBEventBlock::CH_DISABLED
Definition:
DCCEventBlock.h:50
DCCTBEventBlock::trailerBlock
DCCTBTrailerBlock * trailerBlock()
Definition:
DCCEventBlock.h:76
edmScanValgrind.buffer
buffer
Definition:
edmScanValgrind.py:171
DCCTBEventBlock::DCCTBEventBlock
DCCTBEventBlock(DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordBufferOffset=0, uint32_t wordEventOffset=0)
Definition:
DCCEventBlock.cc:15
DCCTBSRPBlock
Definition:
DCCSRPBlock.h:19
DCCTBEventBlock::wordBufferOffset_
uint32_t wordBufferOffset_
Definition:
DCCEventBlock.h:69
DCCTBEventBlock::srpBlock
DCCTBSRPBlock * srpBlock()
Definition:
DCCEventBlock.h:75
DCCTBEventBlock::eventErrorString
std::string eventErrorString()
Definition:
DCCEventBlock.cc:462
DCCTBEventBlock::srpBlock_
DCCTBSRPBlock * srpBlock_
Definition:
DCCEventBlock.h:68
DCCTBTowerBlock
Definition:
DCCTowerBlock.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DCCTBEventBlock::BOE
Definition:
DCCEventBlock.h:56
DCCTBEventBlock::CH_SUPPRESS
Definition:
DCCEventBlock.h:52
DCCBlockPrototype.h
DCCTBEventBlock::TRAILER_SIZE
Definition:
DCCEventBlock.h:61
DCCTBEventBlock::towerBlocks
std::vector< DCCTBTowerBlock * > & towerBlocks()
Definition:
DCCEventBlock.h:73
DCCTBEventBlock::CH_TIMEOUT
Definition:
DCCEventBlock.h:51
DCCTBEventBlock::SR_NREAD
Definition:
DCCEventBlock.h:54
DCCTBEventBlock::displayEvent
void displayEvent(std::ostream &os=std::cout)
Definition:
DCCEventBlock.cc:268
DCCTBEventBlock::emptyEvent
bool emptyEvent
Definition:
DCCEventBlock.h:70
ecaldqm::towerId
unsigned towerId(DetId const &)
Definition:
EcalDQMCommonUtils.cc:79
DCCTBEventBlock::dccFields
dccFields
Definition:
DCCEventBlock.h:42
DCCTBTrailerBlock
Definition:
DCCTrailerBlock.h:10
DCCTBEventBlock::TECHNICALTRIGGER
Definition:
DCCEventBlock.h:47
DCCTBEventBlock::dccTrailerBlock_
DCCTBTrailerBlock * dccTrailerBlock_
Definition:
DCCEventBlock.h:67
DCCTBEventBlock::towerBlocks_
std::vector< DCCTBTowerBlock * > towerBlocks_
Definition:
DCCEventBlock.h:65
DCCTBEventBlock::DCCERROR_EMPTYEVENT
Definition:
DCCEventBlock.h:58
DCCTBEventBlock::tccBlocks_
std::vector< DCCTBTCCBlock * > tccBlocks_
Definition:
DCCEventBlock.h:66
DCCTBEventBlock::PHYSICTRIGGER
Definition:
DCCEventBlock.h:44
DCCTBDataParser
Definition:
DCCDataParser.h:25
DCCTBEventBlock::~DCCTBEventBlock
~DCCTBEventBlock() override
Definition:
DCCEventBlock.cc:191
DCCTBBlockPrototype
Definition:
DCCBlockPrototype.h:21
DCCTBEventBlock::CALIBRATIONTRIGGER
Definition:
DCCEventBlock.h:45
DCCTBEventBlock::tccBlocks
std::vector< DCCTBTCCBlock * > & tccBlocks()
Definition:
DCCEventBlock.h:74
DCCTBEventBlock::TOWERHEADER_SIZE
Definition:
DCCEventBlock.h:60
DCCTBBlockPrototype::compare
virtual std::pair< bool, std::string > compare(DCCTBBlockPrototype *block)
Definition:
DCCBlockPrototype.cc:233
Generated for CMSSW Reference Manual by
1.8.16