Belle II Software  release-08-01-10
ro_summary.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #ifndef _Belle2_ro_summary_h
9 #define _Belle2_ro_summary_h
10 
11 extern "C" {
12 #include <nsm2/nsm2.h>
13 }
14 
15 namespace Belle2 {
21  const int ro_summary_revision = 1;
22 
23  struct ro_summary {
24  uint32 nodeid;
25  uint32 state;
26  uint32 eflag;
27  uint32 expno;
28  uint32 runno;
29  uint32 subno;
30  uint32 reserved_i[2];
31  uint32 stime;
32  uint32 ctime;
33  uint32 nevent_in;
34  uint32 nqueue_in;
35  uint32 connection_in;
36  uint32 connection_out;
37  uint32 nevent_out;
38  uint32 nqueue_out;
39  float evtrate_in;
40  float evtsize_in;
41  float flowrate_in;
42  float evtrate_out;
43  float evtsize_out;
44  float flowrate_out;
45  float loadavg;
46  float reserved_f[5];
47  struct event_header {
48  uint32 nword;
49  uint32 format;
50  uint32 exp_run;
51  uint32 evtno;
52  uint32 ctime_trgtype;
53  uint32 utime;
54  uint32 nodeid;
55  uint32 crc_err;
56  } header[25];
57  };
58 
60 }
61 
62 #endif
Abstract base class for different kinds of events.