Skip to content

Commit 9c7c07a

Browse files
committed
Ficing track HT for phase2
1 parent 1234e95 commit 9c7c07a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

L1Trigger/L1TTrackMatch/plugins/L1TkHTMissEmulatorProducer.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
// Original Author: Hardik Routray
88
// Created: Mon, 11 Oct 2021
9+
// Update: George Karathanasis, CU Boulder
10+
// 2/4/2024
11+
912

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

144+
bool tmp_jet_isDisplaced_ = jetIter->dispflag();
145+
141146
l1tmhtemu::pt_t tmp_jet_pt =
142147
l1tmhtemu::digitizeSignedValue<l1tmhtemu::pt_t>(jetIter->pt(), l1tmhtemu::kInternalPtWidth, l1tmhtemu::kStepPt);
143148
l1tmhtemu::eta_t tmp_jet_eta = l1tmhtemu::digitizeSignedValue<l1tmhtemu::eta_t>(
@@ -204,6 +209,8 @@ void L1TkHTMissEmulatorProducer::produce(edm::Event& iEvent, const edm::EventSet
204209
continue;
205210
if (tmp_jet_nt < minNtracksHighPt_ && tmp_jet_pt > 400)
206211
continue;
212+
if (displaced_ && !tmp_jet_isDisplaced_)
213+
continue;
207214

208215
if (debug_) {
209216
sumPx_ += tmp_jet_px_;

0 commit comments

Comments
 (0)