Module constants

Source
Expand description

The following file is part of gaps-online-software and published under the GPLv3 license 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
LIFTOF_LOGO_SHOW
Make a nice ASCII logo for the liftof of flight code
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)
SILI_RADIUS
Si(Li) wafer detector radius, with guardring and all

Statics§

GENERIC_ONLINE_FILE_PATTERH
A generic pattern for online files, matching most types
GENERIC_ONLINE_FILE_PATTERH_CAPTURE
GENERIC_TELEMETRY_FILE_PATTERN_CAPUTRE
HUMAN_TIMESTAMP_FORMAT
The TimeStamp format for Human readable timestamps