Contact devices on interior of tubes for detecting passage of carriers