Frame on roof of an electric engine for collecting current from an overhead wire