Skip to content
Snippets Groups Projects

Fix McParticleUtils compilation in HepMC2-based builds

Merged John Derek Chapman requested to merge jchapman/athena:McParticleUtils_HepMC2 into 23.0
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -452,7 +452,7 @@ bool McVtxFilter::checkTwoBodyDecay( HepMC::ConstGenVertexPtr vtx ) const
const int pdgId2= vtx->particles_out().at(1)->pdg_id();
#else
HepMC::GenVertex::particles_out_const_iterator itrPart = vtx->particles_out_const_begin();
const int pdgId1 = (*itrPart)->pdg_id());
const int pdgId1 = (*itrPart)->pdg_id();
++itrPart;
const int pdgId2 = (*itrPart)->pdg_id();
#endif
Loading