1pub mod rb_paddle_id;
5pub mod algorithms;
6pub mod detector_status;
7pub use rb_paddle_id::RBPaddleID;
8pub use detector_status::TofDetectorStatus;
9pub mod config;
10pub use config::*;
11pub mod commands;
12pub use commands::*;
13pub mod settings;
14pub use settings::*;
15#[cfg(feature="database")]
16pub mod analysis_engine;
17#[cfg(feature="database")]
18pub use analysis_engine::*;
19pub mod cuts;
20pub use cuts::*;
21pub mod alerts;
22pub use alerts::*;
23pub mod tof_response;
24pub use tof_response::*;
25#[cfg(feature="tof-liftof")]
26pub mod thread_control;
27#[cfg(feature="tof-liftof")]
28pub use thread_control::ThreadControl;
29#[cfg(feature="tof-liftof")]
30pub mod master_trigger;
31#[cfg(feature="tof-liftof")]
32pub use master_trigger::*;
33#[cfg(feature="tof-liftof")]
34pub use master_trigger::control::*;
35#[cfg(feature="tof-liftof")]
36pub use master_trigger::registers::*;
37#[cfg(feature="tof-liftof")]
38pub mod signal_handler;
39#[cfg(feature="tof-liftof")]
40pub use signal_handler::*;
41pub mod analysis;
42pub use analysis::*;
43
44#[cfg(feature="pybindings")]
45use pyo3::pyfunction;
46#[cfg_attr(feature="pybindings", pyfunction)]
48pub fn to_board_id_string(rb_id: u32) -> String {
49 format!("RB{:02}", rb_id)
50}
51
52