6 using namespace HGCalTriggerBackend;
21 const std::unique_ptr<HGCalTriggerGeometryBase>&
geom)
override final;
27 virtual void reset() override final {
37 const std::unique_ptr<HGCalTriggerGeometryBase>&
geom) {
38 for(
const auto& digi : coll ) {
40 digi.decode(codec_,my_data);
42 unsigned word1 = my_data.
payload & 0xffff;
43 unsigned word2 = (my_data.
payload >> 16) & 0xffff;
44 unsigned word3 = (my_data.
payload >> 32) & 0xffff;
45 unsigned word4 = (my_data.
payload >> 48) & 0xffff;
48 word1, word2, word3^word4 );
50 cluster_product_->push_back(0,cluster);
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
virtual void putInEvent(edm::Event &evt) overridefinal
virtual void run(const l1t::HGCFETriggerDigiCollection &coll, const std::unique_ptr< HGCalTriggerGeometryBase > &geom) overridefinal
BXVector< HGCalCluster > HGCalClusterBxCollection
virtual void reset() overridefinal
#define DEFINE_EDM_PLUGIN(factory, type, name)
RandomClusterAlgo(const edm::ParameterSet &conf)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual void setProduces(edm::EDProducer &prod) const overridefinal