![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef LWHISTBITUTILS_H
18 #define LWHISTBITUTILS_H
49 static int minZero(
int x) {
return std::max<int>(0,
x); }
char data[hepevt_bytes_allocation_ATLAS]
static T countSetBits(T data)
static uint32_t posLSB(uint32_t i)
static uint8_t posLSB(uint8_t i)
static uint8_t posMSB(uint8_t i)
static uint8_t totalSummedOffsetInStages(uint32_t stagepattern)
static void setBit(T &data, T ibit)
static T countSetBitsBefore(T data, T ibit)
static uint32_t posMSB(uint32_t i)
static int minZero(int x)
static bool bitIsSet(T data, T ibit)
static uint8_t stageOffset8Bits(uint32_t stagepattern)