detector bar

Noun

 * 1)  A bar, connected with a switch, longer than the distance between any two consecutive wheels of a train, laid inside a rail and operated by the wheels so that the switch cannot be thrown until the entire train has passed the switch.