diff --git a/L1Trigger/L1THGCal/plugins/be_algorithms/FullModuleSumAlgo.cc b/L1Trigger/L1THGCal/plugins/be_algorithms/FullModuleSumAlgo.cc index 43956af91e9af..0ef2579bc86c5 100644 --- a/L1Trigger/L1THGCal/plugins/be_algorithms/FullModuleSumAlgo.cc +++ b/L1Trigger/L1THGCal/plugins/be_algorithms/FullModuleSumAlgo.cc @@ -12,7 +12,7 @@ class FullModuleSumAlgo : public Algorithm FullModuleSumAlgo(const edm::ParameterSet& conf): Algorithm(conf), - cluster_product( new l1t::HGCalClusterBxCollection ){} + cluster_product_( new l1t::HGCalClusterBxCollection ){} virtual void setProduces(edm::EDProducer& prod) const override final { @@ -24,16 +24,16 @@ class FullModuleSumAlgo : public Algorithm virtual void putInEvent(edm::Event& evt) override final { - evt.put(std::move(cluster_product),name()); + evt.put(std::move(cluster_product_),name()); } virtual void reset() override final { - cluster_product.reset( new l1t::HGCalClusterBxCollection ); + cluster_product_.reset( new l1t::HGCalClusterBxCollection ); } private: - std::unique_ptr cluster_product; + std::unique_ptr cluster_product_; }; @@ -60,7 +60,7 @@ void FullModuleSumAlgo::run(const l1t::HGCFETriggerDigiCollection& coll, l1t::HGCalCluster cluster( reco::LeafCandidate::LorentzVector(), moduleSum, moduleId, 0); - cluster_product->push_back(0,cluster); + cluster_product_->push_back(0,cluster); } } diff --git a/L1Trigger/L1THGCal/plugins/be_algorithms/RandomClusterAlgo.cc b/L1Trigger/L1THGCal/plugins/be_algorithms/RandomClusterAlgo.cc index 7f11c58ca2896..dcceb29bfb208 100644 --- a/L1Trigger/L1THGCal/plugins/be_algorithms/RandomClusterAlgo.cc +++ b/L1Trigger/L1THGCal/plugins/be_algorithms/RandomClusterAlgo.cc @@ -10,7 +10,7 @@ class RandomClusterAlgo : public Algorithm { RandomClusterAlgo(const edm::ParameterSet& conf): Algorithm(conf), - cluster_product( new l1t::HGCalClusterBxCollection ){ + cluster_product_( new l1t::HGCalClusterBxCollection ){ } virtual void setProduces(edm::EDProducer& prod) const override final { @@ -21,15 +21,15 @@ class RandomClusterAlgo : public Algorithm { const std::unique_ptr& geom) override final; virtual void putInEvent(edm::Event& evt) override final { - evt.put(std::move(cluster_product),name()); + evt.put(std::move(cluster_product_),name()); } virtual void reset() override final { - cluster_product.reset( new l1t::HGCalClusterBxCollection ); + cluster_product_.reset( new l1t::HGCalClusterBxCollection ); } private: - std::unique_ptr cluster_product; + std::unique_ptr cluster_product_; }; @@ -47,7 +47,7 @@ void RandomClusterAlgo::run(const l1t::HGCFETriggerDigiCollection& coll, l1t::HGCalCluster cluster( reco::LeafCandidate::LorentzVector(), word1, word2, word3^word4 ); - cluster_product->push_back(0,cluster); + cluster_product_->push_back(0,cluster); } } diff --git a/L1Trigger/L1THGCal/plugins/be_algorithms/SingleCellClusterAlgo.cc b/L1Trigger/L1THGCal/plugins/be_algorithms/SingleCellClusterAlgo.cc index 32997944129f5..55e3ba4977e4f 100644 --- a/L1Trigger/L1THGCal/plugins/be_algorithms/SingleCellClusterAlgo.cc +++ b/L1Trigger/L1THGCal/plugins/be_algorithms/SingleCellClusterAlgo.cc @@ -12,7 +12,7 @@ class SingleCellClusterAlgo : public Algorithm SingleCellClusterAlgo(const edm::ParameterSet& conf): Algorithm(conf), - cluster_product( new l1t::HGCalClusterBxCollection ){} + cluster_product_( new l1t::HGCalClusterBxCollection ){} virtual void setProduces(edm::EDProducer& prod) const override final { @@ -24,16 +24,16 @@ class SingleCellClusterAlgo : public Algorithm virtual void putInEvent(edm::Event& evt) override final { - evt.put(std::move(cluster_product),name()); + evt.put(std::move(cluster_product_),name()); } virtual void reset() override final { - cluster_product.reset( new l1t::HGCalClusterBxCollection ); + cluster_product_.reset( new l1t::HGCalClusterBxCollection ); } private: - std::unique_ptr cluster_product; + std::unique_ptr cluster_product_; }; @@ -63,7 +63,7 @@ void SingleCellClusterAlgo::run(const l1t::HGCFETriggerDigiCollection& coll, cluster.setModule(moduleId.wafer()); cluster.setLayer(moduleId.layer()); cluster.setSubDet(moduleId.subdetId()); - cluster_product->push_back(0,cluster); + cluster_product_->push_back(0,cluster); } i++; }