An apparatus for measuring photoproduction reactions in the GeV range with on-line data analysis facilities