In a medium bowl, combine the vinegar, capers, lemon juice, garlic, and rosemary. Add the olive oil and whisk to combine. Slice the tomatoes into thin strips and stir them into the dressing. Season with salt and cayenne and set aside for at least 30 minutes. Discard the garlic before using.