Towards Tramway Safety by Managing Advanced Driver Assistance Systems depending on Grades of Automation ⁎This work has been funded by the Project: ELSAT 2020 by CISIT / GS2RI: Greener & Safer Rail Road Interaction. Issue 2 (2021)