Plasma current and energetic electrons in the core plasma of a reversed field pinch