Can coffee or sweets increase my BPM?

According to the ‘Journal of the American Heart’, coffee does not affect heart rate, based on the following study: http://www.independent.co.uk/life-style/health-and-families/health-news/coffee-does-not-affect-heart-rate-study-suggests-a6836456.html. As such, coffee or sweets would not impact your PAI score.