Installing 36 ft. track panels on railroad. A panel had been lowered to the ground to be connected. The employee used a lining pry bar to make the connection. The bar was left for a moment and the panel moved causing the bar to strike the employee's hard hat and the hard hat cut the employee's head.