33 std::unique_ptr<HGCalTriggerFECodecBase>
codec_;
51 codec_->unSetDataPayload();
53 produces<l1t::HGCFETriggerDigiCollection>();
67 std::unique_ptr<l1t::HGCFETriggerDigiCollection>
82 std::unordered_map<uint32_t, HGCEEDigiCollection> hit_modules_ee;
83 for(
const auto& eedata : ee_digis) {
86 itr_insert.first->second.push_back(eedata);
88 std::unordered_map<uint32_t,HGCHEDigiCollection> hit_modules_fh;
89 for(
const auto& fhdata : fh_digis) {
92 itr_insert.first->second.push_back(fhdata);
96 fe_output->reserve(hit_modules_ee.size() + hit_modules_fh.size());
98 for(
const auto& module_hits : hit_modules_ee ) {
104 codec_->print(digi,output);
107 codec_->unSetDataPayload();
111 for(
const auto& module_hits : hit_modules_fh ) {
117 codec_->print(digi,output);
120 codec_->unSetDataPayload();
128 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)