Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
daq_param_type.h
Go to the documentation of this file.
1 // $Id$
2 // $HeadURL$
3 //
4 // File: daq_param_type.h
5 // Created: Fri Sep 26 08:06:38 EDT 2014
6 // Creator: davidl (on Darwin harriet.jlab.org 13.4.0)
7 //
8 //
9 // These specify the daq configuration parameter codes used
10 // to identify the the parameter types in the DAQ config.
11 // parameter EVIO bank. These are written into the event by
12 // the DAQ system and parsed in the method:
13 //
14 // JEventSource_EVIO::ParseModuleConfiguration
15 //
16 // The rawevent plugin also uses these when encoding this
17 // bank. See more details here:
18 //
19 // https://halldweb1.jlab.org/wiki/images/2/21/20140910_config_in_datastream.pdf
20 //
21 
22 #ifndef _daq_param_type_
23 #define _daq_param_type_
24 
26 
27  kPARAM250_NSA = 0x0501,
28  kPARAM250_NSB = 0x0502,
29  kPARAM250_NSA_NSB = 0x0503, // NSA+NSB
30  kPARAM250_NPED = 0x0504,
31 
32  kPARAM125_NSA = 0x0F01,
33  kPARAM125_NSB = 0x0F02,
34  kPARAM125_NSA_NSB = 0x0F03, // NSA+NSB
35  kPARAM125_NPED = 0x0F04, // (1 + 2^P2)/(2^PBIT)
37  kPARAM125_PL = 0x0F06,
38  kPARAM125_NW = 0x0F07,
39  kPARAM125_NPK = 0x0F08,
40  kPARAM125_P1 = 0x0F09,
41  kPARAM125_P2 = 0x0F0A,
42  kPARAM125_PG = 0x0F0B,
43  kPARAM125_IE = 0x0F0C,
44  kPARAM125_H = 0x0F0D,
45  kPARAM125_TH = 0x0F0E,
46  kPARAM125_TL = 0x0F0F,
47  kPARAM125_IBIT = 0x0F10,
48  kPARAM125_ABIT = 0x0F11,
49  kPARAM125_PBIT = 0x0F12,
50 
51  kPARAMF1_REFCNT = 0x0601,
52  kPARAMF1_TRIGWIN = 0x0602,
53  kPARAMF1_TRIGLAT = 0x0603,
54  kPARAMF1_HSDIV = 0x0604,
55  kPARAMF1_BINSIZE = 0x0605, // in picoseconds
57 
60 
61  kPARAM_NONE = 0x0000
62 };
63 
64 #endif // _daq_param_type_
daq_param_type