[mcstas-users] Question about Monitor_nD
Jesús P. de Vicente
jesuspedrodevicente at gmail.com
Fri Jun 12 11:39:20 CEST 2015
Thanks Emmanuel,
I understand. What I did was to use the PROP_DT() macro in the EXTEND card
but your solution is better because I don't need to set up the TOF inside
the component outside. I will use it.
Thanks.
Regards
*Jesús P. de Vicente.-*
2015-06-12 11:26 GMT+02:00 Emmanuel FARHI <farhi at ill.fr>:
> Hello Jesus,
>
> 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.
>
> The solution to what you wish to compute is to position a Monitor just
> before the actual Monitor_nD using user1=t.
>
> Emmanuel.
>
>
> On 06/12/2015 11:08 AM, Jesús P. de Vicente wrote:
>
> I am sorry Peter and Emmanuel,
> I realize that the mailing list is the best channel to ask questions about
> McStas in order that all users can see it.
> Can I ask this question about Monitor_nD there?
>
> Thanks
> Kind regards
>
> *Jesús P. de Vicente.-*
>
> 2015-05-29 17:36 GMT+02:00 Jesús P. de Vicente <
> jesuspedrodevicente at gmail.com>:
>
>> Dear Peter and Emmanuel,
>>
>> Could I ask you a simple question about the* Monitor_nD* component
>> (McStas 2.1)?
>>
>> Why I get different results with the following two syntax?
>>
>> a) *option="time"*
>> or
>> b) *user1 = t, option="user1"*
>>
>> I need to used the variable 't' in the user1 function in order to
>> determine the TOF2E.
>> Nevertheless I can get the same result if I use the *PROP_DT()* macro in
>> the EXTEND section of the previous component.
>>
>> Is there a way to avoid this trick?
>>
>> Thanks.
>> Regards
>>
>>
>>
>> *Jesús P. de Vicente.-*
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20150612/37e3d52b/attachment.html>
More information about the mcstas-users
mailing list