Skip to content

Commit

Permalink
Merge pull request cms-sw#2 from folguera/FixTo_epalencia_l1t-1109_v3
Browse files Browse the repository at this point in the history
Fix to l1t-1109_v3
  • Loading branch information
epalencia authored May 8, 2023
2 parents 56a81ec + 996d361 commit 53419b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Phase2L1TGMTFilter::Phase2L1TGMTFilter(const edm::ParameterSet& iConfig)
applyLowPtFilter_(iConfig.getParameter<bool>("applyLowPtFilter")),
ptBarrelMin_(iConfig.getParameter<int>("ptBarrelMin")),
ptEndcapMin_(iConfig.getParameter<int>("ptEndcapMin")) {
produces<std::vector<l1t::TrackerMuon> >("l1tTkMuonsGmtLowPtFix");
produces<std::vector<l1t::TrackerMuon> >("l1tTkMuonsGmtLowPtFix").setBranchAlias("tkMuLowPtFix");

}

Phase2L1TGMTFilter::~Phase2L1TGMTFilter() {
Expand Down Expand Up @@ -81,7 +82,7 @@ void Phase2L1TGMTFilter::produce(edm::Event& iEvent, const edm::EventSetup& iSet

// store results
std::unique_ptr<std::vector<l1t::TrackerMuon> > out1 = std::make_unique<std::vector<l1t::TrackerMuon> >(out);
iEvent.put(std::move(out1));
iEvent.put(std::move(out1),"l1tTkMuonsGmtLowPtFix");
}

// ------------ method called once each stream before processing any runs, lumis or events ------------
Expand Down

0 comments on commit 53419b9

Please sign in to comment.