Module control

Source
Expand description

Master trigger board control

Set registers and enable/disable features, readout event and monitoring data

Many control functions in this module can go away, since they can be replaced by the calls on the register implementation directly.

Functionsยง

fire_ltb
force_trigger
Force a single trigger (just once)
get_gaps_trigger_prescale
get_tiu_emu_busy_cnt
Get the number of clock cycles (1=10ns) that the emulator will remain busy
read_event_cnt
Read event counter register of MTB
reset_daq
Reset the state of the MTB DAQ buffer This can be safely issued without resetting the event id
set_any_trigger
Set the any trigger with a prescale
set_central_track_trigger
Set the CENTRAL track trigger with a prescale
set_configurable_trigger
set_corcubeside_trigger
1 Hit in Cortina && 1 Hit in Cube side
set_cortina_threshold
set_cube_bottom_threshold
set_cube_corner_threshold
set_cube_side_threshold
set_cube_top_threshold
set_fire_bits
set_gaps211_trigger
set_gaps422_central_track_trigger
set_gaps422_trigger
set_gaps633_trigger
set_gaps_any_trigger
set_gaps_central_track_trigger
set_gaps_track_trigger
set_gaps_trigger
Set the gaps trigger with a prescale
set_gaps_trigger_prescale
set_inner_tof_threshold
set_outer_tof_threshold
set_poisson_trigger
Set the poisson trigger with a prescale
set_rb_int_window
The readoutboard integration window
set_tiu_emulation_mode
The TIU emulation mode literally allows to emulate a TIU even if it is not connected.
set_tiu_emulation_mode_bsy_cnt
Set the busy count for the tiu emulation mode in 10ns clockcycles
set_total_tof_threshold
set_trace_suppression
Set the RB readout mode - either read out all channels all the time or use the MTB to indicate to the RBs which channels to read out
set_track_trigger
Set the track trigger with a prescale
set_track_umb_central_trigger
set_umb3cube_trigger
1 Hit in Umbrella && 3 Hits in Cube
set_umbcenter_threshold
set_umbcorcube_trigger
1 Hit on Umbrella && 1 Hit on Cortina && 1 Hit on Cube
set_umbcube_trigger
1 Hit on Umbrella && 1 Hit on Cube
set_umbcubez_trigger
1 Hit on Umbrella + 1 Hit on cube top
set_umbrella_threshold
tiu_link_is_good
Retrieve the status of the TIU link
unset_all_triggers
Disable all triggers
use_tiu_aux_link
zero_config_trigger_thresholds
Zero out the configurable trigger thresholds