#include <Hardware.h>
Inheritance diagram for DayaBay::RpcHardwareId:
Public Member Functions | |
RpcHardwareId () | |
RpcHardwareId (int panelId, int layer, int strip) | |
RpcHardwareId (int data) | |
virtual | ~RpcHardwareId () |
RpcHardwareId & | operator= (const RpcHardwareId &id) |
int | panelId () const |
int | layer () const |
int | strip () const |
int | fullPackedData () const |
Hardware::Hardware_t | type () const |
int | id () const |
bool | operator== (const HardwareId &rhs) const |
bool | operator!= (const HardwareId &rhs) const |
Protected Attributes | |
unsigned int | m_data |
Definition at line 107 of file Hardware.h.
DayaBay::RpcHardwareId::RpcHardwareId | ( | ) | [inline] |
DayaBay::RpcHardwareId::RpcHardwareId | ( | int | panelId, | |
int | layer, | |||
int | strip | |||
) | [inline] |
Definition at line 110 of file Hardware.h.
00110 : 00111 HardwareId((0x000000ff & panelId)<<16 | 00112 (0x000000ff & layer)<<8 | 00113 (0x000000ff & strip), 00114 Hardware::kRpc) {}
DayaBay::RpcHardwareId::RpcHardwareId | ( | int | data | ) | [inline] |
virtual DayaBay::RpcHardwareId::~RpcHardwareId | ( | ) | [inline, virtual] |
RpcHardwareId& DayaBay::RpcHardwareId::operator= | ( | const RpcHardwareId & | id | ) | [inline] |
int DayaBay::RpcHardwareId::panelId | ( | ) | const [inline] |
int DayaBay::RpcHardwareId::layer | ( | ) | const [inline] |
int DayaBay::RpcHardwareId::strip | ( | ) | const [inline] |
int DayaBay::HardwareId::fullPackedData | ( | ) | const [inline, inherited] |
Hardware::Hardware_t DayaBay::HardwareId::type | ( | ) | const [inline, inherited] |
Definition at line 63 of file Hardware.h.
00064 { return (Hardware::Hardware_t)((m_data&0xff000000)>>24); }
int DayaBay::HardwareId::id | ( | ) | const [inline, inherited] |
Reimplemented in DayaBay::PmtHardwareId.
Definition at line 66 of file Hardware.h.
00066 { return (m_data & 0x00ffffff); }
bool DayaBay::HardwareId::operator== | ( | const HardwareId & | rhs | ) | const [inline, inherited] |
bool DayaBay::HardwareId::operator!= | ( | const HardwareId & | rhs | ) | const [inline, inherited] |
unsigned int DayaBay::HardwareId::m_data [protected, inherited] |
Definition at line 73 of file Hardware.h.