5 thickness_corrections_(conf.getParameter<
std::vector<double>>(
"ThicknessCorrections"))
11 const std::vector<std::pair<DetId, uint32_t > >& linearized_dataframes,
12 std::map<HGCalDetId, uint32_t>&
payload)
14 if(linearized_dataframes.empty())
return;
16 for(
const auto& frame : linearized_dataframes)
18 DetId cellid(frame.first);
23 payload.emplace(triggercellid, 0);
24 uint32_t
value = frame.second;
25 unsigned det = cellid.
det();
52 value = (double)value*thickness_correction;
56 payload[triggercellid] +=
value;
HGCalVFESummationImpl(const edm::ParameterSet &conf)
const HGCalTopology & eeTopology() const
int type() const
get the type
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< double > thickness_corrections_
int waferTypeL(int wafer) const
const HGCalDDDConstants & dddConstants() const
void triggerCellSums(const HGCalTriggerGeometryBase &, const std::vector< std::pair< DetId, uint32_t > > &, std::map< HGCalDetId, uint32_t > &payload)
virtual unsigned getTriggerCellFromCell(const unsigned cell_det_id) const =0
const HGCalTopology & fhTopology() const
constexpr Detector det() const
get the detector field from this detid