4 : thickness_corrections_(conf.getParameter<
std::vector<double>>(
"ThicknessCorrections")),
5 lsb_silicon_fC_(conf.getParameter<double>(
"siliconCellLSB_fC")),
6 lsb_scintillator_MIP_(conf.getParameter<double>(
"scintillatorCellLSB_MIP")),
7 thresholds_silicon_(conf.getParameter<
std::vector<double>>(
"thresholdsSilicon")),
8 threshold_scintillator_(conf.getParameter<double>(
"thresholdScintillator")) {
9 const unsigned nThickness = 3;
13 <<
" (the number of sensor thicknesses)";
17 << nThickness <<
" (the number of sensor thicknesses)";
22 const std::vector<std::pair<DetId, uint32_t>>& linearized_dataframes,
23 std::unordered_map<uint32_t, uint32_t>&
payload) {
24 if (linearized_dataframes.empty())
27 for (
const auto& frame : linearized_dataframes) {
28 DetId cellid(frame.first);
29 uint32_t
value = frame.second;
44 payload.emplace(tcid, 0);
50 value = (double)value * thickness_correction;
54 payload[tcid] +=
value;
HGCalVFESummationImpl(const edm::ParameterSet &conf)
HGCalTriggerTools triggerTools_
std::vector< double > thresholds_silicon_
std::vector< double > thickness_corrections_
double threshold_scintillator_
double lsb_scintillator_MIP_
void triggerCellSums(const HGCalTriggerGeometryBase &, const std::vector< std::pair< DetId, uint32_t > > &, std::unordered_map< uint32_t, uint32_t > &payload)
virtual unsigned getTriggerCellFromCell(const unsigned cell_det_id) const =0