Skip to content
Snippets Groups Projects
Commit d8005b1a authored by James Beacham's avatar James Beacham
Browse files

Merge branch 'PFODQA_ATLASRECTS_4181' into '21.0'

Fix for ATLASRECTS-4181, needed to run AOD to NTUP_PHYSVAL jobs

See merge request !5085

Former-commit-id: d988ce5b2b3e2f6d00851360eed7847ae89f8135
parents cd1f506f 4a86fee5
No related branches found
No related tags found
No related merge requests found
......@@ -72,16 +72,6 @@ StatusCode PhysValPFO::fillHistograms(){
}//If we have a vertex of type primary vertex
}//iterate over the vertices and check their type
if (nullptr == theVertex) {
ATH_MSG_VERBOSE("Could not find a primary vertex in this event " );
for (auto vertex : (*m_vertexContainerReadHandle.ptr())) {
if (xAOD::VxType::NoVtx == theVertex->vertexType() ) {
theVertex = vertex;
break;
}//if vertex of type NoVtx found
}//iterate over the vertices and check their type
}//if did not find PrimaryVertex
if (nullptr == theVertex) ATH_MSG_WARNING("Did not find either a PriVtx or a NoVtx in this event");
}//if valid read handle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment