CMS 3D CMS Logo

SiPixelROCsStatusAndMapping.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiPixelObjects_interface_SiPixelROCsStatusAndMapping_h
2 #define CondFormats_SiPixelObjects_interface_SiPixelROCsStatusAndMapping_h
3 
4 namespace pixelgpudetails {
5  // Maximum fed for phase1 is 150 but not all of them are filled
6  // Update the number FED based on maximum fed found in the cabling map
7  constexpr unsigned int MAX_FED = 150;
8  constexpr unsigned int MAX_LINK = 48; // maximum links/channels for Phase 1
9  constexpr unsigned int MAX_ROC = 8;
10  constexpr unsigned int MAX_SIZE = MAX_FED * MAX_LINK * MAX_ROC;
11  constexpr unsigned int MAX_SIZE_BYTE_BOOL = MAX_SIZE * sizeof(unsigned char);
12 } // namespace pixelgpudetails
13 
15  alignas(128) unsigned int fed[pixelgpudetails::MAX_SIZE];
16  alignas(128) unsigned int link[pixelgpudetails::MAX_SIZE];
17  alignas(128) unsigned int roc[pixelgpudetails::MAX_SIZE];
18  alignas(128) unsigned int rawId[pixelgpudetails::MAX_SIZE];
19  alignas(128) unsigned int rocInDet[pixelgpudetails::MAX_SIZE];
20  alignas(128) unsigned int moduleId[pixelgpudetails::MAX_SIZE];
21  alignas(128) unsigned char badRocs[pixelgpudetails::MAX_SIZE];
22  alignas(128) unsigned int size = 0;
23 };
24 
25 #endif // CondFormats_SiPixelObjects_interface_SiPixelROCsStatusAndMapping_h
unsigned char badRocs[pixelgpudetails::MAX_SIZE]
unsigned int rawId[pixelgpudetails::MAX_SIZE]
unsigned int moduleId[pixelgpudetails::MAX_SIZE]
unsigned int roc[pixelgpudetails::MAX_SIZE]
unsigned int rocInDet[pixelgpudetails::MAX_SIZE]
constexpr unsigned int MAX_ROC
unsigned int link[pixelgpudetails::MAX_SIZE]
constexpr unsigned int MAX_FED
constexpr unsigned int MAX_SIZE
constexpr unsigned int MAX_SIZE_BYTE_BOOL
unsigned int fed[pixelgpudetails::MAX_SIZE]
constexpr unsigned int MAX_LINK