32 std::unique_ptr<HGCalTriggerFECodecBase>
codec_;
50 codec_->unSetDataPayload();
52 produces<l1t::HGCFETriggerDigiCollection>();
66 std::unique_ptr<l1t::HGCFETriggerDigiCollection>
81 std::unordered_map<uint32_t, HGCEEDigiCollection> hit_modules_ee;
82 for(
const auto& eedata : ee_digis) {
85 itr_insert.first->second.push_back(eedata);
87 std::unordered_map<uint32_t,HGCHEDigiCollection> hit_modules_fh;
88 for(
const auto& fhdata : fh_digis) {
91 itr_insert.first->second.push_back(fhdata);
95 fe_output->reserve(hit_modules_ee.size() + hit_modules_fh.size());
96 for(
const auto& module_hits : hit_modules_ee ) {
102 codec_->unSetDataPayload();
104 for(
const auto& module_hits : hit_modules_fh ) {
110 codec_->unSetDataPayload();
116 auto fe_digis_coll = *fe_digis_handle;
T getParameter(std::string const &) const
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::SortedCollection< HGCEEDataFrame > HGCEEDigiCollection
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
ParameterSet const & getParameterSet(ParameterSetID const &id)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::unique_ptr< HGCalTriggerFECodecBase > codec_
virtual void produce(edm::Event &, const edm::EventSetup &)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void setDetId(const IDTYPE &id)
~HGCalTriggerDigiProducer()
HGCalTriggerDigiProducer(const edm::ParameterSet &)
edm::ESHandle< HGCalTriggerGeometryBase > triggerGeometry_
std::unique_ptr< HGCalTriggerBackendProcessor > backEndProcessor_
virtual unsigned getModuleFromCell(const unsigned cell_det_id) const =0
ParameterSet const & getParameterSet(std::string const &) const
T const * product() const
edm::SortedCollection< HGCHEDataFrame > HGCHEDigiCollection
T get(const Candidate &c)