Classification of photochemical reactions