L1 and L2 trigger algorithms running on the pc-farm