Go to the documentation of this file.
20 #ifndef CBMTRDDETECTORID_H
21 #define CBMTRDDETECTORID_H 1
24 #include <RtypesCore.h>
183 static UInt_t
SetRowId(UInt_t address, Int_t newRowId) {
static const Int_t fgkRowIdShift
static UInt_t GetModuleAddress(UInt_t address)
Return unique module ID from address.
static const Int_t fgkLayerIdShift
static UInt_t GetAddress(Int_t layerId, Int_t moduleId, Int_t sectorId, Int_t rowId, Int_t columnId)
Return address from system ID, layer, module, sector, column and row IDs.
static const Int_t fgkColumnIdShift
static UInt_t GetSystemId(UInt_t address)
Return System identifier from address.
static UInt_t GetSectorId(UInt_t address)
Return sector ID from address.
static UInt_t SetLayerId(UInt_t address, Int_t newLayerId)
Set new layer ID for address.
static UInt_t GetLayerId(UInt_t address)
Return layer ID from address.
static const Int_t fgkModuleAddressStart
static UInt_t GetModuleId(UInt_t address)
Return module ID from address.
static UInt_t SetSectorId(UInt_t address, Int_t newSectorId)
Set new sector ID for address.
static const Int_t fgkModuleAddressLength
static UInt_t SetColumnId(UInt_t address, Int_t newColumnId)
Set new column ID for address.
static const Int_t fgkSystemIdShift
static const Int_t fgkSectorAddressStart
static UInt_t GetSectorAddress(UInt_t address)
Return unique sector ID from address.
static const Int_t fgkRowIdLength
@ kTrd
Transition Radiation Detector.
static const Int_t fgkModuleIdShift
static const Int_t fgkSectorAddressLength
static const Int_t fgkSectorIdLength
constexpr auto ToIntegralType(T enumerator) -> typename std::underlying_type< T >::type
static const Int_t fgkLayerIdLength
static const Int_t fgkSectorIdShift
static UInt_t SetRowId(UInt_t address, Int_t newRowId)
Set new row ID for address.
static const Int_t fgkModuleIdLength
static UInt_t SetModuleId(UInt_t address, Int_t newModuleId)
Set new module ID for address.
static const Int_t fgkSystemIdLength
static const Int_t fgkColumnIdLength
static UInt_t GetRowId(UInt_t address)
Return row ID from address.
static UInt_t GetColumnId(UInt_t address)
Return column ID from address.