![]() |
Belle II Software development
|
Class to hold numbers related to sensor. More...
#include <SVDOnlineToOfflineMap.h>
Public Types | |
typedef unsigned short | baseType |
Typedefs of the compound id type and chip number types. | |
typedef unsigned short | sensorNumberType |
Type of chip numbers. | |
Public Member Functions | |
SensorID (baseType id=0) | |
Constructor taking a compound id. | |
SensorID (sensorNumberType layer, sensorNumberType ladder, sensorNumberType dssd, bool side) | |
Constructor taking sensor info. | |
SensorID & | operator= (baseType id) |
check if VxdID is the same or not | |
operator baseType () | |
returns the VxdID | |
Private Attributes | ||
union { | ||
baseType id: 10 | ||
unique id More... | ||
struct { | ||
sensorNumberType layer: 2 | ||
sensorNumberType ladder: 4 | ||
sensorNumberType dssd: 3 | ||
bool side: 1 | ||
} PARTS | ||
Alternative struct representation. | ||
} | m_ID | |
Union type representing the SensorID compound. | ||
Class to hold numbers related to sensor.
Definition at line 92 of file SVDOnlineToOfflineMap.h.
typedef unsigned short baseType |
Typedefs of the compound id type and chip number types.
Definition at line 95 of file SVDOnlineToOfflineMap.h.
typedef unsigned short sensorNumberType |
Type of chip numbers.
Definition at line 97 of file SVDOnlineToOfflineMap.h.
Constructor taking a compound id.
Definition at line 101 of file SVDOnlineToOfflineMap.h.
|
inline |
Constructor taking sensor info.
Definition at line 103 of file SVDOnlineToOfflineMap.h.
|
inline |
check if VxdID is the same or not
Definition at line 107 of file SVDOnlineToOfflineMap.h.
sensorNumberType dssd |
Definition at line 122 of file SVDOnlineToOfflineMap.h.
baseType id |
unique id
Definition at line 117 of file SVDOnlineToOfflineMap.h.
sensorNumberType ladder |
Definition at line 121 of file SVDOnlineToOfflineMap.h.
sensorNumberType layer |
Definition at line 120 of file SVDOnlineToOfflineMap.h.
bool side |
Definition at line 123 of file SVDOnlineToOfflineMap.h.