Algorithm Development and performance simulation for the STCF Level-1 Trigger