"Railroad." Any form of nonhighway ground transportation that runs on rails or electromagnetic guideways, including, but not limited to:
"Railroad carrier." A person, including, but not limited to, an owner or operator, providing railroad transportation.
"Railroad carrier's consent." Written or other affirmative communication of permission to be on railroad property. Consent shall not be implied.
"Railroad property." All tangible property owned, leased or operated by a railroad carrier, including a right-of-way, track, bridge, yard, shop, station, tunnel, viaduct, trestle, depot,warehouse, terminal or any other structure, appurtenance or equipment owned, leased or used in the operation of any railroad carrier, including a train, locomotive, engine, railroad car, work equipment, rolling stock or safety device. The term does not include a railroad carrier's administrative building or offices, office equipment or intangible property such as computer software or other information.
"Right-of-way." The track or roadbed owned, leased or operated by a railroad carrier which is located on either side of its tracks and which is readily recognizable to a reasonable person as being railroad property or is reasonably identified as such by fencing or appropriate signs.
"Yard." A system of parallel tracks, crossovers and switches where railroad cars are switched and made up into trains and where railroad cars, locomotives and other rolling stock are kept when not in use or when awaiting repairs.
18 Pa.C.S. § 3504