#include <L1MuPacking.h>
Static Public Member Functions | |
static int | idxFromPacked (unsigned packed, unsigned int nbits) |
get the value from the packed notation (+/-) More... | |
static unsigned | packedFromIdx (int idx, unsigned int nbits) |
get the packed notation of a value, check range More... | |
static int | signFromPacked (unsigned packed, unsigned int nbits) |
get the sign from the packed notation (0=positive, 1=negative) More... | |
Additional Inherited Members | |
Public Member Functions inherited from L1MuPacking | |
virtual int | idxFromPacked (unsigned packed) const =0 |
get the value from the packed notation More... | |
virtual unsigned | packedFromIdx (int idx) const =0 |
get the packed notation of a value More... | |
virtual int | signFromPacked (unsigned packed) const =0 |
get the sign from the packed notation (0=positive, 1=negative) More... | |
virtual | ~L1MuPacking () |
Definition at line 111 of file L1MuPacking.h.
|
inlinestatic |
get the value from the packed notation (+/-)
Definition at line 117 of file L1MuPacking.h.
Referenced by L1MuBinnedScale::get_idx().
|
inlinestatic |
get the packed notation of a value, check range
Definition at line 119 of file L1MuPacking.h.
References training_settings::idx, and createfilelist::int.
Referenced by L1MuBinnedScale::getPacked().
|
inlinestatic |
get the sign from the packed notation (0=positive, 1=negative)
Definition at line 114 of file L1MuPacking.h.