DataFormats
TCDS
interface
TCDSRaw.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_TCDS_TCDSRAW_H
2
#define DATAFORMATS_TCDS_TCDSRAW_H
3
4
//---------------------------------------------------------------------------
9
//---------------------------------------------------------------------------
10
11
#include <cstdint>
12
13
#pragma pack(push)
14
#pragma pack(1)
15
16
namespace
tcds
{
17
18
struct
Sizes_v1
{
19
const
uint8_t
headerSize
;
20
const
uint8_t
summarySize
;
21
const
uint8_t
L1AhistSize
;
22
const
uint8_t
BSTSize
;
23
const
uint8_t
reserved0
;
24
const
uint8_t
reserved1
;
25
const
uint8_t
reserved2
;
26
const
uint8_t
BGOSize
;
27
};
28
29
struct
Header_v1
{
30
const
uint64_t
macAddress
;
31
const
uint32_t
swVersion
;
32
const
uint32_t
fwVersion
;
33
const
uint32_t
reserved0
;
34
const
uint32_t
recordVersion
;
35
const
uint32_t
runNumber
;
36
const
uint32_t
reserved1
;
37
const
uint32_t
activePartitions2
;
38
const
uint32_t
bstReceptionStatus
;
39
const
uint32_t
activePartitions0
;
40
const
uint32_t
activePartitions1
;
41
const
uint32_t
nibble
;
42
const
uint32_t
lumiSection
;
43
const
uint16_t
nibblesPerLumiSection
;
44
const
uint16_t
triggerTypeFlags
;
45
const
uint16_t
reserved5
;
46
const
uint16_t
inputs
;
47
const
uint16_t
bxid
;
48
const
uint16_t
orbitLow
;
49
const
uint32_t
orbitHigh
;
50
const
uint64_t
triggerCount
;
51
const
uint64_t
eventNumber
;
52
};
53
54
struct
L1aInfo_v1
{
55
const
uint32_t
orbitlow
;
56
const
uint16_t
orbithigh
;
57
const
uint8_t
reserved2
;
58
const
uint8_t
ind0
;
59
const
uint16_t
bxid
;
60
const
uint16_t
reserved0
;
61
const
uint16_t
reserved1
;
62
const
uint8_t
eventtype
;
63
const
uint8_t
ind1
;
64
};
65
66
const
uint8_t
l1aHistoryDepth_v1
= 16;
67
struct
L1aHistory_v1
{
68
L1aInfo_v1
l1aInfo
[
l1aHistoryDepth_v1
];
69
};
70
71
struct
BST_v1
{
72
const
uint32_t
gpstimelow
;
73
const
uint32_t
gpstimehigh
;
74
const
uint32_t
bireserved8_11
;
75
const
uint32_t
bireserved12_15
;
76
const
uint16_t
bstMaster
;
77
const
uint16_t
turnCountLow
;
78
const
uint16_t
turnCountHigh
;
79
const
uint16_t
lhcFillLow
;
80
const
uint16_t
lhcFillHigh
;
81
const
uint16_t
beamMode
;
82
const
uint16_t
particleTypes
;
83
const
uint16_t
beamMomentum
;
84
const
uint32_t
intensityBeam1
;
85
const
uint32_t
intensityBeam2
;
86
const
uint32_t
bireserved40_43
;
87
const
uint32_t
bireserved44_47
;
88
const
uint32_t
bireserved48_51
;
89
const
uint32_t
bireserved52_55
;
90
const
uint32_t
bireserved56_59
;
91
const
uint32_t
bireserved60_63
;
92
};
93
94
struct
LastBGo_v1
{
95
const
uint32_t
orbitlow
;
96
const
uint16_t
orbithigh
;
97
const
uint16_t
reserved
;
98
};
99
100
const
uint8_t
bgoCount_v1
= 64;
101
struct
BGoHistory_v1
{
102
const
uint64_t
bgoHistoryHeader
;
103
const
struct
LastBGo_v1
lastBGo
[
bgoCount_v1
];
104
};
105
106
struct
Raw_v1
{
107
const
struct
Sizes_v1
sizes
;
108
const
struct
Header_v1
header
;
109
const
struct
L1aHistory_v1
l1aHistory
;
110
const
struct
BST_v1
bst
;
111
const
struct
BGoHistory_v1
bgoHistory
;
112
};
113
114
}
// namespace tcds
115
116
#pragma pack(pop)
117
118
#endif // DATAFORMATS_TCDS_TCDSRAW_H
tcds::Header_v1::orbitLow
const uint16_t orbitLow
Definition:
TCDSRaw.h:48
tcds::BST_v1::bireserved40_43
const uint32_t bireserved40_43
Definition:
TCDSRaw.h:86
tcds::l1aHistoryDepth_v1
const uint8_t l1aHistoryDepth_v1
Definition:
TCDSRaw.h:66
tcds::LastBGo_v1
Definition:
TCDSRaw.h:94
tcds::Header_v1::swVersion
const uint32_t swVersion
Definition:
TCDSRaw.h:31
tcds::Header_v1::bxid
const uint16_t bxid
Definition:
TCDSRaw.h:47
tcds::BST_v1::bstMaster
const uint16_t bstMaster
Definition:
TCDSRaw.h:76
tcds::Sizes_v1::headerSize
const uint8_t headerSize
Definition:
TCDSRaw.h:19
tcds::Sizes_v1::reserved1
const uint8_t reserved1
Definition:
TCDSRaw.h:24
tcds::BST_v1::bireserved56_59
const uint32_t bireserved56_59
Definition:
TCDSRaw.h:90
tcds::Header_v1::nibblesPerLumiSection
const uint16_t nibblesPerLumiSection
Definition:
TCDSRaw.h:43
tcds::BST_v1::intensityBeam2
const uint32_t intensityBeam2
Definition:
TCDSRaw.h:85
tcds::BST_v1::gpstimelow
const uint32_t gpstimelow
Definition:
TCDSRaw.h:72
tcds::BST_v1::turnCountHigh
const uint16_t turnCountHigh
Definition:
TCDSRaw.h:78
tcds::BST_v1::lhcFillLow
const uint16_t lhcFillLow
Definition:
TCDSRaw.h:79
tcds::Sizes_v1::reserved0
const uint8_t reserved0
Definition:
TCDSRaw.h:23
tcds::Header_v1::reserved0
const uint32_t reserved0
Definition:
TCDSRaw.h:33
tcds::Header_v1::eventNumber
const uint64_t eventNumber
Definition:
TCDSRaw.h:51
tcds::Header_v1::runNumber
const uint32_t runNumber
Definition:
TCDSRaw.h:35
tcds::BST_v1::bireserved12_15
const uint32_t bireserved12_15
Definition:
TCDSRaw.h:75
tcds::BST_v1::intensityBeam1
const uint32_t intensityBeam1
Definition:
TCDSRaw.h:84
tcds::LastBGo_v1::reserved
const uint16_t reserved
Definition:
TCDSRaw.h:97
tcds::Header_v1::activePartitions1
const uint32_t activePartitions1
Definition:
TCDSRaw.h:40
tcds::BST_v1::gpstimehigh
const uint32_t gpstimehigh
Definition:
TCDSRaw.h:73
tcds::Header_v1::bstReceptionStatus
const uint32_t bstReceptionStatus
Definition:
TCDSRaw.h:38
tcds::BST_v1::bireserved8_11
const uint32_t bireserved8_11
Definition:
TCDSRaw.h:74
tcds::Raw_v1::header
const struct Header_v1 header
Definition:
TCDSRaw.h:108
tcds::L1aInfo_v1::reserved1
const uint16_t reserved1
Definition:
TCDSRaw.h:61
tcds::Header_v1::nibble
const uint32_t nibble
Definition:
TCDSRaw.h:41
tcds::Raw_v1::l1aHistory
const struct L1aHistory_v1 l1aHistory
Definition:
TCDSRaw.h:109
tcds::L1aInfo_v1::orbitlow
const uint32_t orbitlow
Definition:
TCDSRaw.h:55
tcds::BGoHistory_v1::bgoHistoryHeader
const uint64_t bgoHistoryHeader
Definition:
TCDSRaw.h:102
tcds::Header_v1::inputs
const uint16_t inputs
Definition:
TCDSRaw.h:46
tcds::Header_v1::activePartitions0
const uint32_t activePartitions0
Definition:
TCDSRaw.h:39
tcds::L1aInfo_v1::ind0
const uint8_t ind0
Definition:
TCDSRaw.h:58
tcds::Raw_v1::bgoHistory
const struct BGoHistory_v1 bgoHistory
Definition:
TCDSRaw.h:111
tcds::Header_v1::macAddress
const uint64_t macAddress
Definition:
TCDSRaw.h:30
tcds::Raw_v1
Definition:
TCDSRaw.h:106
tcds::Header_v1::reserved1
const uint32_t reserved1
Definition:
TCDSRaw.h:36
tcds::L1aInfo_v1::reserved2
const uint8_t reserved2
Definition:
TCDSRaw.h:57
tcds::LastBGo_v1::orbitlow
const uint32_t orbitlow
Definition:
TCDSRaw.h:95
tcds::BST_v1::lhcFillHigh
const uint16_t lhcFillHigh
Definition:
TCDSRaw.h:80
tcds::Header_v1::recordVersion
const uint32_t recordVersion
Definition:
TCDSRaw.h:34
tcds::BGoHistory_v1::lastBGo
const struct LastBGo_v1 lastBGo[bgoCount_v1]
Definition:
TCDSRaw.h:103
tcds::L1aInfo_v1::bxid
const uint16_t bxid
Definition:
TCDSRaw.h:59
tcds::Header_v1::fwVersion
const uint32_t fwVersion
Definition:
TCDSRaw.h:32
tcds::Header_v1
Definition:
TCDSRaw.h:29
tcds::L1aInfo_v1
Definition:
TCDSRaw.h:54
tcds::Raw_v1::sizes
const struct Sizes_v1 sizes
Definition:
TCDSRaw.h:107
tcds::BST_v1::bireserved44_47
const uint32_t bireserved44_47
Definition:
TCDSRaw.h:87
tcds::Header_v1::orbitHigh
const uint32_t orbitHigh
Definition:
TCDSRaw.h:49
tcds::LastBGo_v1::orbithigh
const uint16_t orbithigh
Definition:
TCDSRaw.h:96
tcds::Sizes_v1::L1AhistSize
const uint8_t L1AhistSize
Definition:
TCDSRaw.h:21
tcds::Header_v1::triggerTypeFlags
const uint16_t triggerTypeFlags
Definition:
TCDSRaw.h:44
tcds::BST_v1::beamMode
const uint16_t beamMode
Definition:
TCDSRaw.h:81
tcds::L1aHistory_v1::l1aInfo
L1aInfo_v1 l1aInfo[l1aHistoryDepth_v1]
Definition:
TCDSRaw.h:68
tcds::BST_v1::turnCountLow
const uint16_t turnCountLow
Definition:
TCDSRaw.h:77
tcds::Header_v1::lumiSection
const uint32_t lumiSection
Definition:
TCDSRaw.h:42
tcds
Definition:
TCDSRaw.h:16
tcds::Sizes_v1::BSTSize
const uint8_t BSTSize
Definition:
TCDSRaw.h:22
tcds::BGoHistory_v1
Definition:
TCDSRaw.h:101
tcds::BST_v1::bireserved52_55
const uint32_t bireserved52_55
Definition:
TCDSRaw.h:89
tcds::Sizes_v1::BGOSize
const uint8_t BGOSize
Definition:
TCDSRaw.h:26
tcds::Header_v1::activePartitions2
const uint32_t activePartitions2
Definition:
TCDSRaw.h:37
tcds::L1aInfo_v1::orbithigh
const uint16_t orbithigh
Definition:
TCDSRaw.h:56
tcds::L1aHistory_v1
Definition:
TCDSRaw.h:67
tcds::BST_v1::particleTypes
const uint16_t particleTypes
Definition:
TCDSRaw.h:82
tcds::Sizes_v1
Definition:
TCDSRaw.h:18
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
tcds::Sizes_v1::summarySize
const uint8_t summarySize
Definition:
TCDSRaw.h:20
tcds::L1aInfo_v1::ind1
const uint8_t ind1
Definition:
TCDSRaw.h:63
tcds::BST_v1::beamMomentum
const uint16_t beamMomentum
Definition:
TCDSRaw.h:83
tcds::BST_v1
Definition:
TCDSRaw.h:71
tcds::L1aInfo_v1::eventtype
const uint8_t eventtype
Definition:
TCDSRaw.h:62
tcds::L1aInfo_v1::reserved0
const uint16_t reserved0
Definition:
TCDSRaw.h:60
tcds::Header_v1::triggerCount
const uint64_t triggerCount
Definition:
TCDSRaw.h:50
tcds::BST_v1::bireserved48_51
const uint32_t bireserved48_51
Definition:
TCDSRaw.h:88
tcds::Sizes_v1::reserved2
const uint8_t reserved2
Definition:
TCDSRaw.h:25
tcds::bgoCount_v1
const uint8_t bgoCount_v1
Definition:
TCDSRaw.h:100
tcds::Header_v1::reserved5
const uint16_t reserved5
Definition:
TCDSRaw.h:45
tcds::Raw_v1::bst
const struct BST_v1 bst
Definition:
TCDSRaw.h:110
tcds::BST_v1::bireserved60_63
const uint32_t bireserved60_63
Definition:
TCDSRaw.h:91
Generated for CMSSW Reference Manual by
1.8.16