Torque (at the wheel): Determines if you can get up the hill.
HP: Determines how fast you get up the hill.
Key point: Torque measured at the wheel. A gas engine with half the torque running twice the RPM thru a lower gear will go just as fast as the diesel. The question is does the gas powered truck have the gearing to do that.