File indexing completed on 2025-01-18 03:41:49
0001 #ifndef CondFormats_HGCalObjects_interface_HGCalCalibParamSoA_h
0002 #define CondFormats_HGCalObjects_interface_HGCalCalibParamSoA_h
0003
0004 #include <Eigen/Core>
0005 #include <Eigen/Dense>
0006
0007 #include "DataFormats/SoATemplate/interface/SoACommon.h"
0008 #include "DataFormats/SoATemplate/interface/SoALayout.h"
0009 #include "DataFormats/SoATemplate/interface/SoAView.h"
0010
0011
0012
0013 namespace hgcalrechit {
0014
0015
0016 GENERATE_SOA_LAYOUT(HGCalCalibParamSoALayout,
0017 SOA_COLUMN(float, ADC_ped),
0018 SOA_COLUMN(float, Noise),
0019 SOA_COLUMN(float, CM_slope),
0020 SOA_COLUMN(float, CM_ped),
0021 SOA_COLUMN(float, BXm1_slope),
0022 SOA_COLUMN(float, TOTtoADC),
0023 SOA_COLUMN(float, TOT_ped),
0024 SOA_COLUMN(float, TOT_lin),
0025 SOA_COLUMN(float, TOT_P0),
0026 SOA_COLUMN(float, TOT_P1),
0027 SOA_COLUMN(float, TOT_P2),
0028 SOA_COLUMN(float, TOAtops),
0029 SOA_COLUMN(float, MIPS_scale),
0030 SOA_COLUMN(unsigned char, valid)
0031 )
0032 using HGCalCalibParamSoA = HGCalCalibParamSoALayout<>;
0033
0034 }
0035
0036 #endif