10 template<
typename FECODEC,
typename DATA>
38 virtual void reset() override final
49 template<
typename FECODEC,
typename DATA>
56 for(
const auto& digi : coll )
61 digi.decode(codec_, data);
64 uint32_t moduleSum = 0;
65 for(
const auto& triggercell : data.payload)
67 moduleSum += triggercell.hwPt();
74 cluster_product_->push_back(0,cluster);
83 "FullModuleSumAlgoBestChoice");
87 "FullModuleSumAlgoThreshold");
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
virtual void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &evt) override final
virtual void putInEvent(edm::Event &evt) override final
void setModule(uint32_t module)
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
int wafer() const
get the wafer #
FullModuleSumAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
FullModuleSumAlgo< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceCodec::data_type > FullModuleSumAlgoBestChoice
BXVector< HGCalCluster > HGCalClusterBxCollection
char data[epos_bytes_allocation]
virtual void reset() override final
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual void setProduces(edm::stream::EDProducer<> &prod) const override final
FullModuleSumAlgo< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdCodec::data_type > FullModuleSumAlgoThreshold
math::XYZTLorentzVector LorentzVector
Lorentz vector.