Go to the documentation of this file.
23 #ifndef CBMPSDADDRESS_H
24 #define CBMPSDADDRESS_H 1
27 #include <RtypesCore.h>
38 static UInt_t
GetAddress(Int_t moduleId, Int_t sectionId) {
81 static UInt_t
SetModuleId(UInt_t address, Int_t newModuleId) {
static const Int_t fgkSystemIdShift
static UInt_t SetModuleId(UInt_t address, Int_t newModuleId)
Set new module ID for address.
static UInt_t SetSectionId(UInt_t address, Int_t newSectionId)
Set new section ID for address.
static UInt_t GetSystemId(UInt_t address)
Return System identifier from address.
static UInt_t GetAddress(Int_t moduleId, Int_t sectionId)
Return address from system ID, module, Section.
static const Int_t fgkSystemIdLength
static const Int_t fgkSectionIdShift
static const Int_t fgkSectionIdLength
static const Int_t fgkModuleIdShift
static UInt_t GetModuleId(UInt_t address)
Return module ID from address.
static const Int_t fgkModuleIdLength
constexpr auto ToIntegralType(T enumerator) -> typename std::underlying_type< T >::type
CBM PSD interface class to the unique address.
@ kPsd
Projectile spectator detector.
static UInt_t GetSectionId(UInt_t address)
Return sector ID from address.