Skip to main content

Module database

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
TofPaddleTimingConstant
Masking of unusable strips as curated by the tracker team
TrackerCalibrationFile
TrackerCalibrationFileTypeIter
An iterator over the variants of TrackerCalibrationFileType
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
TrackerStripGain
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
TrackerStripPulse
Common noise subtraction - pulse channels on the wafers and get the average adc. The gain is available as well. Data from Mengjiao’s group
TrackerStripTransferFunction
Tracker transfer functions connect the tracker adc to a measurement of energy

Enums§

TrackerCalibrationFileType
Describe the contents of a byte sequence (“packet”) typicially crafted for telemetry. The numbers are defined by the ‘bfsw’ software package.

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
create_trk_gain_table
create_trk_mask_table
create_trk_pedestal_table
create_trk_pulse_table
create_trk_transfer_fn_table
get_all_pbids_in_db
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_dsi_j_ch_rb_map
Create a mapping of DSI/J(LTB) -> RBID
get_hid_vid_maps
Map the detector ids (“hardware” ids) to volume ids as used in the simulation
get_linkid_rbid_map
Create a mapping of mtb link ids to rb ids
get_rb_ch_pid
Create a map for rbid, ch -> paddle id.
get_rb_ch_pid_a_map
Create a map for rbid, ch -> paddle id. This is only for the A side and will not have an entry in case the given RB channel is connected to the B side of the paddle
get_rb_ch_pid_b_map
Create a map for rbid, ch -> paddle id. This is only for the B side and will not have an entry in case the given RB channel is connected to the A side of the paddle
get_rbid_pbchannel_pid_map
get_rbids_for_pbid
Get a mapping of which pb controls paddles connected to which RB
get_vid_hid_maps
Map the volume id as it is used in the simulation to the actual (“hardware”) detector ids
load_calibration_db_elena
This loads the calbration DB for SimpleDet as provided by Elena and INFN.

Type Aliases§

DsiJChPidMapping
Low gain/LTB connections to paddle ID
DsiJChRbMapping
Low gain/LTB connections to rb ID
RbChPidMapping
RB ID and RB Ch to paddle ID mapping