It's a signal for the streetcar, lights like it are commonly used in streetcar/tram systems.