6 : linLSB_(conf.getParameter<double>(
"linLSB")),
7 adcsaturation_(conf.getParameter<double>(
"adcsaturation")),
8 tdcnBits_(conf.getParameter<uint32_t>(
"tdcnBits")),
9 tdcOnset_(conf.getParameter<double>(
"tdcOnset")),
10 adcnBits_(conf.getParameter<uint32_t>(
"adcnBits")),
11 tdcsaturation_(conf.getParameter<double>(
"tdcsaturation")),
12 linnBits_(conf.getParameter<uint32_t>(
"linnBits")),
13 oot_coefficients_(conf.getParameter<
std::
vector<double>>(
"oot_coefficients")) {
16 throw cms::Exception(
"BadConfiguration") <<
"OOT subtraction needs " << kOot_order <<
" coefficients";
24 std::vector<std::pair<DetId, uint32_t>>& linearized_dataframes) {
29 for (
const auto&
frame : dataframes) {
34 double data =
frame[kIntimeSample].data();
45 if (amplitude_int == 0)
50 linearized_dataframes.emplace_back(
frame.id(), amplitude_int);
HGCalVFELinearizationImpl(const edm::ParameterSet &conf)
std::vector< double > oot_coefficients_
void linearize(const std::vector< HGCalDataFrame > &, std::vector< std::pair< DetId, uint32_t >> &)
char data[epos_bytes_allocation]