26 virtual void reset() override final {
36 for(
const auto& digi : coll ) {
38 digi.decode(codec_,my_data);
40 unsigned word1 = my_data.
payload & 0xffff;
41 unsigned word2 = (my_data.
payload >> 16) & 0xffff;
42 unsigned word3 = (my_data.
payload >> 32) & 0xffff;
43 unsigned word4 = (my_data.
payload >> 48) & 0xffff;
46 word1, word2, word3^word4 );
48 cluster_product_->push_back(0,cluster);
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
virtual void putInEvent(edm::Event &evt) override final
virtual void setProduces(edm::EDProducer &prod) const override final
virtual void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es) override final
virtual void reset() override final
BXVector< HGCalCluster > HGCalClusterBxCollection
#define DEFINE_EDM_PLUGIN(factory, type, name)
RandomClusterAlgo(const edm::ParameterSet &conf)
math::XYZTLorentzVector LorentzVector
Lorentz vector.