#include <L1MuPacking.h>
Public Member Functions | |
virtual int | idxFromPacked (unsigned packed) const |
get the value from the packed notation (+/-) More... | |
virtual unsigned | packedFromIdx (int idx) const |
get the packed notation of a value, check range More... | |
virtual int | signFromPacked (unsigned packed) const |
get the sign from the packed notation (0=positive, 1=negative) More... | |
Packing of a signed int in a bit field (2's complement)
Definition at line 86 of file L1MuPacking.h.
|
inlinevirtual |
get the value from the packed notation (+/-)
Implements L1MuPacking.
Definition at line 92 of file L1MuPacking.h.
Referenced by L1MuGMTMerger::projectedPhi(), and L1MuGMTLFMatchQualLUT::TheLookupFunction().
|
inlinevirtual |
get the packed notation of a value, check range
Implements L1MuPacking.
Definition at line 94 of file L1MuPacking.h.
References customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTMatcher::lookup_mq(), L1MuDTTrack::setEta(), L1MuGMTLFCOUDeltaEtaLUT::TheLookupFunction(), L1MuGMTLFDeltaEtaLUT::TheLookupFunction(), and L1MuGMTLFPhiProLUT::TheLookupFunction().
|
inlinevirtual |
get the sign from the packed notation (0=positive, 1=negative)
Implements L1MuPacking.
Definition at line 89 of file L1MuPacking.h.