[mcstas-users] Question about Monitor_nD
Jesús P. de Vicente
jesuspedrodevicente at gmail.com
Fri Jun 12 11:39:20 CEST 2015
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.
*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.
> 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?
> 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"*
>> 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?
>> *Jesús P. de Vicente.-*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mcstas-users