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_
void setProduces(edm::stream::EDProducer<> &prod) const final
BXVector< HGCalCluster > HGCalClusterBxCollection
void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &evt) final
#define DEFINE_EDM_PLUGIN(factory, type, name)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
void putInEvent(edm::Event &evt) final