locomotive train passing through a level crossing .