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
- Readout
Board - A Readoutboard with paddles connected
- TofPaddle
- A single TOF paddle with 2 ends comnected
- Tracker
Strip - A single Tracker strip
- Tracker
Strip CmnNoise - Common noise subtraction - pulse channels on the wafers and get the average adc. The gain is available as well. Data from Mengjiao’s group
- Tracker
Strip Mask - Masking of unusable strips as curated by the tracker team
- Tracker
Strip Pedestal - Measurement of tracker pedestal values for each strip
- Tracker
Strip Transfer Function - 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)