CMS 3D CMS Logo

OnlineMetaDataRaw.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_ONLINEMETADATA_ONLINEMETADATARAW_H
2 #define DATAFORMATS_ONLINEMETADATA_ONLINEMETADATARAW_H
3 
4 //---------------------------------------------------------------------------
9 //---------------------------------------------------------------------------
10 
11 #include <cstdint>
12 
13 
14 namespace online {
15 
17  {
19  const uint16_t lumiSection;
20  const uint16_t lumiNibble;
21  const float instLumi;
22  const float avgPileUp;
23  };
24 
25  struct BeamSpot_v1
26  {
28  const float x;
29  const float y;
30  const float z;
31  const float dxdz;
32  const float dydz;
33  const float errX;
34  const float errY;
35  const float errZ;
36  const float errDxdz;
37  const float errDydz;
38  const float widthX;
39  const float widthY;
40  const float sigmaZ;
41  const float errWidthX;
42  const float errWidthY;
43  const float errSigmaZ;
44  };
45 
46  struct CTPPS_v1
47  {
50  };
51 
52  struct DCS_v1
53  {
55  const uint32_t highVoltageReady;
56  const float magnetCurrent;
57  };
58 
59  struct Data_v1
60  {
61  const uint8_t version;
64  const DCS_v1 dcs;
65  };
66 
67  struct Data_v2
68  {
69  const uint8_t version;
72  const CTPPS_v1 ctpps;
73  const DCS_v1 dcs;
74  };
75 
76 }
77 
78 #endif // DATAFORMATS_ONLINEMETADATA_ONLINEMETADATARAW_H
const uint32_t highVoltageReady
const Luminosity_v1 luminosity
const uint64_t timestamp
const uint16_t lumiNibble
const Luminosity_v1 luminosity
const CTPPS_v1 ctpps
const uint16_t lumiSection
const uint64_t timestamp
const uint8_t version
unsigned long long uint64_t
Definition: Time.h:15
const uint8_t version
const BeamSpot_v1 beamSpot
const DCS_v1 dcs
const DCS_v1 dcs
const uint64_t timestamp
const BeamSpot_v1 beamSpot
const float magnetCurrent