Trigger software for E906/SeaQuest