|
BmnRoot
|
BmnNdet interface class to the unique address. More...
#include <BmnNdetAddress.h>
Public Member Functions | |
| virtual | ~BmnNdetAddress () |
| virtual | ~BmnNdetAddress () |
Static Public Member Functions | |
| static uint32_t | GetAddress (uint32_t ArmId, uint32_t RowId, uint32_t ColumnId, uint32_t LayerId) |
| Return address. | |
| static std::string | GetInfoString (uint32_t address) |
| Return a formatted string with all address components. | |
| static uint32_t | GetSystemId (uint32_t address) |
| Return System identifier from address. | |
| static uint32_t | GetArmId (uint32_t address) |
| Return Arm id from address. | |
| static uint32_t | GetRowId (uint32_t address) |
| Return Row id from address. | |
| static uint32_t | GetColumnId (uint32_t address) |
| Return Column id from address. | |
| static uint32_t | GetLayerId (uint32_t address) |
| Return Layer id from address. | |
| static uint32_t | GetAddress (uint32_t ArmId, uint32_t RowId, uint32_t ColumnId, uint32_t LayerId) |
| Return address. | |
| static std::string | GetInfoString (uint32_t address) |
| Return a formatted string with all address components. | |
| static uint32_t | GetSystemId (uint32_t address) |
| Return System identifier from address. | |
| static uint32_t | GetArmId (uint32_t address) |
| Return Arm id from address. | |
| static uint32_t | GetRowId (uint32_t address) |
| Return Row id from address. | |
| static uint32_t | GetColumnId (uint32_t address) |
| Return Column id from address. | |
| static uint32_t | GetLayerId (uint32_t address) |
| Return Layer id from address. | |
BmnNdet interface class to the unique address.
BmnNdetAddress is the class for the concrete interfaces to the unique address, which is encoded in a 32-bit field (uint32_t), for the Ndet detector elements.
3 2 1 0 Shift Bits Values
Current definition: 10987654321098765432109876543210 System id on bits 0- 4 00000000000000000000000000011111 << 0 5 31 ArmId on bits 5- 6 00000000000000000000000001100000 << 5 2 3 RowId on bits 7-10 00000000000000000000011110000000 << 7 4 15 ColumnId on bits 11-14 00000000000000000111100000000000 << 11 4 15 LayerId on bits 15-19 00000000000011111000000000000000 <<15 5 31
Definition at line 27 of file BmnNdetAddress.h.
|
inlinevirtual |
Definition at line 30 of file BmnNdetAddress.h.
|
inlinevirtual |
Definition at line 30 of file BmnNdetAddress.h.
|
inlinestatic |
Return address.
| [in] | ArmId | arm id. |
| [in] | RowId | row id. |
| [in] | ColumnId | column id. |
| [in] | LayerId | layer id. |
Definition at line 39 of file BmnNdetAddress.h.
References kNDET.
Referenced by BmnHistHgnd::FillFromDigi(), BmnNdetGeo::GetAddressFromPath(), BmnNdetEvent::GetCell(), BmnHgndRaw2Digit::ParseCalibration(), BmnNdetRaw2Digit::ParseCalibration(), BmnHgndRaw2Digit::ParseConfig(), and BmnNdetRaw2Digit::ParseConfig().
|
inlinestatic |
Return address.
| [in] | ArmId | arm id. |
| [in] | RowId | row id. |
| [in] | ColumnId | column id. |
| [in] | LayerId | layer id. |
Definition at line 39 of file BmnNdetAddress.h.
References kNDET.
|
inlinestatic |
Return Arm id from address.
| [in] | address | Unique channel address. |
Definition at line 79 of file BmnNdetAddress.h.
Referenced by BmnHistHgnd::CreateHistos(), BmnNdetAddressMixin< T >::GetArmId(), and GetInfoString().
|
inlinestatic |
Return Arm id from address.
| [in] | address | Unique channel address. |
Definition at line 79 of file BmnNdetAddress.h.
|
inlinestatic |
Return Column id from address.
| [in] | address | Unique channel address. |
Definition at line 99 of file BmnNdetAddress.h.
Referenced by BmnHistHgnd::CreateHistos(), BmnNdetAddressMixin< T >::GetColumnId(), and GetInfoString().
|
inlinestatic |
Return Column id from address.
| [in] | address | Unique channel address. |
Definition at line 99 of file BmnNdetAddress.h.
|
inlinestatic |
Return a formatted string with all address components.
| [in] | address | Unique channel address. |
Definition at line 55 of file BmnNdetAddress.h.
References GetArmId(), GetColumnId(), GetLayerId(), GetRowId(), and GetSystemId().
Referenced by BmnNdetDigi::DrawWfm(), BmnNdetDigitizer::Exec(), BmnNdet::FinaliseTrackProcessing(), BmnNdetDigit::Print(), BmnNdetPoint::Print(), BmnNdetCell::Print(), and BmnNdet::ProcessHits().
|
inlinestatic |
Return a formatted string with all address components.
| [in] | address | Unique channel address. |
Definition at line 55 of file BmnNdetAddress.h.
References GetArmId(), GetColumnId(), GetLayerId(), GetRowId(), and GetSystemId().
|
inlinestatic |
Return Layer id from address.
| [in] | address | Unique channel address. |
Definition at line 109 of file BmnNdetAddress.h.
Referenced by BmnHistHgnd::CreateHistos(), BmnHgndRaw2Digit::fillEvent(), GetInfoString(), and BmnNdetAddressMixin< T >::GetLayerId().
|
inlinestatic |
Return Layer id from address.
| [in] | address | Unique channel address. |
Definition at line 109 of file BmnNdetAddress.h.
|
inlinestatic |
Return Row id from address.
| [in] | address | Unique channel address. |
Definition at line 89 of file BmnNdetAddress.h.
Referenced by BmnHistHgnd::CreateHistos(), GetInfoString(), and BmnNdetAddressMixin< T >::GetRowId().
|
inlinestatic |
Return Row id from address.
| [in] | address | Unique channel address. |
Definition at line 89 of file BmnNdetAddress.h.
|
inlinestatic |
Return System identifier from address.
| [in] | address | Unique channel address. |
Definition at line 69 of file BmnNdetAddress.h.
Referenced by GetInfoString(), and BmnNdetAddressMixin< T >::GetSystemId().
|
inlinestatic |
Return System identifier from address.
| [in] | address | Unique channel address. |
Definition at line 69 of file BmnNdetAddress.h.