Do not enter the railroad right-or-way to obtain any information on trains. Trespassing is illegal and dangerous. Only use designated pedestrian or highway-rail crossings.
Locomotive engineers are highly trained professionals and are doing the job they are paid to do. Safety is one of the core values within the railroad industry. All railroad employees bear a great responsibility for safety of the public and their fellow employees. Do not attempt to contact the engineer. Do not throw objects at any part of the locomotive or train.
CALIFORNIA PENAL CODE SECTION 219.2
�219.2. Every person who willfully throws, hurls, or projects a stone or other hard substance, or shoots a missile, at a train, locomotive, railway car, caboose, cable railway car, street railway car, or bus or at a steam vessel or watercraft used for carrying passengers or freight on any of the waters within or bordering on this state, is punishable by imprisonment in the county jail not exceeding one year, or in a state prison, or by fine not exceeding two thousand dollars ($2,000), or by both such fine and imprisonment.