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);
82 "SingleCellClusterAlgoBestChoice");
86 "SingleCellClusterAlgoThreshold");
BXVector< HGCalTriggerCell > HGCalTriggerCellBxCollection
ParameterSet const & getParameterSet(ParameterSetID const &id)
SingleCellClusterAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &evt) final
SingleCellClusterAlgo< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdCodec::data_type > SingleCellClusterAlgoThreshold
edm::ESHandle< HGCalTopology > hgchefTopoHandle_
std::unique_ptr< l1t::HGCalTriggerCellBxCollection > cluster_product_
void setProduces(edm::stream::EDProducer<> &prod) const final
edm::ESHandle< HGCalTopology > hgceeTopoHandle_
HGCalTriggerCellCalibration calibration_
SingleCellClusterAlgo< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceCodec::data_type > SingleCellClusterAlgoBestChoice
std::unique_ptr< HGCalTriggerGeometryBase > ReturnType
void putInEvent(edm::Event &evt) final
char data[epos_bytes_allocation]
#define DEFINE_EDM_PLUGIN(factory, type, name)