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 namespace online {
14 
15  struct Luminosity_v1 {
17  const uint16_t lumiSection;
18  const uint16_t lumiNibble;
19  const float instLumi;
20  const float avgPileUp;
21  };
22 
23  struct BeamSpot_v1 {
25  const float x;
26  const float y;
27  const float z;
28  const float dxdz;
29  const float dydz;
30  const float errX;
31  const float errY;
32  const float errZ;
33  const float errDxdz;
34  const float errDydz;
35  const float widthX;
36  const float widthY;
37  const float sigmaZ;
38  const float errWidthX;
39  const float errWidthY;
40  const float errSigmaZ;
41  };
42 
43  struct CTPPS_v1 {
46  };
47 
48  struct DCS_v1 {
50  const uint32_t highVoltageReady;
51  const float magnetCurrent;
52  };
53 
54  struct DCS_v2 {
56  const uint32_t highVoltageReady;
57  const uint32_t highVoltageValid;
58  const float magnetCurrent;
59  };
60 
61  struct Data_v1 {
62  const uint8_t version;
65  const DCS_v1 dcs;
66  };
67 
68  struct Data_v2 {
69  const uint8_t version;
72  const CTPPS_v1 ctpps;
73  const DCS_v1 dcs;
74  };
75 
76  struct Data_v3 {
77  const uint8_t version;
80  const CTPPS_v1 ctpps;
81  const DCS_v2 dcs;
82  };
83 
84 } // namespace online
85 
86 #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 uint32_t highVoltageValid
const CTPPS_v1 ctpps
const uint16_t lumiSection
const uint64_t timestamp
const uint8_t version
const BeamSpot_v1 beamSpot
const Luminosity_v1 luminosity
unsigned long long uint64_t
Definition: Time.h:13
const uint8_t version
const BeamSpot_v1 beamSpot
const float magnetCurrent
const DCS_v1 dcs
const uint32_t highVoltageReady
const DCS_v1 dcs
const uint8_t version
const uint64_t timestamp
const uint64_t timestamp
const BeamSpot_v1 beamSpot
const float magnetCurrent
const DCS_v2 dcs
const CTPPS_v1 ctpps