Belle II Software development
RfUnitInfo.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 RFUNITINFO_H
9#define RFUNITINFO_H
10
11// Node info placed in NSM shared memory
12namespace Belle2 {
18 struct RfUnitInfo {
19 struct RfNodeInfo {
20 int sysstate;
21 int nevent_in;
22 int nqueue_in;
23 int nevent_out;
24 int nqueue_out;
25 int error;
26 int pid_input;
27 int pid_output;
28 int pid_basf2;
29 int pid_hserver;
30 int pid_hrelay;
31 int i_reserved[4];
32 float flowrate_in;
33 float flowrate_out;
34 float avesize_in;
35 float avesize_out;
36 float evtrate_in;
37 float evtrate_out;
38 float loadave;
39 float r_reserved[9];
40 } nodeinfo[24];
41 unsigned int nnodes;
42 unsigned int updatetime;
43 unsigned int rcstate;
44 unsigned int state;
45 };
46
48}
49#endif
Abstract base class for different kinds of events.