def _run(self):
        self.tolerance = 1e-7
        """Defines the workflow for the test"""
        reducer = IndirectReducer()
        reducer.set_instrument_name(self.instr_name)
        reducer.set_detector_range(self.detector_range[0], self.detector_range[1])
        reducer.set_sum_files(self.sum_files)
        self.parameter_file = self.instr_name + "_graphite_002_Parameters.xml"
        reducer.set_parameter_file(self.parameter_file)

        for name in self.data_files:
            reducer.append_data_file(name)

        if self.rebin_string is not None:
            reducer.set_rebin_string(self.rebin_string)

        # Do the reduction and rename the result.
        reducer.reduce()
        self.result_names = sorted(reducer.get_result_workspaces())
    def _setup_reducer(self):
        self.file_formats = ["nxs", "spe", "nxspe", "ascii", "aclimax"]
        self.file_extensions = [".nxs", ".spe", ".nxspe", ".dat", "_aclimax.dat"]
        self.instr_name = "TOSCA"
        self.detector_range = [0, 139]
        self.data_files = ["TSC15352.raw"]
        self.rebin_string = "-2.5,0.015,3,-0.005,1000"
        self.parameter_file = self.instr_name + "_graphite_002_Parameters.xml"

        reducer = IndirectReducer()
        reducer.set_instrument_name(self.instr_name)
        reducer.set_detector_range(self.detector_range[0], self.detector_range[1])
        reducer.set_sum_files(False)
        reducer.set_parameter_file(self.parameter_file)
        reducer.set_save_formats(self.file_formats)

        for name in self.data_files:
            reducer.append_data_file(name)

        if self.rebin_string is not None:
            reducer.set_rebin_string(self.rebin_string)

        return reducer