Belle II Software development
NSMDataPaket.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_NSMDataPaket_h
9#define _Belle2_NSMDataPaket_h
10
11namespace Belle2 {
17 struct NSMDataPaket {
18
19 static const unsigned short BUFFER_MAX = 492;
20 static const unsigned int PORT = 9021;
21
22 struct Header {
23 unsigned short paketid;
24 unsigned short flag;
25 unsigned short id;
26 unsigned short revision;
27 unsigned int max;
28 unsigned int offset;
29 unsigned int size;
30 } hdr;
31 char buf[BUFFER_MAX];
32 };
33
35}
36
37#endif
Abstract base class for different kinds of events.