Detachable locomotive wagon roof