ホームルームであれば
hōmurūmudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ホームルーム

1. If/when homeroom; If there is homeroom

Ba Conditional