Belle II Software development
ronode_info.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_ronode_info_h
9#define _Belle2_ronode_info_h
10
11const int ronode_info_revision = 1;
12
13namespace Belle2 {
19 struct event_header {
20 unsigned int nword;
21 unsigned int format;
22 unsigned int exp_run;
23 unsigned int evtno;
24 unsigned int ctime_trgtype;
25 unsigned int utime;
26 unsigned int nodeid;
27 unsigned int crc_err;
28 };
29
30 struct ronode_info {
31 unsigned int nodeid;
32 unsigned int state;
33 unsigned int eflag;
34 unsigned int expno;
35 unsigned int runno;
36 unsigned int subno;
37 unsigned int reserved[2];
38 float reserved_f[5];
39 struct io_info {
40 int port;
41 unsigned int addr;
42 unsigned long long nbyte;
43 unsigned int count;
44 } io[2];
45 event_header header;
46 };
47
49}
50
51#endif
Abstract base class for different kinds of events.