def __init__(self, data_queue_in):
     BackendWorker.__init__(self)
     self._lock = Lock()
     self._data_queue_in = data_queue_in
     self._reducer = BasicPowderDiffraction()
     self._filter_pulses = False
     self._create_workspace_from_events_transition = CreateMantidWorkspaceFromEventsTransition()
     self._reduction_transition = ReductionTransition(self._create_workspace_from_events_transition, self._reducer)
     self._reduction_transition.accumulate_data = True
     self._filter_transition = MantidFilterTransition(self._reduction_transition)
     self._filter_transition.accumulate_data = True
     self._rebin_transition = MantidRebinTransition(self._filter_transition)
     self._gather_histogram_transition = GatherHistogramTransition(self._rebin_transition)
     self._gather_histogram_transition.accumulate_data = True
 def __init__(self, data_queue_out, host, port):
     BackendWorker.__init__(self)
     self._data_queue_out = data_queue_out
     self.socket = None
     self._host = host
     self._port = port