Skip to content

Commit

Permalink
Merge pull request cms-sw#30615 from cms-l1t-offline/pr-112X-L1TrackT…
Browse files Browse the repository at this point in the history
…rigger_one_Producer

PR 11_2_X L1T TrackTrigger Hybrid Extended ONE Producer.
  • Loading branch information
cmsbuild authored Jul 9, 2020
2 parents e74fe08 + 42f033e commit 92997c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions L1Trigger/TrackFindingTracklet/plugins/L1FPGATrackProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Framework/interface/MakerMacros.h"
//
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/one/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/EventSetup.h"
Expand Down Expand Up @@ -129,7 +129,7 @@ struct L1TStubCompare {
}
};

class L1FPGATrackProducer : public edm::stream::EDProducer<> {
class L1FPGATrackProducer : public edm::one::EDProducer<edm::one::WatchRuns> {
public:
/// Constructor/destructor
explicit L1FPGATrackProducer(const edm::ParameterSet& iConfig);
Expand Down Expand Up @@ -193,6 +193,7 @@ class L1FPGATrackProducer : public edm::stream::EDProducer<> {
/// ///////////////// ///
/// MANDATORY METHODS ///
void beginRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void endRun(edm::Run const&, edm::EventSetup const&) override;
void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
};

Expand Down Expand Up @@ -290,6 +291,10 @@ L1FPGATrackProducer::~L1FPGATrackProducer() {
}
}

///////END RUN
//
void L1FPGATrackProducer::endRun(const edm::Run& run, const edm::EventSetup& iSetup) {}

////////////
// BEGIN JOB
void L1FPGATrackProducer::beginRun(const edm::Run& run, const edm::EventSetup& iSetup) {
Expand Down

0 comments on commit 92997c6

Please sign in to comment.