[Gate-users] Unable to Complete Test Simulation

Leo Read leoread at gmail.com
Thu Aug 22 15:53:31 CEST 2013


Hi Amy,

Like you, Here are the commands I have in my visualization macro. They seem
to show tracks and hits although I have not fully figured out what all the
different colours mean (for example, green seems to be gammas, blue are the
positrons but I don't know what the red tracks are). Hope it helps. If you
do happen to figure out the various colours please post back.

Best wishes,
Leo

---
/vis/open
      OGLSX
/vis/viewer/set/viewpointThetaPhi   0 90
/vis/viewer/zoomTo                    20
/vis/drawVolume
/tracking/storeTrajectory           1
/vis/scene/add/trajectories
/vis/scene/endOfEventAction         accumulate


/vis/scene/add/hits
/vis/modeling/trajectories/create/drawByCharge
/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 5

/vis/scene/add/axes


On Wed, Aug 21, 2013 at 2:43 PM, Amy Meldrum <ameldru at g.clemson.edu> wrote:

> After a little searching I found some past posts related to this issue. It
> seems like many say to use commands like:
>
> /vis/scene/add/trajectories
> /vis/scene/add/trajectories smooth
>
> Are these commands still supported by v6.2?
>
> -Amy
>
>
> On Wed, Aug 21, 2013 at 1:55 PM, Marc Chamberland <
> MarcChamberland at cmail.carleton.ca> wrote:
>
>>  Hi Amy,
>>
>>  I'm not sure if there is any way to see the tracks anymore. The
>> visualization used to auto-update, but this was taken out a few versions
>> ago. Now, you have to use /gate/geometry/rebuild to refresh your
>> visualization. This might be why you are not seeing any tracks. Of course,
>> once your simulation is done, it's too late to give the rebuild command.
>> Someone correct me if I'm wrong, please.
>>
>>  As for the output containing nothing, I suggest you try the PET
>> benchmark macro, but change the acquisition time to only 1 second (so you
>> don't wait hours for it to run). This should generate a small Root file. If
>> this works, then I would not worry about the example.
>>
>>  Marc
>>
>>
>>
>>  __________________________
>>
>>  Marc Chamberland, MSc
>> PhD candidate
>> Department of Physics
>> Carleton University
>> Ottawa (ON)
>>
>>  On 2013-08-21, at 1:37 PM, Amy Meldrum <ameldru at g.clemson.edu>
>>  wrote:
>>
>>  Hello all,
>>
>>
>>  I am a beginner and I was trying to work through the example simulation
>> given in the beginning of the GATE v6.2 User's Guide. I am currently using
>> vGATE. I was able to follow the example all the way up until the end. After
>> setting "/gate/application/setTotalNumberOfPrimaries 100" and then
>> "/gate/application/start" I get the following message:
>>
>>
>>  [Acquisition-0]
>> [Acquisition-0]=========Source Initialization=========
>>  [Acquisition-0]
>>  [Acquisition-0]=========Acquisition starts!==========
>>  [Acquisition-0] Simulation start time = 0 sec
>>  [Acquisition-0] Simulation end time  = 1 sec
>>  [Acquisition-0] Simulation will have   = 1 run(s)
>>  [Acquisition-0]
>>  [Acquisition-0] Slice 0 from 0 to 1 s [slice=1 s], final stop at 1 s.
>>  WARNING: G4VisManager::EndOfEvent: Automatic event keeping suspended.
>> The number of events in the run exceeded the maximum, 100, that can be
>> kept by the vis manager.
>> The number of events kept by the vis manager can be changed with
>> "/vis/scene/endOfEventAction accumulate <N>", where N is the maximum number
>> you wish to allow. N < 0 means "unlimited".
>> 100 events have been kept for refreshing and/or reviewing
>>
>>
>>
>>  Also, none of the output data files generated contain anything, nor
>> does the visualization show any tracks, like Figure 1.8 does in the User's
>> Guide.
>>
>>
>>  Any help? I would like to know that I am able to run this example
>> before creating my own simulations.
>>
>>  Thank you,
>>
>>  Amy
>>  _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>>
>>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130822/fb494241/attachment.html>


More information about the Gate-users mailing list