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 Data_v1 {
55  const uint8_t version;
58  const DCS_v1 dcs;
59  };
60 
61  struct Data_v2 {
62  const uint8_t version;
65  const CTPPS_v1 ctpps;
66  const DCS_v1 dcs;
67  };
68 
69 } // namespace online
70 
71 #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:13
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