Module constants

Source
Expand description

Global constants for TOF operations

ISSUES:

  • there might be constants defined elsewhere, also we are defining constants in .toml files now. There is an active issue #18

Constants§

C_LIGHT_CABLE
Speed of light in the harting cables (divine number from the TOF team) This value is in cm/ns
C_LIGHT_PADDLE
Speed of light in the scintillator paddles (divine number from the TOF team) This value is in cm/ns
MASK_CMD_8BIT
Masks for 32 bits commands (byte packets)
MASK_CMD_16BIT
MASK_CMD_24BIT
MASK_CMD_32BIT
NCHN
Number of Channels on the readoutboards
NWORDS
Number of entries for each waveform (voltage and timing each)
N_CHN_PER_LTB
Number of AVAILABLE channels per each LocalTriggerBoard
N_LTBS
Number of AVAILABLE slots for LocalTriggerBoards
PAD_CMD_32BIT
Padding for 32 bits commands (byte packets)

Statics§

HUMAN_TIMESTAMP_FORMAT
The TimeStamp format for Human readable timestamps