Setup

The table trigger in qdaq database contains the trigger setup informations for each run. There are 14 fields:
  1. run: the run number this record refers to. There must be a record for each valid run.
  2. lg: the logical channel number this record refers to. A record with lg=0 is mandatory for each run. This record will act as default trigger setup for all channels that are NOT explicitely listed in the following records.If lg is different from 0, the trigger setup of the corresponing channel is overwritten. In this way we can have all channels with the same trigger parameters by writing the record with lg=0 only, or we can tune channel by channel adding more records.
  3. trg1_enable Enable flag for trigger 1 for this channel (or the default value for lg=0)
  4. trg2_enable Enable flag for trigger 2 for this channel (or the default value for lg=0)
  5. trg3_enable Enable flag for trigger 3 for this channel (or the default value for lg=0)
  6. trg4_enable Enable flag for trigger 4 for this channel (or the default value for lg=0)

  7. trg1_name The name of the trigger 1 active in this run.
  8. trg2_name The name of the trigger 2 active in this run.
  9. trg3_name The name of the trigger 3 active in this run.
  10. trg4_name The name of the trigger 4 active in this run.
  11. trg1_parsA string describing the parameters for trigger 1 algorythm for this channel, and this run. The syntax of this string must be key1=val1;key2=val2 etc. The number of parameters is unlimited.

  12. trg2_parsA string describing the parameters for trigger 2 algorythm for this channel, and this run. The syntax of this string must be key1=val1;key2=val2 etc. The number of parameters is unlimited.

  13. trg3_pars A string describing the parameters for trigger 3 algorythm for this channel, and this run. The syntax of this string must be key1=val1;key2=val2 etc. The number of parameters is unlimited.

  14. trg4_pars A string describing the parameters for trigger 4 algorythm for this channel, and this run. The syntax of this string must be key1=val1;key2=val2 etc. The number of parameters is unlimited.