CbmRoot
|
Go to the source code of this file.
Namespaces | |
CbmStsAddress | |
Functions to encode or decode the address field of STS data. | |
Enumerations | |
enum | EStsElementLevel { kStsSystem, kStsUnit, kStsLadder, kStsHalfLadder, kStsModule, kStsSensor, kStsSide, kStsNofLevels } |
Functions | |
Int_t | CbmStsAddress::GetAddress (UInt_t unit=0, UInt_t ladder=0, UInt_t halfladder=0, UInt_t module=0, UInt_t sensor=0, UInt_t side=0, UInt_t version=kCurrentVersion) |
Construct address. More... | |
Int_t | CbmStsAddress::GetAddress (UInt_t *elementId, UInt_t version) |
Construct address. More... | |
Int_t | CbmStsAddress::GetMotherAddress (Int_t address, Int_t level) |
Construct the address of an element from the address of a descendant element. More... | |
UInt_t | CbmStsAddress::GetElementId (Int_t address, Int_t level) |
Get the index of an element. More... | |
ECbmModuleId | CbmStsAddress::GetSystemId (Int_t address) |
Get system Id (should be ECbmModuleId::kSts) More... | |
UInt_t | CbmStsAddress::GetVersion (Int_t address) |
Extract version number. More... | |
Int_t | CbmStsAddress::SetElementId (Int_t address, Int_t level, UInt_t newId) |
Set the index of an element, leaving the other element levels untouched. More... | |
std::string | CbmStsAddress::ToString (Int_t address) |
String output. More... | |
Variables | |
const UInt_t | CbmStsAddress::kCurrentVersion = 1 |
const Int_t | CbmStsAddress::kVersionSize = 4 |
const Int_t | CbmStsAddress::kVersionShift = 28 |
const Int_t | CbmStsAddress::kVersionMask = (1 << kVersionSize) - 1 |
Definition in file CbmStsAddress.h.
enum EStsElementLevel |
Enumerator for the hierarchy levels of the STS setup
Enumerator | |
---|---|
kStsSystem | |
kStsUnit | |
kStsLadder | |
kStsHalfLadder | |
kStsModule | |
kStsSensor | |
kStsSide | |
kStsNofLevels |
Definition at line 16 of file CbmStsAddress.h.