Generic software trigger, event building, and output in particle physics.