Cut each tomato in half. Using a box grater, grate the tomatoes by putting the cut side on the grater (be careful of your fingers) and grate until you are left with the tomato skin. Discard the skin.
Grate the garlic into the tomato pulp then stir through the olive oil and season with salt and pepper.
Cook the pasta in a large pot of salted water until al dente.
Drain the pasta and toss through the tomato sauce.
Garnish with basil leaves and pecorino and serve right away.