|
typedef std::map< u8, TofPaddle > | TofPaddleMap |
| A map of paddle id -> TofPaddle.
|
|
typedef std::map< u8, std::map< u8, std::tuple< u8, TofPaddleEnd > > > | RbIdChannelPaddleIdMap |
| A map of RBID, RBCh -> TofPaddle.
|
|
typedef std::map< u8, std::map< u8, std::map< u8, u8 > > > | DsiJChnPaddleIdMap |
| A map of DSI,J -> TofPaddle.
|
|
typedef std::map< u32, TrackerStrip > | TrkStripMap |
| A map of strip identifier (layer-row-module-channel -> Tracker strip.
|
|
typedef std::map< u32, bool > | TrkStripMaskMap |
|
typedef std::map< u32, TrackerStripPedestal > | TrkStripPedMap |
|
typedef spdlog::level::level_enum | LOGLEVEL |
|
|
std::vector< std::string > | list_path_contents_sorted (const std::string &input) |
|
auto | get_tofpaddles () -> TofPaddleMap |
| Get a paddle from the database.
|
|
auto | get_rb_id_paddles () -> RbIdChannelPaddleIdMap |
| Get a paddle if the rb id and channel is known (HG)
|
|
auto | get_dsi_j_paddles () -> DsiJChnPaddleIdMap |
| Get a paddle if the dsi,j connection of a paddle is known (LTB, LG)
|
|
auto | get_trackerstrips () -> TrkStripMap |
| Retrieve all tracker strips from the database.
|
|
auto | get_module_position (u8 layer, u8 row, u8 mod, const TrkStripMap &) -> Vec< f32 > |
| Get the position of a module - returns in cm.
|
|
auto | get_trackerstripmasks (std::string mask_name="") -> TrkStripMaskMap |
|
auto | get_trackerstrippedestals () -> TrkStripPedMap |
|
std::string | severity_to_str (const LOGLEVEL &severity) |
|
void | set_loglevel (LOGLEVEL severity) |
|
template<typename T > |
Vec< T > | slice (const Vec< T > &vec, usize start, usize end) |
|
bool | parse_bool (const Vec< u8 > &bytestream, usize &pos) |
|
u8 | parse_u8 (const Vec< u8 > &bytestream, usize &pos) |
| get an unsigned char from a vector of bytes, advancing pos by 1
|
|
u16 | parse_u16 (const Vec< u8 > &bytestream, usize &pos) |
| get an unsigned short from a vector of bytes, advancing pos by 2
|
|
f32 | parse_f16 (const Vec< u8 > &bytestream, usize &pos) |
|
u32 | parse_u32 (const Vec< u8 > &bytestream, usize &pos) |
| get an unsigned 32bit int from a vector of bytes, advancing pos by 4
|
|
u64 | parse_u64 (const Vec< u8 > &bytestream, usize &pos) |
| get an unsigned long64 from a vector of bytes, advancing pos by 8
|
|
i32 | parse_i32 (const Vec< u8 > &bytestream, usize &pos) |
| get a signed 32bit int from a vector of bytes, advancing pos by 4
|
|
f32 | parse_f32 (const Vec< u8 > &bytestream, usize &pos) |
| get a signed float32 from a vector of bytes, advancning pos by 4
|
|
f64 | parse_f64 (const Vec< u8 > &bytestream, usize &pos) |
| get a signed long float (64) from a vector of bytes, advancing pos by 8
|
|
std::string | parse_string (const Vec< u8 > &bytestream, usize &pos) |
|
std::string | pversion_to_string (ProtocolVersion version) |
|
Bascially a re-write of some bfsw stuff to avoid pulling in the dependency