#include <HGCalBackendLayer1Processor.h>
◆ HGCalBackendLayer1Processor()
HGCalBackendLayer1Processor::HGCalBackendLayer1Processor |
( |
const edm::ParameterSet & |
conf | ) |
|
◆ run()
Definition at line 11 of file HGCalBackendLayer1Processor.cc.
References clusteringDummy_, l1t::HGCalTriggerCell::detId(), HGCalProcessorBaseT< InputCollection, OutputCollection >::geometry(), HGCalTriggerGeometryBase::getModuleFromTriggerCell(), HGCalTriggerGeometryBase::getStage1FpgaFromModule(), mps_fire::i, BXVector< T >::size(), and truncation_.
18 std::unordered_map<uint32_t, std::vector<edm::Ptr<l1t::HGCalTriggerCell>>> tcs_per_fpga;
20 for (
unsigned i = 0;
i < collHandle->
size(); ++
i) {
24 tcs_per_fpga[fpga].push_back(tc_ptr);
27 std::vector<edm::Ptr<l1t::HGCalTriggerCell>> truncated_tcs;
28 for (
auto& fpga_tcs : tcs_per_fpga) {
29 truncation_->run(fpga_tcs.first, fpga_tcs.second, truncated_tcs);
virtual unsigned getStage1FpgaFromModule(const unsigned module_id) const =0
unsigned size(int bx) const
const HGCalTriggerGeometryBase * geometry() const
virtual unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const =0
std::unique_ptr< HGCalClusteringDummyImpl > clusteringDummy_
std::unique_ptr< HGCalStage1TruncationImpl > truncation_
◆ clusteringDummy_
◆ truncation_