CMS 3D CMS Logo

SiPixelGainCalibrationForHLTLayout.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiPixelObjects_interface_SiPixelGainCalibrationForHLTLayout_h
2 #define CondFormats_SiPixelObjects_interface_SiPixelGainCalibrationForHLTLayout_h
3 
4 #include <array>
7 
8 namespace siPixelGainsSoA {
10  uint8_t gain;
11  uint8_t ped;
12  };
13 
14  using Ranges = std::array<uint32_t, phase1PixelTopology::numberOfModules>;
15  using Cols = std::array<int, phase1PixelTopology::numberOfModules>;
16 } // namespace siPixelGainsSoA
17 
20 
24 
25  SOA_SCALAR(float, minPed),
26  SOA_SCALAR(float, maxPed),
27  SOA_SCALAR(float, minGain),
28  SOA_SCALAR(float, maxGain),
29  SOA_SCALAR(float, pedPrecision),
30  SOA_SCALAR(float, gainPrecision),
31 
32  SOA_SCALAR(unsigned int, numberOfRowsAveragedOver),
33  SOA_SCALAR(unsigned int, nBinsToUseForEncoding),
34  SOA_SCALAR(unsigned int, deadFlag),
35  SOA_SCALAR(unsigned int, noisyFlag),
36  SOA_SCALAR(float, link))
37 
41 
42 #endif // CondFormats_SiPixelObjects_interface_SiPixelGainCalibrationForHLTLayout_h
std::array< int, phase1PixelTopology::numberOfModules > Cols
std::array< uint32_t, phase1PixelTopology::numberOfModules > Ranges
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition: SoALayout.h:431
#define SOA_SCALAR(TYPE, NAME)
Definition: SoACommon.h:553
#define SOA_COLUMN(TYPE, NAME)
Definition: SoACommon.h:554