File indexing completed on 2024-04-06 12:20:38
0001 #ifndef __L1Trigger_L1THGCal_HGCalConcentratorTrigSumImpl_h__
0002 #define __L1Trigger_L1THGCal_HGCalConcentratorTrigSumImpl_h__
0003
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0006 #include "DataFormats/L1THGCal/interface/HGCalTriggerSums.h"
0007 #include "L1Trigger/L1THGCal/interface/HGCalTriggerTools.h"
0008 #include <vector>
0009
0010 class HGCalConcentratorTrigSumImpl {
0011 public:
0012 HGCalConcentratorTrigSumImpl(const edm::ParameterSet& conf);
0013
0014 void doSum(uint32_t module_id,
0015 const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput,
0016 std::vector<l1t::HGCalTriggerSums>& trigSumsVecOutput) const;
0017
0018 void setGeometry(const HGCalTriggerGeometryBase* const geom) { triggerTools_.setGeometry(geom); }
0019
0020 private:
0021 HGCalTriggerTools triggerTools_;
0022 };
0023
0024 #endif