diff --git a/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFilter.cc b/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFilter.cc index a9077b37ee8cf..418fcba525265 100644 --- a/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFilter.cc +++ b/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFilter.cc @@ -39,7 +39,8 @@ Phase2L1TGMTFilter::Phase2L1TGMTFilter(const edm::ParameterSet& iConfig) applyLowPtFilter_(iConfig.getParameter("applyLowPtFilter")), ptBarrelMin_(iConfig.getParameter("ptBarrelMin")), ptEndcapMin_(iConfig.getParameter("ptEndcapMin")) { - produces >("l1tTkMuonsGmtLowPtFix"); + produces >("l1tTkMuonsGmtLowPtFix").setBranchAlias("tkMuLowPtFix"); + } Phase2L1TGMTFilter::~Phase2L1TGMTFilter() { @@ -81,7 +82,7 @@ void Phase2L1TGMTFilter::produce(edm::Event& iEvent, const edm::EventSetup& iSet // store results std::unique_ptr > out1 = std::make_unique >(out); - iEvent.put(std::move(out1)); + iEvent.put(std::move(out1),"l1tTkMuonsGmtLowPtFix"); } // ------------ method called once each stream before processing any runs, lumis or events ------------