StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
cmds.h
1 #ifndef _TRG_CMDS_H_
2 #define _TRG_CMDS_H_
3 
4 
5 /*
6  The following 16 Trigger Commands correspond to the document
7  "Trigger/Clock Distribution Tree" V1.1a, Feb 29, 1996
8 
9  Physics, Pulser and Config are the _only_ commands that may reach DAQ!
10  All the others represent an error and should be flagged and ignored by DAQ!
11 
12  Tonko
13 
14 */
15 
16 
17 /* impossible */
18 #define TRG_CMD_NONE 0
19 
20 /* various cleanup */
21 #define TRG_CMD_CLEAR 1
22 #define TRG_CMD_RESET 2
23 
24 /* reserved */
25 #define TRG_CMD_SPARE 3
26 
27 /* Physics */
28 #define TRG_CMD_TRIG_0 4
29 #define TRG_CMD_TRIG_1 5
30 #define TRG_CMD_TRIG_2 6
31 #define TRG_CMD_TRIG_3 7
32 
33 /* Pulsers, laser etc. */
34 #define TRG_CMD_PULS_0 8 // charge injection
35 #define TRG_CMD_PULS_1 9 // laser(TPC);FEE test(SVT)
36 #define TRG_CMD_PULS_2 10 // ground plane(TPC)
37 #define TRG_CMD_PULS_3 11 // buffer readout
38 
39 /* Special config geography */
40 #define TRG_CMD_CONFIG 12
41 
42 /* aborts, accepts etc. */
43 #define TRG_CMD_ABORT 13
44 #define TRG_CMD_ACCEPT_L1 14
45 #define TRG_CMD_ACCEPT_L2 15
46 
47 
48 
49 #endif