[gate-users] Counts vs. time slice

Eva Nerina Gimenez Navarro nerina at ific.uv.es
Wed May 18 11:40:49 CEST 2005


Hi Dirk, 

Indeed I remove all lines related with time, as it was suggested in  
Groisselle - Foudray e.mail, i.e. the following lines: 

/gate/application/setTimeSlice     120  s
/gate/application/setTimeStart     0.  s
/gate/application/setTimeStop      120  s
/gate/application/startDAQ

I tried what you told me and I set again the first three commands. 
Now, it works! 
It seems that as I remove those lines, the program was working with a 
predefined time of 1 second. 

Thanks for your advice.
Best regards, 
Nerina


On Wednesday 18 May 2005 09:35, Dirk Kruecker wrote:
> Hi,
>
> I guess you have defined a timeStop  by
>
> /gate/application/setTimeSlice     1  s
> /gate/application/setTimeStart     0.  s
> /gate/application/setTimeStop      1  s
>
> If you now set the activity by
>
> /gate/source/twogamma/setActivity 10000. becquerel
>
> and then ask GATE to simulate a large number of events the program
> must stop after 1 simulated second and cannot create more than
> about activity*time events.
>
> If you set TimeSLice to a large value
>
> /gate/application/setTimeSlice     1000000  s
>
> it will work.
>
> Dirk
>
> > Hello everybody,
> > I want to generate an exact number of annihilations, instead of
> > simulating a time slice. I have read an e.mail between Groisselle
> > and Foudray related to this topic, which suggest to use the
> > command:
> >
> > /run/beamOn NbrofEvents
> >
> > However, I have experienced that whenever the NbrofEvents to be
> > generated is bigger than the source activity,
> > ("/gate/source/twogamma/setActivity 10000. becquerel")
> > it does not generate the total amount of NbrofEvents, but just
> > the events defined for the source activity. It looks like the
> > source activity is no longer an activity but the maximum number
> > of events allowed to be generated.
> > Is this the expected behaviour when I don't use the
> > TimeManagement? If it is so, it means that if I want to generate
> > 10,000,000 events, should I define a source activity of
> > 10,000,000 Becquerel?? Thanks in advance
> > _______________________________________________
> > gate-users mailing list
> > gate-users at lphe1pet1.epfl.ch
> > http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users


More information about the Gate-users mailing list