Position-sensitive gas-filled detector with gaseous thermal-neutron
converter (box, cylinder or 'banana').
Author: Thorwald van Vuure
Date: Feb 21st, 2005
E. Farhi Aug 2008, allow event detector mode to save TOF signal
An n times m pixel Position Sensitive Detector (PSD), box, cylinder or banana
filled with a mixture of thermal-neutron converter gas and stopping gas.
This model implements wires detection, including charge drift, parallax, etc.
The default is a simple 1D/2D position detector. However, setting
the parameter 'type' to "events" will save the signal as an event file which
contains all neutron parameters at detection points, including time. This is
especially suited for TOF detectors. Please use Histogrammer afterwards.
The gas creation event (neutron absorption in gas) is flagged as SCATTERED==1,
and the charge detection (signal) is flagged as SCATTERED==2.
A flat rectangular box of given depth is simulated, or alternatively
a cylinder (when giving radius), or a horizontal cylindrical 'banana'
detector (when giving the width along the arc).
Box position is at its center, the 'banana' and cylinder have their
position at focus point, symetric in angular range for the 'banana'.
The converter gas can be specified as He-3, BF3 or N2.
The filling pressure of converter gas must be specified along
with the zdepth: this gives an absorption probability (e.g. ~90% for
0.18 nm neutrons at zdepth 3 cm and He-3 pressure 5 bar).
The stopping gas can be specified as one of the following gases:
CF4, C3H8, CO2, Xe/TMA or He, or any for which a table of stopping
powers is available. NB: each stopping gas table has specific
data on a pair of particles (from thermal-neutron absorptions in
either He-3, BF3 or N2) in a specific gas. Unusual choices like N2
as a converter and He as a stopping gas probably require the
calculation of a new table.
Tip: to do a simulation in pure He-3, specify 0 bar for the stopping gas.
The pressures of the two gases together put a lower limit on the
achievable spatial resolution, no matter what pixel size is
Example: 1 bar CF4 gives ~2.5 mm spatial resolution, 3 bar CF4 gives
~1 mm. C3H8 requires more pressure for the same resolution, then
Xe/TMA, then CO2 and finally He.
Taken into account are the following effects:
- (rectangularly distributed) error in the recorded position due to
the range of the neutron capture products in the gas
- angular dependence of absorption efficiency
- border effect (events outside the sensitive volume tend to be
counted in the border pixels)
- parallax effect (with, if desired, an electrostatic lens to
partially correct for this - use "LensOn=1")
- wall effect
To correctly take the wall effect into account, a value must be
specified for the energy threshold for acceptance of an event as a
valid neutron event. This normally serves to discriminate from
gammas. Because these are not simulated in McStas, a value of 0 keV
can be chosen for this threshold if one is interested in seeing the
maximum number of neutrons; however, a more realistic value would be
100 keV. This implies seeing the maximum number of neutrons as well,
except in geometries with dominating wall effect.
The border effect is a considerably complex phenomenon: it depends
on the precise electric field configuration near the border. It is
simulated here simply by introducing a dead zone, gas-filled,
bordering the sensitive volume. Events in there can still cause
signals in the detector. The dead zone can cause a shadow in the
sensitive volume, just as in reality.
The algorithm simply adds all events on the first 'pixel' in the
dead zone to the border pixels. This is a coarse approximation,
because the physical effect depends on the orientation of the
tracks and the energy threshold setting. The bottom line is that
tracking the position of the Center Of Gravity of the charge
deposition in the detector does not allow for accurate modeling of
the border effect, and therefore the border pixels should be
ignored, just as in a real detector.
Note that specifying 0 width of the dead zone next to the
sensitive volume, apart from being unrealistic, does not allow
accurate simulation of the border effect: in this case, there will
be a relative lack of events on the border pixels due to the wall
This component determines the position of the Center Of Gravity of
the charge cloud in the detector. It does not simulate independent
Manufacturing imperfections such as wire diameter variations and
spread in electronic amplifier component properties are not simulated.
This should allow an experimenter to identify these manufacturing
imperfections in his physical machine and correct for them.
Example: PSD_Detector(xwidth=0.192, yheight=0.192, nx=64, ny=64,
zdepth=0.03, threshold=100, borderx=-1, bordery=-1,
Example: PSD_Detector(xwidth=0.26, yheight=0.26, nx=128, ny=128,
zdepth=0.03, threshold=100, borderx=-1, bordery=-1,
Example: PSD_Detector(radius=0.0127, yheight=0.20, nx=1, ny=128,
Example: PSD_Detector(awidth=1.533, yheight=0.4, nx=640, ny=256,
radius=0.73, zdepth=0.032, dc=0.026, threshold=100,
WARNING: This is a contributed Component.
Parameters in boldface are required;
the others are optional.
Number of pixel columns
Number of pixel rows
Width of detector opening, in the case of a flat box
Radius of detector for cylindrical/banana shape
Width of detector opening along the horizontal arc of the detector, measured along the inside arc of the sensitive volume in the case of a 'banana' detector
Height of detector opening
Depth of the sensitive volume of the detector
Energy threshold for acceptance of an event
[bar] Pressure of gaseous thermal-neutron converter
Pressure of stopping gas
Performs energy interpolation if true
Fraction of statistical events to be treated by component. Set it to 0 to use real absorption probability
Gives more information and spectrum
set to 1 to simulate an electrostatic lens according to P. Van Esch, NIM A 540 (2005) pp. 361-367.
Distance from the entrance window to the cathode plane, where the correction zone of the lens ends for banana shape and LensOn=1
Width of (gas-filled) border on the side of the detector
Height of (gas-filled) border on the top/bottom of the detector giving rise to various border effects. Set to -2 to obtain the height of one pixel, -1 for the depth of the detector (default), or specify a non-negativedistance
Sigma of the error in position determination along the x axis (relative to xwidth), uniquely due to charge division readout. Set to 0 in case of independent channel readout along the x dimension
Relative sigma due to charge division in y direction, relative to yheight.
Size of neutron output buffer default is 0, i.e. save all - recommended.
If set, the monitor does not influence the neutron state
Angular opening of detector in the case of a 'banana' detector, then overrides awidth parameter
If set to 'events' detector signal saves signal into an event file to be read e.g. by Histogrammer. This is to be used for TOF detectors.
Name of file in which to store the detector image. The name of the component is used if file name is not specified
Filename of the stopping power table of the converter gas
Filename of the stopping power table of the stopping gas