Electric tamping rammer