We selected 40 patients who were candidates for elective thoracotomy in the Thoracic Surgery Department of the Federal University of So Paulo/Paulista School of Medicine , in the city of So Paulo , Brazil .