Belle II Software development
DAQConsts.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
9#ifndef DAQCONSTS_H
10#define DAQCONSTS_H
11
12#define REDUCED_RAWCOPPER
13
14//#define NONSTOP
15//#define NONSTOP_DEBUG
16//#define NONSTOP_SLC
17
18//#define RAWDATASIZE 1
19/* #define WORD_SENDHEADER 1 */
20/* #define WORD_SENDTRAILER 1 */
21/* #define WORD_RAWCPRHEADER 16 */
22
23
24#define BASE_PORT_ROPC_COPPER 30000
25#define NUM_EVT_PER_BASF2LOOP_COPPER 50
26#define NUM_EVT_PER_BASF2LOOP_PC 1
27#define NUM_PREALLOC_BUF 500
28
29// global variables for non-stop DAQ
30
31
32
33#ifdef NONSTOP
34extern int g_run_pause;
35extern int g_run_error;
36extern int g_run_resuming;
37#endif
38
39const int sp8test_run_starttime[93] = {
40 -1, 1381029053
41 , 1381029116
42 , 1381029212
43 , 1381029294
44 , 1381029461
45 , 1381029515
46 , 1381029585
47 , 1381029634
48 , 1381029779
49 , 1381029884
50 , 1381029967
51 , 1381030359
52 , 1381031134
53 , 1381031221
54 , 1381031325
55 , 1381031418
56 , 1381031554
57 , 1381031621
58 , 1381031836
59 , 1381034808
60 , 1381034941
61 , 1381035044
62 , 1381035354
63 , 1381036072
64 , 1381037030
65 , 1381037146
66 , 1381037345
67 , 1381037638
68 , 1381038699
69 , 1381039391
70 , 1381039816
71 , 1381040036
72 , 1381041389
73 , 1381041442
74 , 1381041497
75 , 1381041762
76 , 1381042464
77 , 1381043331
78 , 1381046109
79 , 1381046342
80 , 1381046390
81 , 1381046571
82 , 1381046589
83 , 1381049032
84 , 1381049196
85 , 1381049867
86 , 1381049925
87 , 1381050883
88 , 1381054508
89 , 1381054875
90 , 1381055316
91 , 1381055550
92 , 1381055772
93 , 1381056812
94 , 1381057213
95 , 1381057307
96 , 1381058937
97 , 1381059752
98 , 1381060015
99 , 1381060050
100 , 1381060524
101 , 1381061531
102 , 1381061572
103 , 1381061648
104 , 1381061749
105 , 1381062569
106 , 1381062687
107 , 1381063320
108 , 1381063720
109 , 1381064134
110 , 1381067028
111 , 1381067698
112 , 1381069387
113 , 1381070333
114 , 1381071744
115 , 1381071838
116 , 1381072694
117 , 1381073760
118 , 1381073790
119 , 1381074369
120 , 1381074621
121 , 1381074946
122 , 1381075404
123 , 1381075516
124 , 1381077354
125 , 1381077382
126 , 1381078479
127 , 1381078693
128 , 1381079579
129 , 1381079710
130 , 1381079865
131 , 1381079906
132 };
133
134//#define WITH_HEADER_TRAILER
135
136//#define DUMMY
137
138#endif