| 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 | */
|
|---|
| 16 | extern int g_runStat ; //main steering variable
|
|---|
| 17 | extern int g_reset ; //>0 = reset different levels of eventbuilder
|
|---|
| 18 | extern int g_maxProc ;
|
|---|
| 19 | extern size_t g_maxMem ; //maximum memory allowed for buffer
|
|---|
| 20 |
|
|---|
| 21 | extern FACT_SOCK g_port[NBOARDS] ; // .port = baseport, .addr=string of IP-addr in dotted-decimal "ddd.ddd.ddd.ddd"
|
|---|
| 22 |
|
|---|
| 23 | extern uint gi_NumConnect[NBOARDS]; //4 crates * 10 boards
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.