clearheaded

ˌklɪəˈhɛdɪd

adjective

alert and thinking logically and coherently.

he was finally clear-headed enough to make some sort of decision