Sort:  

The energy of the photon is measured through the frequency of the laser that is adjusted as finely as possible. For photons, energies and frequencies are the same thing, give or take. The precision of the laser of course limits the precision of the full thing.