diff --git a/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx b/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx index f54cdcc7e2287fdfad2ec9b9e5538fed80b21bae..edc6bea04e0d8e115f5b12a8ef6c848231c1dab8 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx @@ -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