From 72ce18af5a338bcd3f0589a9f2d7ebc7ced65613 Mon Sep 17 00:00:00 2001 From: Grigory Date: Tue, 6 Oct 2015 17:07:43 +0200 Subject: [PATCH] fix pT selection --- HLTrigger/special/src/HLTPixlMBFilt.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HLTrigger/special/src/HLTPixlMBFilt.cc b/HLTrigger/special/src/HLTPixlMBFilt.cc index 7a582231b9506..b60e20468da55 100644 --- a/HLTrigger/special/src/HLTPixlMBFilt.cc +++ b/HLTrigger/special/src/HLTPixlMBFilt.cc @@ -95,6 +95,7 @@ bool HLTPixlMBFilt::hltFilter(edm::Event& iEvent, const edm::EventSetup& iSetup, int itrk = -1; if (tracks->size() >= min_trks_) { for (ipixl=apixl; ipixl!=epixl; ipixl++){ + if (ipixl->pt() < min_Pt_) continue; itrk++; const double& ztrk1 = ipixl->vz(); const double& etatrk1 = ipixl->momentum().eta(); @@ -110,6 +111,7 @@ bool HLTPixlMBFilt::hltFilter(edm::Event& iEvent, const edm::EventSetup& iSetup, // check this track against all others to see if others start from same point int jtrk=-1; for (jpixl=apixl; jpixl!=epixl; jpixl++) { + if (jpixl->pt() < min_Pt_) continue; jtrk++; if (jpixl==ipixl) continue; const double& ztrk2 = jpixl->vz();