Almond apple tart

Ingredients:
Sweet shortcrust pastry (Pierre Hermé style):
250g flour,
75g icing sugar,
140g butter,
25g ground almonds,
2g salt,
1 egg.
Almond cream:
100g butter,
100g caster sugar,
100g ground almonds,
2 eggs.