[mcstas-users] uservars to reconstruct former PreMonitor_nD / Monitor_nD
Andreas Ostermann
Andreas.Ostermann at frm2.tum.de
Fri Jun 5 10:11:29 CEST 2026
Dear colleagues,
In the past, I have often used the "PreMonitor_nD / Monitor_nD" pair to
investigate the origin of neutrons which reach the sample in a upstream
positon. For example:
*******
COMPONENT PreMon_CS_area_mon = PreMonitor_nD(monitor_comp = CS_area_mon)
AT (0,0,0.0001) RELATIVE ColdSource
ROTATED (0,0,0) RELATIVE ColdSource
COMPONENT CS_area_mon = Monitor_nD(xmin=-0.01, xmax=0.01, ymin=-0.01,
ymax=0.01,
filename="CS_area_pre.psd",
options= "x,y, all bins=50, all
limits=[-0.12 0.12], use premonitor")
AT (0,0,0.0008) RELATIVE Arm_SAM_pos
ROTATED (0,0,0) RELATIVE Arm_SAM_pos
*******
In the current versions of McStas, I am supposed to use the "uservars"
concept to investigate or plot the status of neutrons earlier in the
instrument. Unfortunately, after reading the manuals, it is not entirely
clear to me how I can use the "uservars" concept to reconstruct the
"PreMonitor_nD / Monitor_nD" bundle.
I would be grateful for any help.
Best wishes from the MLZ,
Andreas Ostermann
--
*Dr. Andreas Ostermann*
Instrument BIODIFF
Technical University of Munich
Forschungs-Neutronenquelle
Heinz Maier-Leibnitz (FRM II)
Lichtenbergstr. 1
85748 Garching
Germany
Tel.: +49 (0)89 289-14702
andreas.ostermann at frm2.tum.de
www.mlz-garching.de <https://mlz-garching.de/>
www.frm2.tum.de <https://www.frm2.tum.de/frm2/startseite/>
Follow us on social media: error
<https://www.instagram.com/frm_ii/>error
<https://www.facebook.com/FRMII>error
<https://www.youtube.com/channel/UCupBuiPnpYkDpuJyQrMsvdA>error
<https://www.linkedin.com/company/frm-ii/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20260605/54cd3f6c/attachment.htm>
More information about the mcstas-users
mailing list