Skip to content
Snippets Groups Projects
Commit 543e26ea authored by John Chapman's avatar John Chapman
Browse files

Fix McEventCollectionFilter compilation in master--HepMC2 nightlies

parent cd619678
1 merge request!60364Fix McEventCollectionFilter compilation in master--HepMC2 nightlies
......@@ -49,7 +49,7 @@ StatusCode HitsTruthRelinkBase::getReferenceBarcode(const EventContext &ctx, int
ATH_MSG_ERROR("Truth collection should have at least one vertex!");
return StatusCode::FAILURE;
}
auto genVtx = *(genEvt->vertices_const_end());
auto genVtx = *(genEvt->vertices_end());
size_t nParticles = genVtx->particles_out_size();
if (nParticles == 0) {
ATH_MSG_ERROR("Truth vertex should have at least one particle!");
......
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