Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions L1Trigger/L1TTrackMatch/plugins/L1TkHTMissEmulatorProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

// Original Author: Hardik Routray
// Created: Mon, 11 Oct 2021
// Update: George Karathanasis, CU Boulder
// 2/4/2024

// system include files
#include <memory>
Expand Down Expand Up @@ -138,6 +140,8 @@ void L1TkHTMissEmulatorProducer::produce(edm::Event& iEvent, const edm::EventSet
//float tmp_jet_et_ = jetIter->pt(); // FIXME Get Et from the emulated jets
float tmp_jet_pt_ = jetIter->pt();

bool tmp_jet_isDisplaced_ = jetIter->dispflag();

l1tmhtemu::pt_t tmp_jet_pt =
l1tmhtemu::digitizeSignedValue<l1tmhtemu::pt_t>(jetIter->pt(), l1tmhtemu::kInternalPtWidth, l1tmhtemu::kStepPt);
l1tmhtemu::eta_t tmp_jet_eta = l1tmhtemu::digitizeSignedValue<l1tmhtemu::eta_t>(
Expand Down Expand Up @@ -204,6 +208,8 @@ void L1TkHTMissEmulatorProducer::produce(edm::Event& iEvent, const edm::EventSet
continue;
if (tmp_jet_nt < minNtracksHighPt_ && tmp_jet_pt > 400)
continue;
if (displaced_ && !tmp_jet_isDisplaced_)
continue;

if (debug_) {
sumPx_ += tmp_jet_px_;
Expand Down