The California decision , which followed a four-day evidentiary hearing and a session at the San Quentin prison , was eagerly awaited and probably represents the fullest and most careful consideration yet of whether the way inmates are executed violates the Eight Amendment ban on cruel and unusual punishment .