The company is a railroad company? Yeah, only if you are going to be in a job that is considered safety sensitive in actual railways such as engineer or conductor or whatever else is covered under the guidelines it will be a urine test. If the job is for a rail company and you are not assigned to a job that involves safety sensitive work, then they can do whatever test they wish.

I've been in the same boat. Doing work with a company that is under the DOT regulations but not actually assigned to that specific work, I was not under those testing guidelines and I had a 10 panel split NON-DOT test compared to those who did what I did, but in an area where gas was worked on, then they were tested under the 5 panel DOT test.

You need to find out if your job is considered safety sensitive as defined by the Fed regulations. If ANY aspect is, you fall under that category, and will be tested based on those guidelines. If NO aspect of your job is, then you fall under whatever test they implement.