<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Jesus,<br>
<br>
I think what you report is related to the fact that the setting of
component parameters, including the time copied into Monitor_nD
'uers1', takes place before the propagation to the actual component
geometry. Indeed the propagation is implemented within the TRACE
section, which requires all component parameters to be set
previously. Then the time you record is the one from the previous
component.<br>
<br>
The solution to what you wish to compute is to position a Monitor
just before the actual Monitor_nD using user1=t.<br>
<br>
Emmanuel.<br>
<br>
<div class="moz-cite-prefix">On 06/12/2015 11:08 AM, Jesús P. de
Vicente wrote:<br>
</div>
<blockquote
cite="mid:CABTc3j-WDqKvDK5U9vdZVQ-KYNjebbzw_0YXS5UgaCCQ5kDU3A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">I
am sorry Peter and Emmanuel,</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">I
realize that the mailing list is the best channel to ask
questions about McStas in order that all users can see it.</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Can
I ask this question about Monitor_nD there?<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Thanks</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Kind
regards</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr"><b><font color="#0b5394">Jesús P. de
Vicente.-</font></b></div>
</div>
</div>
<br>
<div class="gmail_quote">2015-05-29 17:36 GMT+02:00 Jesús P. de
Vicente <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jesuspedrodevicente@gmail.com"
target="_blank">jesuspedrodevicente@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Dear
Peter and Emmanuel,</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Could
I ask you a simple question about the<b> Monitor_nD</b>
component (McStas 2.1)?</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Why
I get different results with the following two syntax?</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">a)
<b>option="time"</b></div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">or </div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">b)
<b>user1 = t, option="user1"</b></div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">I
need to used the variable 't' in the user1 function in
order to determine the TOF2E.</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Nevertheless
I can get the same result if I use the <b>PROP_DT()</b>
macro in the EXTEND section of the previous component.</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Is
there a way to avoid this trick?</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Thanks.</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Regards</div>
<span class="HOEnZb"><font color="#888888">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"> </div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br>
</div>
<div>
<div>
<div dir="ltr"><b><font color="#0b5394">Jesús P.
de Vicente.-</font></b></div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>