From d455c7cbe7bc032ae4db4b74b4fe2cb53cf93581 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sun, 2 Feb 2020 10:57:04 +0100 Subject: [PATCH] Report GEDGsfElectronFinalizer to be a stream module, instead of a global one --- .../plugins/GEDGsfElectronFinalizer.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RecoEgamma/EgammaElectronProducers/plugins/GEDGsfElectronFinalizer.cc b/RecoEgamma/EgammaElectronProducers/plugins/GEDGsfElectronFinalizer.cc index d8cab31cc5545..eb3e86f8663fd 100644 --- a/RecoEgamma/EgammaElectronProducers/plugins/GEDGsfElectronFinalizer.cc +++ b/RecoEgamma/EgammaElectronProducers/plugins/GEDGsfElectronFinalizer.cc @@ -2,18 +2,18 @@ #include "DataFormats/Common/interface/ValueMap.h" #include "DataFormats/EgammaCandidates/interface/GsfElectron.h" #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h" -#include "FWCore/Framework/interface/global/EDProducer.h" +#include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" -class GEDGsfElectronFinalizer : public edm::global::EDProducer<> { +class GEDGsfElectronFinalizer : public edm::stream::EDProducer<> { public: explicit GEDGsfElectronFinalizer(const edm::ParameterSet&); - void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override; + void produce(edm::Event&, const edm::EventSetup&) override; private: const edm::EDGetTokenT previousGsfElectrons_; @@ -50,7 +50,7 @@ GEDGsfElectronFinalizer::GEDGsfElectronFinalizer(const edm::ParameterSet& cfg) } } -void GEDGsfElectronFinalizer::produce(edm::StreamID, edm::Event& event, const edm::EventSetup& setup) const { +void GEDGsfElectronFinalizer::produce(edm::Event& event, const edm::EventSetup& setup) { // Output collection reco::GsfElectronCollection outputElectrons;