source: trunk/FACT++/src/EventBuilder.h@ 15900

Last change on this file since 15900 was 15473, checked in by tbretz, 12 years ago
Removed all obsolete definitions.
File size: 817 bytes
Line 
1#ifndef FACT_EventBuilder
2#define FACT_EventBuilder
3
4#include "FAD.h"
5
6/* global variables;
7 to avoid race canoditions, only one thread is allowed to write
8 the name of the variable defines which process shall write it:
9
10 g_XXX : main control thread
11 gi_XX : input thread (reading from camera)
12 gw_XX : write thread (writing to disk)
13 qp_XX : processing thread(s) (processing data, eg. soft-trig)
14
15*/
16extern int g_runStat ; //main steering variable
17extern int g_reset ; //>0 = reset different levels of eventbuilder
18extern int g_maxProc ;
19extern size_t g_maxMem ; //maximum memory allowed for buffer
20
21extern FACT_SOCK g_port[NBOARDS] ; // .port = baseport, .addr=string of IP-addr in dotted-decimal "ddd.ddd.ddd.ddd"
22
23extern uint gi_NumConnect[NBOARDS]; //4 crates * 10 boards
24
25#endif
Note: See TracBrowser for help on using the repository browser.