Diagnosing quark matter by measuring the total entropy and the photon or dilepton emission rates | Synapse