Last year I visited the Moto Grand Prix in Barcelona (first weekend of June). Got a small and very basic hotel room in the centre of the city (10 minutes walking from Plaza de Catalunya and La Rambla) and took a shuttle bus from Passeig de Gracia straight to Montmelo Circuit and back.