Commit 6b2bb4b2 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'cherry-pick-456a161d [formerly 431e914a8c]-21.9' into '21.9'

Sweeping !16572 from 21.3 to 21.9.
Update EFMissingETFromTrackAndJets.cxx

See merge request atlas/athena!16778

Former-commit-id: 262ab94f0fb604bc371675d8c1f836845110a18a
parents 9d803968 92203371
......@@ -224,8 +224,8 @@ StatusCode EFMissingETFromTrackAndJets::execute(xAOD::TrigMissingET *,
bool accept = (itrk->pt()>500 && m_trackselTool->accept(*itrk, primaryVertex));
if (accept) ptsum_all += itrk->pt();
if (accept && ((!itrk->vertex() && fabs((itrk->z0()+itrk->vz()-primaryVertex->z())*sin(itrk->theta()))<3.) || itrk->vertex()==primaryVertex)) ptsum_pv += itrk->pt();
if (accept && !(!itrk->vertex() && fabs((itrk->z0()+itrk->vz()-primaryVertex->z())*sin(itrk->theta()))<3.)) ptsum_pileup += itrk->pt();
if (accept && ((!itrk->vertex() && fabs((itrk->z0()+itrk->vz()-primaryVertex->z())*sin(itrk->theta()))<3.) || itrk->vertex()==primaryVertex)) ptsum_pv += itrk->pt();
if (accept && !((!itrk->vertex() && fabs((itrk->z0()+itrk->vz()-primaryVertex->z())*sin(itrk->theta()))<3.) || itrk->vertex()==primaryVertex)) ptsum_pileup += itrk->pt();
}
//double JVF = ptsum_all>0 ? ptsum_pv/ptsum_all : -1;
double Rpt = ptsum_pv/jet->pt();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment