If necessary, he can hide his feelings.

Literal

Necessary case [subject-が] exists [conditional-ば] he [topic-は] his feelings [object-を] hiding [can-ことができる].

必要な場合があれば uses ば conditional. 感情をかくすことができる uses the formal potential. A description of emotional self-control.