Skip to content

Commit

Permalink
Fixed L1uGTTreeProducer.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
elfontan committed Jan 20, 2022
1 parent 2a3b82c commit 0083385
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions L1Trigger/L1TNtuples/plugins/L1uGTTreeProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ void L1uGTTreeProducer::analyze(edm::Event const &event, edm::EventSetup const &
}

edm::Handle<GlobalAlgBlkBxCollection> ugt;

event.getByToken(ugtToken_, ugt);

if (ugt.isValid()) {
results_ = &ugt->at(0, 0);
}
Expand Down

0 comments on commit 0083385

Please sign in to comment.