10 template<
typename FECODEC,
typename DATA>
32 for(
const auto& digi :
coll )
37 digi.decode(codec_, data);
40 uint32_t moduleSum = 0;
41 for(
const auto& triggercell : data.payload)
43 moduleSum += triggercell.hwPt();
51 cluster_product_->push_back(0,cluster);
59 virtual void reset() override final
75 "FullModuleSumAlgoBestChoice");
79 "FullModuleSumAlgoThreshold");
void setSubDet(uint32_t subdet)
virtual void putInEvent(edm::Event &evt) override final
void setLayer(uint32_t layer)
void setModule(uint32_t module)
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
int wafer() const
get the wafer #
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
FullModuleSumAlgo(const edm::ParameterSet &conf)
FullModuleSumAlgo< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceCodec::data_type > FullModuleSumAlgoBestChoice
BXVector< HGCalCluster > HGCalClusterBxCollection
char data[epos_bytes_allocation]
virtual void reset() override final
virtual void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es) override final
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual void setProduces(edm::EDProducer &prod) const override final
FullModuleSumAlgo< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdCodec::data_type > FullModuleSumAlgoThreshold
math::XYZTLorentzVector LorentzVector
Lorentz vector.
int layer() const
get the layer #