![]() |
Belle II Software development
|
Class to hold FADC+APV25 numbers. More...
#include <SVDOnlineToOfflineMap.h>
Public Types | |
| typedef unsigned short | baseType |
| Typedefs of the compound id type and chip number types. | |
| typedef unsigned char | chipNumberType |
| Type of chip numbers. | |
Public Member Functions | |
| ChipID (baseType id=0) | |
| Constructor taking a compound id. | |
| ChipID (chipNumberType FADC, chipNumberType APV25) | |
| Constructor taking chip numbers. | |
| ChipID (const ChipID &other) | |
| Copy ctor. | |
| ChipID & | operator= (ChipID other) |
| Assignment from same type. | |
| ChipID & | operator= (baseType id) |
| Assignment from base type. | |
| operator baseType () | |
| cast to base type | |
| bool | operator== (const ChipID &other) const |
| equality | |
| bool | operator< (const ChipID &other) const |
| ordering | |
| baseType | getID () const |
| Get chip ID. | |
| chipNumberType | getFADC () const |
| Get FADC number. | |
| chipNumberType | getAPV25 () const |
| Get APV25 number. | |
| void | setID (baseType id) |
| Set chip ID. | |
| void | setFADC (chipNumberType FADC) |
| Set FADC number. | |
| void | setAPV25 (chipNumberType APV25) |
| Set APV25 number. | |
Private Attributes | ||
| union { | ||
| baseType id: 8 * sizeof(baseType) | ||
| unique id More... | ||
| struct { | ||
| chipNumberType FADC: 8 * sizeof(chipNumberType) | ||
| chipNumberType APV25: 8 * sizeof(chipNumberType) | ||
| } parts | ||
| Alternative struct representation. | ||
| } | m_id | |
| Union type representing the ChipID compound. | ||
Class to hold FADC+APV25 numbers.
Definition at line 37 of file SVDOnlineToOfflineMap.h.
| typedef unsigned short baseType |
Typedefs of the compound id type and chip number types.
Definition at line 40 of file SVDOnlineToOfflineMap.h.
| typedef unsigned char chipNumberType |
Type of chip numbers.
Definition at line 42 of file SVDOnlineToOfflineMap.h.
Constructor taking a compound id.
Definition at line 46 of file SVDOnlineToOfflineMap.h.
|
inline |
Constructor taking chip numbers.
Definition at line 48 of file SVDOnlineToOfflineMap.h.
|
inline |
Get APV25 number.
Definition at line 70 of file SVDOnlineToOfflineMap.h.
|
inline |
Get FADC number.
Definition at line 68 of file SVDOnlineToOfflineMap.h.
|
inline |
|
inline |
|
inline |
ordering
Definition at line 62 of file SVDOnlineToOfflineMap.h.
Assignment from base type.
Definition at line 56 of file SVDOnlineToOfflineMap.h.
Assignment from same type.
Definition at line 54 of file SVDOnlineToOfflineMap.h.
|
inline |
equality
Definition at line 60 of file SVDOnlineToOfflineMap.h.
|
inline |
Set APV25 number.
Definition at line 76 of file SVDOnlineToOfflineMap.h.
|
inline |
Set FADC number.
Definition at line 74 of file SVDOnlineToOfflineMap.h.
|
inline |
| chipNumberType APV25 |
Definition at line 86 of file SVDOnlineToOfflineMap.h.
| chipNumberType FADC |
Definition at line 85 of file SVDOnlineToOfflineMap.h.
| baseType id |
unique id
Definition at line 82 of file SVDOnlineToOfflineMap.h.