src
CondFormats
EcalObjects
interface
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>
5
#include "
DataFormats/SoATemplate/interface/SoACommon.h
"
6
#include "
DataFormats/SoATemplate/interface/SoALayout.h
"
7
#include "
DataFormats/SoATemplate/interface/SoAView.h
"
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
14
GENERATE_SOA_LAYOUT
(
EcalMultifitParametersSoALayout
,
15
SOA_SCALAR
(
TimeFitParamsArray
, timeFitParamsEB),
16
SOA_SCALAR
(
TimeFitParamsArray
, timeFitParamsEE),
17
SOA_SCALAR
(
AmplitudeFitParamsArray
, amplitudeFitParamsEB),
18
SOA_SCALAR
(
AmplitudeFitParamsArray
, amplitudeFitParamsEE))
19
20
using
EcalMultifitParametersSoA
=
EcalMultifitParametersSoALayout<>
;
21
22
#endif
AmplitudeFitParamsArray
std::array< float, kNAmplitudeFitParams > AmplitudeFitParamsArray
Definition:
EcalMultifitParametersSoA.h:12
kNTimeFitParams
constexpr size_t kNTimeFitParams
Definition:
EcalMultifitParametersSoA.h:9
SoAView.h
GENERATE_SOA_LAYOUT
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition:
SoALayout.h:426
SOA_SCALAR
#define SOA_SCALAR(TYPE, NAME)
Definition:
SoACommon.h:553
kNAmplitudeFitParams
constexpr size_t kNAmplitudeFitParams
Definition:
EcalMultifitParametersSoA.h:10
SoALayout.h
EcalMultifitParametersSoALayout
Definition:
EcalMultifitParametersSoA.h:18
TimeFitParamsArray
std::array< float, kNTimeFitParams > TimeFitParamsArray
Definition:
EcalMultifitParametersSoA.h:11
SoACommon.h
Generated for CMSSW Reference Manual by
1.8.14