Belle II Software development
arichBtestData.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#pragma once
9
10enum { EVENT_RECORD_TYPE, BEGIN_RECORD_TYPE, PAUSE_RECORD_TYPE,
11 RESUME_RECORD_TYPE, END_RECORD_TYPE
12 };
13
15struct EventRec {
17 unsigned int type;
19 unsigned int len;
21 unsigned int evtno;
23 unsigned int time;
25 unsigned int mstime;
27 unsigned int runno; // from run
28};
29
31struct BeginRec {
33 unsigned int type;
35 unsigned int len;
37 unsigned int runno;
39 unsigned int evtno;
41 unsigned int time;
43 unsigned int reserve1;
44};
45
47struct EndRec {
49 unsigned int type;
51 unsigned int len;
53 unsigned int runno;
55 unsigned int evtno;
57 unsigned int time;
59 unsigned int reserve1;
60};
61#pragma once
Begin record structure for the beamtest data.
unsigned int runno
Run number.
unsigned int reserve1
Reserved - unused.
unsigned int type
Record ID.
unsigned int len
Record length in bytes.
unsigned int time
Timestamp of the run.
unsigned int evtno
Current event number.
End record structure for the beamtest data.
unsigned int runno
Run number.
unsigned int reserve1
Reserved - unused.
unsigned int type
Record ID.
unsigned int len
Record length in bytes.
unsigned int time
End Record Timestamp.
unsigned int evtno
Current event number.
Event record structure for the beamtest data.
unsigned int runno
Run Number.
unsigned int mstime
Time form beginning of the run in ms.
unsigned int type
Record ID.
unsigned int len
Record length in bytes.
unsigned int time
Event timestamp.
unsigned int evtno
Event Number.