Assistant loco pilot at work dies of cardiac arrest