CMS 3D CMS Logo

HGCalMappingParameterSoA.h
Go to the documentation of this file.
1 #ifndef CondFormats_HGCalObjects_interface_HGCalMappingParameterSoA_h
2 #define CondFormats_HGCalObjects_interface_HGCalMappingParameterSoA_h
3 
7 
10 
11 namespace hgcal {
12 
13  // Generate structure of channel-level arrays (SoA) layout with module mapping information
14  GENERATE_SOA_LAYOUT(HGCalMappingModuleParamSoALayout,
15  SOA_COLUMN(bool, valid),
16  SOA_COLUMN(bool, zside),
17  SOA_COLUMN(bool, isSiPM),
18  SOA_COLUMN(int, plane),
19  SOA_COLUMN(int, i1),
20  SOA_COLUMN(int, i2),
21  SOA_COLUMN(int, celltype),
22  SOA_COLUMN(uint16_t, typeidx),
23  SOA_COLUMN(uint16_t, fedid),
24  SOA_COLUMN(uint16_t, slinkidx),
25  SOA_COLUMN(uint16_t, captureblock),
26  SOA_COLUMN(uint16_t, econdidx),
27  SOA_COLUMN(uint16_t, captureblockidx),
28  SOA_COLUMN(uint32_t, eleid),
29  SOA_COLUMN(uint32_t, detid))
31 
32  // Generate structure of channel-level arrays (SoA) layout with cell mapping information for both silicon and SiPM
34  SOA_COLUMN(bool, valid),
35  SOA_COLUMN(bool, isHD),
36  SOA_COLUMN(bool, iscalib),
37  SOA_COLUMN(bool, isSiPM),
38  SOA_COLUMN(uint16_t, typeidx),
39  SOA_COLUMN(uint16_t, chip),
40  SOA_COLUMN(uint16_t, half),
41  SOA_COLUMN(uint16_t, seq),
42  SOA_COLUMN(uint16_t, rocpin),
43  SOA_COLUMN(int, sensorcell),
44  SOA_COLUMN(int, triglink),
45  SOA_COLUMN(int, trigcell),
46  SOA_COLUMN(int, i1), // iu/iring
47  SOA_COLUMN(int, i2), // iv/iphi
48  SOA_COLUMN(int, t),
49  SOA_COLUMN(float, trace),
50  SOA_COLUMN(uint32_t, eleid),
51  SOA_COLUMN(uint32_t, detid))
53 
54 } // namespace hgcal
55 
56 #endif // CondFormats_HGCalObjects_interface_HGCalMappingParameterSoA_h
T trace(ROOT::Math::SMatrix< T, N, N > const &matrix)
int zside(DetId const &)
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition: SoALayout.h:431
bool isSiPM(int ieta, int iphi, int depth)
#define SOA_COLUMN(TYPE, NAME)
Definition: SoACommon.h:564