Detector Rails are a type of rail that acts like a pressure plate, therefore acting like rail-switches. 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.