10 template<
typename FECODEC,
typename DATA>
25 typedef std::unique_ptr<HGCalTriggerGeometryBase>
ReturnType;
37 for(
const auto& digi :
coll )
42 digi.decode(codec_, data);
43 for(
const auto& triggercell : data.payload)
45 if(triggercell.hwPt()>0)
50 calibration_.calibrateInGeV(calibratedtriggercell);
51 cluster_product_->push_back(0,calibratedtriggercell);
62 virtual void reset() override final
82 "SingleCellClusterAlgoBestChoice");
86 "SingleCellClusterAlgoThreshold");
BXVector< HGCalTriggerCell > HGCalTriggerCellBxCollection
virtual void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &evt) override final
ParameterSet const & getParameterSet(ParameterSetID const &id)
SingleCellClusterAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
SingleCellClusterAlgo< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdCodec::data_type > SingleCellClusterAlgoThreshold
virtual void reset() override final
virtual void setProduces(edm::stream::EDProducer<> &prod) const override final
edm::ESHandle< HGCalTopology > hgchefTopoHandle_
virtual void putInEvent(edm::Event &evt) override final
std::unique_ptr< l1t::HGCalTriggerCellBxCollection > cluster_product_
edm::ESHandle< HGCalTopology > hgceeTopoHandle_
HGCalTriggerCellCalibration calibration_
SingleCellClusterAlgo< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceCodec::data_type > SingleCellClusterAlgoBestChoice
std::unique_ptr< HGCalTriggerGeometryBase > ReturnType
char data[epos_bytes_allocation]
#define DEFINE_EDM_PLUGIN(factory, type, name)