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
SiPixelHitStatus
Definition: SiPixelHitStatus.h:7
SiPixelHitStatus::isOneX
bool isOneX
Definition: SiPixelHitStatus.h:9
SiPixelHitStatus::isOneY
bool isOneY
Definition: SiPixelHitStatus.h:11
SiPixelHitStatus::qBin
uint8_t qBin
Definition: SiPixelHitStatus.h:12
SiPixelHitStatus::isBigY
bool isBigY
Definition: SiPixelHitStatus.h:10
SiPixelHitStatus::isBigX
bool isBigX
Definition: SiPixelHitStatus.h:8