File indexing completed on 2024-04-06 12:02:34
0001 #ifndef CondFormats_SiPixelObjects_interface_SiPixelMappingLayout_h
0002 #define CondFormats_SiPixelObjects_interface_SiPixelMappingLayout_h
0003
0004 #include <array>
0005 #include "DataFormats/SoATemplate/interface/SoALayout.h"
0006 #include "CondFormats/SiPixelObjects/interface/SiPixelROCsStatusAndMapping.h"
0007
0008 GENERATE_SOA_LAYOUT(SiPixelMappingLayout,
0009 SOA_COLUMN(unsigned int, fed),
0010 SOA_COLUMN(unsigned int, link),
0011 SOA_COLUMN(unsigned int, roc),
0012 SOA_COLUMN(unsigned int, rawId),
0013 SOA_COLUMN(unsigned int, rocInDet),
0014 SOA_COLUMN(unsigned int, moduleId),
0015 SOA_COLUMN(bool, badRocs),
0016 SOA_COLUMN(unsigned char, modToUnpDefault),
0017 SOA_SCALAR(unsigned int, size),
0018 SOA_SCALAR(bool, hasQuality))
0019
0020 using SiPixelMappingSoA = SiPixelMappingLayout<>;
0021 using SiPixelMappingSoAView = SiPixelMappingSoA::View;
0022 using SiPixelMappingSoAConstView = SiPixelMappingSoA::ConstView;
0023
0024 #endif