Here k is the Boltzmann constant and T is the temperature of the system in the equilibrium state A or, equivalently, the temperature of the heat reservoir with which the system was thermalized before the process took place.