BmnRoot
Loading...
Searching...
No Matches
BmnScWallAddress Class Reference

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.
 

Detailed Description

BmnScWall interface class to the unique address.

Author
Nikolay Karpushkin karpu.nosp@m.shki.nosp@m.n@inr.nosp@m..ru
Version
1.0

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.

Member Function Documentation

◆ GetAddress() [1/2]

static uint32_t BmnScWallAddress::GetAddress ( uint32_t  CellId)
inlinestatic

Return address from system ID, Cell ID.

Parameters
[in]Cellid.

Definition at line 28 of file BmnScWallAddress.h.

References kSCWALL.

Referenced by BmnScWallGeo::GetAddressFromPath(), BmnScWallRaw2Digit::ParseCalibration(), and BmnScWallRaw2Digit::ParseConfig().

◆ GetAddress() [2/2]

static uint32_t BmnScWallAddress::GetAddress ( uint32_t  CellId)
inlinestatic

Return address from system ID, Cell ID.

Parameters
[in]Cellid.

Definition at line 28 of file BmnScWallAddress.h.

References kSCWALL.

◆ GetCellId() [1/2]

static uint32_t BmnScWallAddress::GetCellId ( uint32_t  address)
inlinestatic

Return Cell id from address.

Parameters
[in]addressUnique channel address.
Returns
Cell id from address.

Definition at line 51 of file BmnScWallAddress.h.

Referenced by BmnScWallDigit::GetCellId(), BmnScWallGeo::GetMaxCellId(), and BmnScWallReconstructor::ParseGeometry().

◆ GetCellId() [2/2]

static uint32_t BmnScWallAddress::GetCellId ( uint32_t  address)
inlinestatic

Return Cell id from address.

Parameters
[in]addressUnique channel address.
Returns
Cell id from address.

Definition at line 51 of file BmnScWallAddress.h.

◆ GetSystemId() [1/2]

static uint32_t BmnScWallAddress::GetSystemId ( uint32_t  address)
inlinestatic

Return System identifier from address.

Parameters
[in]addressUnique channel address.
Returns
System identifier from address.

Definition at line 41 of file BmnScWallAddress.h.

Referenced by BmnScWallDigit::GetSystemId().

◆ GetSystemId() [2/2]

static uint32_t BmnScWallAddress::GetSystemId ( uint32_t  address)
inlinestatic

Return System identifier from address.

Parameters
[in]addressUnique channel address.
Returns
System identifier from address.

Definition at line 41 of file BmnScWallAddress.h.


The documentation for this class was generated from the following files: