Put sliced tomatoes on a baking sheet, season with pepper and roast in a 210℃/410℉ oven until very soft, approx ½ hour. Cherry or grape tomatoes don't really need pre-roasting, just press into the ricotta mixture. I sometimes use a mix of different tomatoes.
In a bowl, mix ricotta, parmesan, eggs, herbs, salt and pepper (leftover roasted vegetables if using).
Divide the mixture between the two sheets of pastry, smoothing till nearly reaching the edges.
Arrange tomato over the top and press in, slightly. Arrange asparagus if using.
Bake in oven approx ½ hour until pastry is golden and bottom has crisped.
Serve as a side to meat, by itself with salad, or slice into smaller slices for finger food.