<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi all,
<div><br>
</div>
<div>I can now report that the cause of the issue has been located and fixed in the development tree toward the next McStas 3.x and McXtrace 3.x releases.</div>
<div><br>
</div>
<div>You can also rest assured that the issue was of a cosmetic nature only, only affecting output headers, not the actual number of simulated / saved events.</div>
<div><br>
</div>
<div>Best,</div>
<div>Peter</div>
<div>
<div><br>
<blockquote type="cite">
<div>On 18 Apr 2023, at 15.13, Peter Kjær Willendrup <pkwi@fysik.dtu.dk> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi both,
<div><br>
</div>
<div>OK, thanks for testing.</div>
<div><br>
</div>
<div>Looking on my machine here with McStas 3.3, it seems the the <b>first </b>entry in mccode.sim (i.e. the “simulation level”) is OK, whereas the entries for any monitor after has been doubled:</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">McStas simulation description file for BNL_H8.</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">Date: Tue Apr 18 12:02:56 2023</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">Program: </span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">begin instrument: BNL_H8</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> File: BNL_H8_20230418_120254/mccode</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Source: BNL_H8.instr</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Parameters: lambda(double)</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Trace_enabled: yes</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Default_main: yes</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Embedded_runtime: yes</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">end instrument</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">begin simulation: BNL_H8_20230418_120254</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Format: McCode with text headers</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> URL: http://www.mccode.org</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Creator: </span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Instrument: BNL_H8.instr</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"><b> Ncount: 1000000</b></span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Trace: no</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Gravitation: no</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Seed: 1681812175442876</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Directory: BNL_H8_20230418_120254</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Param: lambda=2.36</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">end simulation</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">begin data</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Date: Tue Apr 18 12:02:57 2023 (1681812177)</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> type: array_2d(20, 20)</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> Source: BNL_H8 (BNL_H8.instr)</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> component: D0_Source</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> position: 0 0 0.0001</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> title: PSD monitor</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"><b> Ncount: 2000000</b></span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> filename: D0_Source.psd</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> statistics: X0=-0.00187139; dX=0.864864; Y0=0.0044862; dY=1.56205;</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> signal: Min=6.0781e-06; Max=1.04372e-05; Mean=7.97501e-06;</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> values: 0.00319 1.39945e-05 51960</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> xvar: X </span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> yvar: Y </span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> xlabel: X position [cm]</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> ylabel: Y position [cm]</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> zvar: I</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> zlabel: Signal per bin</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> xylimits: -1.5 1.5 -2.7 2.7</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures"> variables: I I_err N</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">end data</span></div>
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
<span style="font-variant-ligatures: no-common-ligatures">...</span></div>
</div>
<div><br>
</div>
<div>I would think this “only" a header / summary data - issue, but of course annoying. I don’t believe the actual number of simulated events is actually doubled.</div>
<div><br>
</div>
<div>Will investigate further during the next days and report back.</div>
<div><br>
</div>
<div>Best,</div>
<div>Peter</div>
<div>
<div><br>
<blockquote type="cite">
<div>On 18 Apr 2023, at 13.19, Emmanuel FARHI <emmanuel.farhi@synchrotron-soleil.fr> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<p style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
I can confirm this also holds for McXtrace, but only for the 'legacy' code.</p>
<p style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
McXtrace 3.x is OK.</p>
<p style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Emmanuel.</p>
<div class="moz-cite-prefix" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Le 18/04/2023 à 13:07, Richard Wagner a écrit :<br>
</div>
<blockquote type="cite" cite="mid:5a69f2e6-a6ea-ca90-de22-8df5f7bd9e5f@ill.fr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div style="margin: 0px; text-indent: 0px;">Hi Peter,</div>
<p style="margin: 0px; text-indent: 0px;"></p>
<div style="margin: 0px; text-indent: 0px;">as an example I took the<span class="Apple-converted-space"> </span><span style="color: rgb(0, 128, 0);">BTsimple.instr<span class="Apple-converted-space"> </span><font>from the template section.</font></span></div>
<div style="margin: 0px; text-indent: 0px;">The command to run McStas is:<span class="Apple-converted-space"> </span><span style="color: rgb(0, 0, 255);">mcrun BTsimple.instr -d BTsimple_20230418_115509<span class="Apple-converted-space"> </span><b>-n 1000</b><span class="Apple-converted-space"> </span>
lambda=10 dlambda=9.9 maxhd=3 maxvd=3 gw=0.1 gh=0.1 gL=50 gm=6 delta1=0 delta2=0</span></div>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"></p>
<div style="margin: 0px; text-indent: 0px;">and the reads (just as an example)<span class="Apple-converted-space"> </span></div>
<p style="margin: 0px; text-indent: 0px;"></p>
<div style="margin: 0px; text-indent: 0px;"><b><font face="monospace">BT_in.dat<span class="Apple-converted-space"> </span></font></b></div>
<p style="margin: 0px; text-indent: 0px;"></p>
<div style="margin: 0px; text-indent: 0px;"># Format: McCode with text headers # URL:<span class="Apple-converted-space"> </span><a class="moz-txt-link-freetext" href="http://www.mccode.org/" moz-do-not-send="true">http://www.mccode.org</a><span class="Apple-converted-space"> </span>#
Creator: # Instrument: BTsimple.instr<span class="Apple-converted-space"> </span><b># Ncount:</b><b><span class="Apple-converted-space"> </span>2000</b><span class="Apple-converted-space"> </span># Trace: no # Gravitation: no # Seed: 1681811710726221 # Directory:
/Users/wagnerrichard/BTsimple_20230418_115509 # Param: lambda=10 # Param: dlambda=9.9 # Param: maxhd=3 # Param: maxvd=3 # Param: gw=0.1 # Param: gh=0.1 # Param: gL=50 # Param: gm=6 # Param: delta1=0 # Param: delta2=0 # Date: Tue Apr 18 11:55:10 2023 (1681811710)
# type: array_1d(101) # Source: BTsimple (BTsimple.instr) # component: BT_in # position: 0 0 2 # title: Wavelength monitor # Ncount: 2000 # filename: BT_in.dat # statistics: X0=2.95806; dX=1.79349; # signal: Min=0; Max=1.42052e+11; Mean=7.26371e+09; # values:
7.33634e+11 2.44642e+11 34 # xvar: L # yvar: (I,I_err) # xlabel: Wavelength [AA] # ylabel: Intensity # xlimits: 0.1 19.9 # variables: L I I_err N 0.198019802 0.06290653129 0.06290653129 1 0.3940594059 0 0 0 0.5900990099 0 0 0 0.7861386139 0 0 0 0.9821782178
8.634588395e+10 8.634588395e+10 1 1.178217822 1.129377287e+11 1.129377287e+11 1 1.374257426 0 0 0 1.57029703 0 0 0 1.766336634 0 0 0 1.962376238 0 0 0 2.158415842 0 0 0 2.354455446 0 0 0 2.55049505 1.045974734e+11 1.045974734e+11 1 2.746534653 0 0 0 2.942574257
8.997598489e+10 8.997598489e+10 1 3.138613861 7.835386438e+10 7.835386438e+10 1 3.334653465 1.420521026e+11 1.004534555e+11 2 3.530693069 0 0 0 3.726732673 0 0 0 3.922772277 4.930911027e+10 4.930911027e+10 1 4.118811881 0 0 0 4.314851485 0 0 0 4.510891089
0 0 0 4.706930693 0 0 0 4.902970297 0 0 0 5.099009901 0 0 0 5.295049505 0 0 0 5.491089109 0 0 0 5.687128713 0 0 0 5.883168317 2.834814784e+10 2.005320461e+10 2 6.079207921 0 0 0 6.275247525 0 0 0 6.471287129 0 0 0 6.667326733 1.878195926e+10 1.328092168e+10
2 6.863366337 0 0 0 7.059405941 0 0 0 7.255445545 0 0 0 7.451485149 0 0 0 7.647524752 5150986989 5150986989 1 7.843564356 0 0 0 8.03960396 4013292994 4013292994 1 8.235643564 3595007505 3595007505 1 8.431683168 0 0 0 8.627722772 0 0 0 8.823762376 0 0 0 9.01980198
0 0 0 9.215841584 2189836065 2189836065 1 9.411881188 1988533204 1988533204 1 9.607920792 0 0 0 9.803960396 0 0 0 10 1492967095 1492967095 1 10.1960396 0 0 0 10.39207921 0 0 0 10.58811881 0 0 0 10.78415842 0 0 0 10.98019802 0 0 0 11.17623762 0 0 0 11.37227723
848524385.4 848524385.4 1 11.56831683 776540913.4 776540913.4 1 11.76435644 704975245.4 704975245.4 1 11.96039604 0 0 0 12.15643564 0 0 0 12.35247525 0 0 0 12.54851485 0 0 0 12.74455446 0 0 0 12.94059406 0 0 0 13.13663366 0 0 0 13.33267327 0 0 0 13.52871287
0 0 0 13.72475248 361109386.4 361109386.4 1 13.92079208 0 0 0 14.11683168 0 0 0 14.31287129 0 0 0 14.50891089 272324491.7 272324491.7 1 14.7049505 0 0 0 14.9009901 241800376.7 241800376.7 1 15.0970297 224371882.4 224371882.4 1 15.29306931 203464827.5 203464827.5
1 15.48910891 0 0 0 15.68514851 182210050 182210050 1 15.88118812 173421371.5 173421371.5 1 16.07722772 0 0 0 16.27326733 0 0 0 16.46930693 0 0 0 16.66534653 140822062.6 140822062.6 1 16.86138614 0 0 0 17.05742574 124243190.4 124243190.4 1 17.25346535 0 0
0 17.44950495 0 0 0 17.64554455 0 0 0 17.84158416 0 0 0 18.03762376 91358644.93 91358644.93 1 18.23366337 90222429.45 90222429.45 1 18.42970297 0 0 0 18.62574257 0 0 0 18.82178218 0 0 0 19.01782178 0 0 0 19.21386139 0 0 0 19.40990099 65966180.97 65966180.97
1 19.60594059 0 0 0 19.8019802 0 0 0<span class="Apple-converted-space"> </span><span style="color: rgb(0, 128, 0);"></span></div>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(0, 128, 0);"></span></p>
<div><br class="webkit-block-placeholder">
</div>
<div class="moz-cite-prefix">Holds for the rest of the dat-files and for simulations with higer n numbers<br>
</div>
<div class="moz-cite-prefix">I just took n = 1000 for demonstration purposes.<span class="Apple-converted-space"> </span><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Best</div>
<div class="moz-cite-prefix">Richard<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 18/04/2023 12:07, Peter Kjær Willendrup wrote:<br>
</div>
<blockquote type="cite" cite="mid:992C3873-952B-410C-A814-E3B6BD058B7E@fysik.dtu.dk">
Hi Richard,
<div><br>
</div>
<div><br>
</div>
<div>Hmm, no this sounds strange?</div>
<div><br>
</div>
<div>Could you help by providing a little bit more context? I.e. </div>
<div><br>
</div>
<div>* What are you running?</div>
<div>* How?</div>
<div>* Where do you read off the resulting Ncount?</div>
<div>
<div><br>
</div>
<div>Best,</div>
<div>Peter</div>
<div><br>
<blockquote type="cite">
<div>On 18 Apr 2023, at 11.58, Richard Wagner<span class="Apple-converted-space"> </span><a class="moz-txt-link-rfc2396E" href="mailto:wagnerrichard@ill.fr" moz-do-not-send="true"><wagnerrichard@ill.fr></a><span class="Apple-converted-space"> </span>wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>
<p>Dear McStas Experts and Community</p>
<p>Is there a reason that the in Mcstas 3.3 Ncount is twice as high then the "Ray count" selected?</p>
<p>eg.:<i><span class="Apple-converted-space"> </span>-n 1000</i><span class="Apple-converted-space"> </span>-><span class="Apple-converted-space"> </span><i># Ncount: 2000<span class="Apple-converted-space"> </span></i></p>
<p>Best</p>
<p>Richard</p>
<div class="moz-signature">--<span class="Apple-converted-space"> </span><br>
<b>Richard Wagner</b><br>
Postdoctoral Research Engineer<br>
Nuclear and Particle Physics Group<br>
Institut Laue-Langevin - ILL<br>
71, avenue des Martyrs<br>
CS 20156<br>
38042 Grenoble Cedex 9<br>
France<span class="Apple-converted-space"> </span><br>
<br>
<a href="x-msg://1/www.ill.eu" moz-do-not-send="true"><font color="#3984c6">www.ill.eu</font></a>
<div><br class="webkit-block-placeholder">
</div>
</div>
</div>
_______________________________________________<br>
mcstas-users mailing list<br>
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:mcstas-users@mcstas.org" moz-do-not-send="true">mcstas-users@mcstas.org</a><br>
<a class="moz-txt-link-freetext" href="https://mailman2.mcstas.org/mailman/listinfo/mcstas-users" moz-do-not-send="true">https://mailman2.mcstas.org/mailman/listinfo/mcstas-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<div class="moz-signature">--<span class="Apple-converted-space"> </span><br>
<b>Richard Wagner</b><br>
Postdoctoral Research Engineer<br>
Nuclear and Particle Physics Group<br>
Institut Laue-Langevin - ILL<br>
71, avenue des Martyrs<br>
CS 20156<br>
38042 Grenoble Cedex 9<br>
France<span class="Apple-converted-space"> </span><br>
<br>
<a href="x-msg://3/www.ill.eu" moz-do-not-send="true"><font color="#3984c6">www.ill.eu</font></a>
<div><br class="webkit-block-placeholder">
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
mcstas-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mcstas-users@mcstas.org">mcstas-users@mcstas.org</a>
<a class="moz-txt-link-freetext" href="https://mailman2.mcstas.org/mailman/listinfo/mcstas-users">https://mailman2.mcstas.org/mailman/listinfo/mcstas-users</a>
</pre>
</blockquote>
<div class="moz-signature" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
--<span class="Apple-converted-space"> </span><br>
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">
<div>
<div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"><span style="color: rgb(0, 0, 255);">/ ___|<span style="color: rgb(255, 153, 0);">__/\_</span>| | | ____|_ _| |</span><span class="Apple-converted-space"> </span> FARHI
Emmanuel</span><br>
<span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"><span style="color: rgb(0, 0, 255);">\___ \<span style="color: rgb(255, 153, 0);">\ </span>| | | _| | || |</span><span class="Apple-converted-space"> </span> Div Exp/Data
Reduction and Analysis Team</span><br>
<span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"><span style="color: rgb(0, 0, 255);"> ___)<span class="Apple-converted-space"> </span><span style="color: rgb(255, 153, 0);">/_ _</span>| |___| |___ | || |___</span><span class="Apple-converted-space"> </span>
Tel :<span class="Apple-converted-space"> </span><span class="Object" role="link" id="OBJ_PREFIX_DWT373_com_zimbra_phone"><a href="callto:+33%20%281%29%2069%2035%2096%2004">+33 (1) 69 35 96 04</a></span></span><br>
<span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"><span style="color: rgb(0, 0, 255);">|____/<span class="Apple-converted-space"> </span><span style="color: rgb(255, 153, 0);"> \/</span><span class="Apple-converted-space"> </span>|_____|_____|___|_____|</span><span class="Apple-converted-space"> </span> Saint-Aubin
BP 48 - 91192 GIF/YVETTE CEDEX</span><br>
<span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> <span class="Apple-converted-space"> </span><span style="color: rgb(0, 0, 255);">SYNCHROTRON</span><span class="Apple-converted-space"> </span> <span class="Object" role="link" id="OBJ_PREFIX_DWT374_com_zimbra_url"><a target="_blank" href="http://www.synchrotron-soleil.fr/" class="moz-txt-link-freetext">http://www.synchrotron-soleil.fr</a></span></span></div>
</div>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">mcstas-users
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<a href="mailto:mcstas-users@mcstas.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">mcstas-users@mcstas.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<a href="https://mailman2.mcstas.org/mailman/listinfo/mcstas-users" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://mailman2.mcstas.org/mailman/listinfo/mcstas-users</a></div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
mcstas-users mailing list<br>
mcstas-users@mcstas.org<br>
https://mailman2.mcstas.org/mailman/listinfo/mcstas-users<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>