Commit 456a161d authored by John Derek Chapman's avatar John Derek Chapman
Browse files

Merge branch 'TM-trkmht-2018-Dec-07_v1' into '21.3'

Update EFMissingETFromTrackAndJets.cxx

See merge request atlas/athena!16572

Former-commit-id: 431e914a8ce1d9fa27e7b6cf238f237fb460530a
parents 5afba336 e00b409b
......@@ -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