Crate gondola_core

Source
Expand description

Dataclasses provides structures to facilitate the work with data drom the GAPS experiment. Most noticeably, there are

  • events - TOF/Tracker data, TOF events on disk, MergedEvents send over telemetry

  • packets - containers to serialize/deserialize the described structures so that these can be stored on disk or send over the network

  • calibration - TOF/Tracker related calibration routines and containers to hold results

  • io - read/write packets to/from disk or receive them over the network

  • random - random numbers for software tests

  • tof - Very specific TOF related code which does not fall under a different category

  • tracker - Very specific TRK related code which does not fall under any other category

§features:

  • random - allow random number generated data classes for testing

  • database - access a data base for advanced paddle mapping, readoutboard and ltb information etc. This will introduce a dependency on sqlite and diesel

Modules§

calibration
The following file is part of gaps-online-software and published under the GPLv3 license
constants
The following file is part of gaps-online-software and published under the GPLv3 license Global constants for TOF operations
database
Database access & entities for gaps-online-software
errors
events
io
gaps-online-software i/o system
monitoring
packets
prelude
stats
Statistics tools
tof
tracker
version
The following file is part of gaps-online-software and published under the GPLv3 license

Macros§

expand_and_test_enum
A simple helper macro adding an as_str function as well as the Display method to any enum.
moniseries
Implements the moniseries trait for a MoniData type of class
reader
Implement the Reader trait and necessary getters/setters to make a struct an actual reader

Constants§

VERSION

Functions§

color_log
Make sure that the loglevel is in color, even though not using pretty_env logger
init_env_logger
Set up the environmental (env) logger with our format