Development and validation of a novel photocalorimeter