|
BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
|
BmnScWall interface class to the unique address. More...
#include <BmnScWallAddress.h>
Static Public Member Functions | |
| static uint32_t | GetAddress (uint32_t CellId) |
| Return address from system ID, Cell ID. | |
| static uint32_t | GetSystemId (uint32_t address) |
| Return System identifier from address. | |
| static uint32_t | GetCellId (uint32_t address) |
| Return Cell id from address. | |
Static Private Attributes | |
| static const uint32_t | fgkSystemIdLength = 31 |
| static const uint32_t | fgkCellIdLength = 1023 |
| static const uint32_t | fgkSystemIdShift = 0 |
| static const uint32_t | fgkCellIdShift = 5 |
BmnScWallAddress is the class for the concrete interfaces to the unique address, which is encoded in a 32-bit field (uint32_t), for the ScWall detector elements.
3 2 1 0 Shift Bits Values
Current definition: 10987654321098765432109876543210 System id on bits 0- 4 00000000000000000000000000011111 << 0 5 31 Cell id on bits 5-14 00000000000000000111111111100000 << 5 10 1023
Definition at line 23 of file BmnScWallAddress.h.
|
inlinestatic |
| [in] | CellId | Cell id. |
Definition at line 30 of file BmnScWallAddress.h.
References fgkCellIdLength, fgkCellIdShift, fgkSystemIdLength, fgkSystemIdShift, and kSCWALL.
Referenced by BmnScWallDigitizer::FillHitMap(), BmnScWallGeo::GetAddressFromPath(), BmnScWallRaw2Digit::ParseCalibrationJson(), and BmnScWallRaw2Digit::ParseConfig().
|
inlinestatic |
| [in] | address | Unique channel address. |
Definition at line 52 of file BmnScWallAddress.h.
References fgkCellIdLength, and fgkCellIdShift.
Referenced by BmnScWallDigit::GetCellId(), BmnScWallGeo::GetMaxCellId(), and BmnScWallReconstructor::ParseGeometry().
|
inlinestatic |
| [in] | address | Unique channel address. |
Definition at line 42 of file BmnScWallAddress.h.
References fgkSystemIdLength, and fgkSystemIdShift.
Referenced by BmnScWallDigit::GetSystemId().
|
staticprivate |
Definition at line 60 of file BmnScWallAddress.h.
Referenced by GetAddress(), and GetCellId().
|
staticprivate |
Definition at line 64 of file BmnScWallAddress.h.
Referenced by GetAddress(), and GetCellId().
|
staticprivate |
Definition at line 59 of file BmnScWallAddress.h.
Referenced by GetAddress(), and GetSystemId().
|
staticprivate |
Definition at line 63 of file BmnScWallAddress.h.
Referenced by GetAddress(), and GetSystemId().