5#ifndef CBMMUSTADDRESS_H
6#define CBMMUSTADDRESS_H 1
62 static uint32_t
GetAddress(int32_t station = 0, int32_t layer = 0, int32_t module = 0, int32_t tube = 0);
65 static uint32_t
GetAddress(int32_t* elementIds);
103 return address & mask;
117 static uint32_t
SetElementId(uint32_t address, int32_t level, int32_t newId);
@ kMustSystem
System = MuST.
@ kMustNofLevels
Number of MuST levels.
Interface class to unique address for the MuST.
static uint32_t SetElementId(uint32_t address, int32_t level, int32_t newId)
static uint32_t GetAddress(int32_t station=0, int32_t layer=0, int32_t module=0, int32_t tube=0)
static int32_t GetSystemIndex(int32_t address)
static int32_t GetElementId(uint32_t address, int32_t level)
static int32_t GetTubeIndex(int32_t address)
static const int32_t fgkMask[kMustNofLevels]
static int32_t GetNofLevels()
static int32_t GetStationIndex(int32_t address)
static int32_t GetLayerIndex(int32_t address)
static int32_t GetModuleIndex(int32_t address)
ClassDef(CbmMustAddress, 1)
static int32_t GetNofBits(int32_t level)
static const int32_t fgkBits[kMustNofLevels]
static const int32_t fgkShift[kMustNofLevels]
static int32_t GetElementAddress(int32_t address, int32_t level)