6 const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput,
7 std::vector<l1t::HGCalTriggerSums>& trigSumsVecOutput)
const {
12 for (
const auto& trigCell : trigCellVecInput) {
15 ptsum += trigCell.pt();
16 mipptsum += trigCell.mipPt();
17 hwptsum += trigCell.hwPt();
19 if (!trigCellVecInput.empty()) {
26 ts.setPosition(module_pos);
27 ts.setMipPt(mipptsum);
29 trigSumsVecOutput.push_back(ts);
auto module_id(edm::ModuleCallingContext const &mcc)
void doSum(uint32_t module_id, const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerSums > &trigSumsVecOutput) const
Geom::Phi< T > phi() const
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
HGCalConcentratorTrigSumImpl(const edm::ParameterSet &conf)
virtual GlobalPoint getModulePosition(const unsigned module_det_id) const =0
HGCalTriggerTools triggerTools_
void setP4(const LorentzVector &p4) final
set 4-momentum