13 using namespace particleFlowRecHitProducer;
19 energyThresholdsHB_(iConfig.getParameter<
std::
array<double,
HCAL::kMaxDepthHB>>(
"energyThresholdsHB")),
20 energyThresholdsHE_(iConfig.getParameter<
std::
array<double,
HCAL::kMaxDepthHE>>(
"energyThresholdsHE")) {
21 setWhatProduced(
this);
26 desc.add<std::vector<double>>(
"energyThresholdsHB", {0.1, 0.2, 0.3, 0.3});
27 desc.add<std::vector<double>>(
"energyThresholdsHE", {0.1, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2});
35 product->view().energyThresholds()[
idx] = energyThresholdsHB_[
idx];
static constexpr uint32_t kMaxDepthHE
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
std::array< double, HCAL::kMaxDepthHB > energyThresholdsHB_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< reco::PFRecHitHCALParamsHostCollection > produce(PFRecHitHCALParamsRecord const &iRecord)
PFRecHitHCALParamsESProducer(edm::ParameterSet const &iConfig)
static constexpr uint32_t kMaxDepthHB
#define DEFINE_FWK_EVENTSETUP_ALPAKA_MODULE(type)
std::array< double, HCAL::kMaxDepthHE > energyThresholdsHE_