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, HGCEEDigiCollection> hit_modules_ee;
85 for(
const auto& eedata : ee_digis) {
89 itr_insert.first->second.push_back(eedata);
91 std::unordered_map<uint32_t,HGCHEDigiCollection> hit_modules_fh;
92 for(
const auto& fhdata : fh_digis) {
96 itr_insert.first->second.push_back(fhdata);
98 std::unordered_map<uint32_t,HGCBHDigiCollection> 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
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)
edm::SortedCollection< HGCBHDataFrame > HGCBHDigiCollection
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 bool disconnectedModule(const unsigned module_id) const =0
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)