Component Manual for the Neutron Ray-Tracing Package McStas, version 3.8.6

14.101  The TOFSANSdet McStas Component

Multiple TOF detectors for SANS instrument. The component is to be placed at the sample position. For the time being better switch gravity off.

Identification

Description

TOF monitor that calculates I of q.

Example: TOFSANSdet();

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

Nq

1

Number of q-bins

100

plength

0.00286

ssdist

Source-Sample distance for TOF calculation.

27.0

coldis

Collimation length

20.0

Sthckn

cm

sample thickness

0.1

ds1

distance of detector 1

1.0

xw1

width of detector 1 (0 for off)

0.0

yh1

height of detector 1 (0 for off)

0.0

hl1

w/h of hole in det 1 (0 for off), full width

0.0

ds2

distance...........2

5.0

xw2

width..............2

1.0

yh2

heigth.............2

1.0

hl2

hole...............2

0.2

ds3

20.0

xw3

width..............3

1.0

yh3

height.............3

1.0

hl3

hole...............3 (beam stop, used for primary beam detection)

0.04

vx3

vertical extension of beam stop down (in case of gravity off set 0.0, otherwise value larger than 1.0)

0.0

tmin

s

Beginning of time window

0.005

tmax

s

End of time window

0.15

Nx

Number of horizontal detector pixels (detector 1,2,3) better leave unchanged

128.0

Ny

Number of vertical detector pixels (detector 1,2,3) better leave unchanged

128.0

Nt

Number of time bins (detector 1,2,3) better leave unchanged

500.0

qmin

1/A

Lower limit of q-range

0.0005

qmax

1/A

Upper limit of q-range

0.11

rstneu

restore neutron after treatment ??? (0.0 = no)

0.0

centol

tolerance of center determination (if center larger than centol*calculated_center then set back to theory)

0.1

inttol

tolerance of intensity (if primary beam intensity smaller than inttol*max_intensity then discard data)

0.0001

qcal

calibration of intensity (cps) to width of q-bin (non_zero = yes, zero = no)

1

fname

file name (first part without extensions)

0

Links