Details
Detector Rails are a type of rail that acts like a pressure plate, and the first rail switch.
When any kind of Minecart is on top of the Detector Rail, it will generate a redstone signal. The signal will be transmitted to blocks that are adjacent to the detector (including Powered Rail) and redstone placed under the rail, like pressure plates.