CbmRoot
|
Base class for interfaces to the unique address. More...
#include <CbmAddress.h>
Public Member Functions | |
CbmAddress () | |
virtual | ~CbmAddress () |
Static Public Member Functions | |
static int32_t | GetNofSystemBits () |
static int32_t | GetSystemId (uint32_t address) |
Static Protected Attributes | |
static const int32_t | fgkSystemBits = 4 |
Base class for interfaces to the unique address.
CbmAddress is the base class for the concrete interfaces to the unique address, which is encoded in a 32-bit field (int32_t). The definition of this bit field is different for the various detector systems; common for all is that the first four bits are reserved for the system identifier.
Definition at line 27 of file CbmAddress.h.
|
inline |
Constructor
Definition at line 30 of file CbmAddress.h.
|
inlinevirtual |
Destructor
Definition at line 34 of file CbmAddress.h.
|
inlinestatic |
Number of bits for system Id in the address field
Definition at line 40 of file CbmAddress.h.
References fgkSystemBits.
Referenced by TEST().
|
inlinestatic |
Get the system Id from the address
address | Unique address |
Definition at line 47 of file CbmAddress.h.
References fgkSystemBits.
Referenced by CbmRecoSts::ProcessData(), CbmRecoStsPixel::ProcessData(), and TEST().
|
staticprotected |
Number of bits for system Id in the address field
Definition at line 52 of file CbmAddress.h.
Referenced by GetNofSystemBits(), GetSystemId(), and CbmTofAddress::GetUniqueAddress().