Module database

Source
Expand description

Database access & entities for gaps-online-software

A local .sqlite database is shipped with gaps-online-software, pre-populated with relevant meta data for the GAPS experiment.

Structs§

RAT
ReadoutBoard
A Readoutboard with paddles connected
TofPaddle
A single TOF paddle with 2 ends comnected
TrackerStrip
A single Tracker strip
TrackerStripCmnNoise
Common noise subtraction - pulse channels on the wafers and get the average adc. The gain is available as well. Data from Mengjiao’s group
TrackerStripMask
Masking of unusable strips as curated by the tracker team
TrackerStripPedestal
Measurement of tracker pedestal values for each strip
TrackerStripTransferFunction
Tracker transfer functions connect the tracker adc to a measurement of energy

Functions§

connect_to_db
Connect to the default database at the standard location
connect_to_db_path
Connect to a database at a given location
get_all_rbids_in_db
Get all rb ids from paddles which are stored in the database
get_dsi_j_ch_pid_map
Create a mapping of DSI/J(LTB) -> PaddleID
get_hid_vid_map
Get a map of hardware id -> volume id (Paddle id in case of TOF paddke, strip id in case of tracker strip)
get_linkid_rbid_map
Create a mapping of mtb link ids to rb ids
get_vid_hid_map
Get a map of volume id -> hardware id (Paddle id in case of TOF paddke, strip id in case of tracker strip)

Type Aliases§

DsiJChPidMapping