The answer to your question would be that the sentence that is in the active voice is the following one: Hail pelted the roof.
In most English sentences with an action verb, the subject performs the action denoted by the verb. Because the subject acts upon the verb, those sentences are said to be active. In this case, Hail is the agent pelting the roof.