CUDADataFormats
TrackingRecHit
interface
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
7
struct
SiPixelHitStatus
{
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
struct
SiPixelHitStatusAndCharge
{
16
SiPixelHitStatus
status
;
17
uint32_t
charge
: 24;
18
};
19
20
#endif
SiPixelHitStatusAndCharge::charge
uint32_t charge
Definition:
SiPixelHitStatus.h:17
SiPixelHitStatus::isOneX
bool isOneX
Definition:
SiPixelHitStatus.h:9
SiPixelHitStatus
Definition:
SiPixelHitStatus.h:7
SiPixelHitStatus::isBigX
bool isBigX
Definition:
SiPixelHitStatus.h:8
SiPixelHitStatusAndCharge::status
SiPixelHitStatus status
Definition:
SiPixelHitStatus.h:16
SiPixelHitStatus::qBin
uint8_t qBin
Definition:
SiPixelHitStatus.h:12
SiPixelHitStatus::isBigY
bool isBigY
Definition:
SiPixelHitStatus.h:10
SiPixelHitStatusAndCharge
Definition:
SiPixelHitStatus.h:15
SiPixelHitStatus::isOneY
bool isOneY
Definition:
SiPixelHitStatus.h:11
Generated for CMSSW Reference Manual by
1.8.14