34 std::unique_ptr<HGCalTriggerFECodecBase>
codec_;
52 codec_->unSetDataPayload();
54 produces<l1t::HGCFETriggerDigiCollection>();
68 std::unique_ptr<l1t::HGCFETriggerDigiCollection>
84 std::unordered_map<uint32_t, HGCalDigiCollection> hit_modules_ee;
85 for(
const auto& eedata : ee_digis) {
89 itr_insert.first->second.push_back(eedata);
91 std::unordered_map<uint32_t,HGCalDigiCollection> hit_modules_fh;
92 for(
const auto& fhdata : fh_digis) {
96 itr_insert.first->second.push_back(fhdata);
98 std::unordered_map<uint32_t,HGCalDigiCollection> hit_modules_bh;
99 for(
const auto& bhdata : bh_digis) {
104 itr_insert.first->second.push_back(bhdata);
108 fe_output->reserve(hit_modules_ee.size() + hit_modules_fh.size() + hit_modules_bh.size());
109 for(
const auto& module_hits : hit_modules_ee ) {
115 codec_->unSetDataPayload();
117 for(
const auto& module_hits : hit_modules_fh ) {
123 codec_->unSetDataPayload();
125 for(
const auto& module_hits : hit_modules_bh ) {
131 codec_->unSetDataPayload();
137 auto fe_digis_coll = *fe_digis_handle;
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~HGCalTriggerDigiProducer() override
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::unique_ptr< HGCalTriggerFECodecBase > codec_
void beginRun(const edm::Run &, const edm::EventSetup &) override
void setDetId(const IDTYPE &id)
HGCalTriggerDigiProducer(const edm::ParameterSet &)
edm::ESHandle< HGCalTriggerGeometryBase > triggerGeometry_
std::unique_ptr< HGCalTriggerBackendProcessor > backEndProcessor_
virtual bool disconnectedModule(const unsigned module_id) const =0
virtual unsigned getModuleFromCell(const unsigned cell_det_id) const =0
void produce(edm::Event &, const edm::EventSetup &) override
ParameterSet const & getParameterSet(std::string const &) const
T const * product() const
T get(const Candidate &c)
edm::SortedCollection< HGCalDataFrame > HGCalDigiCollection