CMS 3D CMS Logo

EcalMultifitParametersSoA.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalMultifitParametersSoA_h
2 #define CondFormats_EcalObjects_EcalMultifitParametersSoA_h
3 
4 #include <array>
8 
9 constexpr size_t kNTimeFitParams = 8;
10 constexpr size_t kNAmplitudeFitParams = 2;
11 using TimeFitParamsArray = std::array<float, kNTimeFitParams>;
12 using AmplitudeFitParamsArray = std::array<float, kNAmplitudeFitParams>;
13 
15  SOA_SCALAR(TimeFitParamsArray, timeFitParamsEB),
16  SOA_SCALAR(TimeFitParamsArray, timeFitParamsEE),
17  SOA_SCALAR(AmplitudeFitParamsArray, amplitudeFitParamsEB),
18  SOA_SCALAR(AmplitudeFitParamsArray, amplitudeFitParamsEE))
19 
21 
22 #endif
std::array< float, kNAmplitudeFitParams > AmplitudeFitParamsArray
constexpr size_t kNTimeFitParams
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition: SoALayout.h:426
#define SOA_SCALAR(TYPE, NAME)
Definition: SoACommon.h:553
constexpr size_t kNAmplitudeFitParams
std::array< float, kNTimeFitParams > TimeFitParamsArray