def runTest(self):
     name = 'SiO2'
     directBeams = '541838,541839'
     reflectedBeams = '541853,541854'
     foregroundWidth = [3, 15]
     angleOffset = [2, 5]
     angleWidth = 5
     ReflectometryILLAutoProcess(
         Run=reflectedBeams,
         DirectRun=directBeams,
         OutputWorkspace=name,
         SummationType='Coherent',
         AngleOption='DetectorAngle',
         DeltaQFractionBinning=0.5,
         DirectLowAngleFrgHalfWidth=foregroundWidth,
         DirectHighAngleFrgHalfWidth=foregroundWidth,
         DirectLowAngleBkgOffset=angleOffset,
         DirectLowAngleBkgWidth=angleWidth,
         DirectHighAngleBkgOffset=angleOffset,
         DirectHighAngleBkgWidth=angleWidth,
         ReflLowAngleFrgHalfWidth=foregroundWidth,
         ReflHighAngleFrgHalfWidth=foregroundWidth,
         ReflLowAngleBkgOffset=angleOffset,
         ReflLowAngleBkgWidth=angleWidth,
         ReflHighAngleBkgOffset=angleOffset,
         ReflHighAngleBkgWidth=angleWidth,
         WavelengthLowerBound=[3., 3.],
         WavelengthUpperBound=[27., 25.],
         GlobalScaleFactor=0.13)
 def runTest(self):
     name = 'Thick_HR_5'
     directBeams = '397812,397806,397808'
     reflectedBeams = '397826+397827,397828,397829+397830+397831+397832'
     foregroundWidth = [4, 5, 8]
     wavelengthLower = [3., 1.6, 2.]
     wavelengthUpper = [27., 25., 25.]
     angleOffset = 2
     angleWidth = 10
     ReflectometryILLAutoProcess(
         Run=reflectedBeams,
         DirectRun=directBeams,
         OutputWorkspace=name,
         SummationType='Incoherent',
         AngleOption='SampleAngle',
         DirectLowAngleFrgHalfWidth=foregroundWidth,
         DirectHighAngleFrgHalfWidth=foregroundWidth,
         DirectLowAngleBkgOffset=angleOffset,
         DirectLowAngleBkgWidth=angleWidth,
         DirectHighAngleBkgOffset=angleOffset,
         DirectHighAngleBkgWidth=angleWidth,
         ReflLowAngleFrgHalfWidth=foregroundWidth,
         ReflHighAngleFrgHalfWidth=foregroundWidth,
         ReflLowAngleBkgOffset=angleOffset,
         ReflLowAngleBkgWidth=angleWidth,
         ReflHighAngleBkgOffset=angleOffset,
         ReflHighAngleBkgWidth=angleWidth,
         WavelengthLowerBound=wavelengthLower,
         WavelengthUpperBound=wavelengthUpper,
         DeltaQFractionBinning=0.5)