29 virtual void reset() override final {
42 for(
const auto& digi : coll ) {
44 digi.decode(codec_,my_data);
46 unsigned word1 = my_data.
payload & 0xffff;
47 unsigned word2 = (my_data.
payload >> 16) & 0xffff;
48 unsigned word3 = (my_data.
payload >> 32) & 0xffff;
49 unsigned word4 = (my_data.
payload >> 48) & 0xffff;
52 word1, word2, word3^word4 );
54 cluster_product_->push_back(0,cluster);
RandomClusterAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
virtual void putInEvent(edm::Event &evt) override final
virtual void setProduces(edm::stream::EDProducer<> &prod) const override final
virtual void reset() override final
BXVector< HGCalCluster > HGCalClusterBxCollection
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &evt) override final
math::XYZTLorentzVector LorentzVector
Lorentz vector.