diff --git a/Generators/AtlasHepMC/AtlasHepMC/GenEvent.h b/Generators/AtlasHepMC/AtlasHepMC/GenEvent.h
index 013422e4668fc66bcb9c5c5f945ef68839f21210..43e3b679b3bd080b22d24202dcba6d345659e612 100644
--- a/Generators/AtlasHepMC/AtlasHepMC/GenEvent.h
+++ b/Generators/AtlasHepMC/AtlasHepMC/GenEvent.h
@@ -94,7 +94,8 @@ public:
       }
     }
   }
-
+  std::unordered_map<int, GenVertexPtr> barcode_to_vertex_map() const { return m_vertexBC; }
+  std::unordered_map<int, GenParticlePtr> barcode_to_particle_map() const { return m_particleBC; }
 private:
   std::unordered_map<int, GenVertexPtr> m_vertexBC;
   std::unordered_map<int, GenParticlePtr> m_particleBC;