CMS 3D CMS Logo

SiPixelHitStatus.h
Go to the documentation of this file.
1 #ifndef CUDADataFormats_TrackingRecHit_interface_SiPixelHitStatus_H
2 #define CUDADataFormats_TrackingRecHit_interface_SiPixelHitStatus_H
3 
4 #include <cstdint>
5 
6 // more information on bit fields : https://en.cppreference.com/w/cpp/language/bit_field
8  bool isBigX : 1; // ∈[0,1]
9  bool isOneX : 1; // ∈[0,1]
10  bool isBigY : 1; // ∈[0,1]
11  bool isOneY : 1; // ∈[0,1]
12  uint8_t qBin : 3; // ∈[0,1,...,7]
13 };
14 
15 #endif