Belle II Software  release-08-01-10
SVDOnlineToOfflineMap::SensorID Class Reference

Class to hold numbers related to sensor. More...

#include <SVDOnlineToOfflineMap.h>

Collaboration diagram for SVDOnlineToOfflineMap::SensorID:

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.
 
SensorIDoperator= (baseType id)
 check if VxdID is the same or not
 
 operator baseType ()
 returns the VxdID
 

Private Attributes

union {
   baseType   id: 10
 unique id
 
   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.
 

Detailed Description

Class to hold numbers related to sensor.

Definition at line 92 of file SVDOnlineToOfflineMap.h.


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