|
BmnRoot
|
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 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. | |
BmnScWall interface class to the unique address.
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 22 of file BmnScWallAddress.h.
|
inlinestatic |
Return address from system ID, Cell ID.
| [in] | Cell | id. |
Definition at line 28 of file BmnScWallAddress.h.
References kSCWALL.
Referenced by BmnScWallGeo::GetAddressFromPath(), BmnScWallRaw2Digit::ParseCalibration(), and BmnScWallRaw2Digit::ParseConfig().
|
inlinestatic |
Return address from system ID, Cell ID.
| [in] | Cell | id. |
Definition at line 28 of file BmnScWallAddress.h.
References kSCWALL.
|
inlinestatic |
Return Cell id from address.
| [in] | address | Unique channel address. |
Definition at line 51 of file BmnScWallAddress.h.
Referenced by BmnScWallDigit::GetCellId(), BmnScWallGeo::GetMaxCellId(), and BmnScWallReconstructor::ParseGeometry().
|
inlinestatic |
Return Cell id from address.
| [in] | address | Unique channel address. |
Definition at line 51 of file BmnScWallAddress.h.
|
inlinestatic |
Return System identifier from address.
| [in] | address | Unique channel address. |
Definition at line 41 of file BmnScWallAddress.h.
Referenced by BmnScWallDigit::GetSystemId().
|
inlinestatic |
Return System identifier from address.
| [in] | address | Unique channel address. |
Definition at line 41 of file BmnScWallAddress.h.