Skip to content

Commit

Permalink
fix input token for jets in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mcitron committed Oct 27, 2021
1 parent b2005d8 commit 9f1aa4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions HLTrigger/JetMET/plugins/HLTCaloJetTimingFilter.cc
Expand Up @@ -72,8 +72,7 @@ HLTCaloJetTimingFilter::HLTCaloJetTimingFilter(const edm::ParameterSet& iConfig)
bool HLTCaloJetTimingFilter::hltFilter(edm::Event& iEvent,
const edm::EventSetup& iSetup,
trigger::TriggerFilterObjectWithRefs& filterproduct) const {
edm::Handle<reco::CaloJetCollection> jets;
iEvent.getByToken(jetInputToken_, jets);
auto const jets = iEvent.getHandle(jetInputToken_);
auto const& jetTimes = iEvent.get(jetTimesInputToken_);
auto const& jetCellsForTiming = iEvent.get(jetCellsForTimingInputToken_);
auto const& jetEcalEtForTiming = iEvent.get(jetEcalEtForTimingInputToken_);
Expand Down

0 comments on commit 9f1aa4d

Please sign in to comment.