Message: Problem with /gun/direction x y z Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem with /gun/direction x y z  

Forum: Particles
Date: 27 Jan, 2010
From: Ibrahim <Ibrahim>

Hi,

I used the following command: UI->ApplyCommand("/gun/direction x y z cm") in my PrimaryGeneratorAction.cc. for instance, UI->ApplyCommand("/gun/direction 0.0 0.0 1.0 cm") and it was working in tha past. Now I am trying to use it but it agin but it does not work. I would like to change the direction of my beam using the above command. Does any body know why?

kind regards

 Add Message Add Message
to: "Problem with /gun/direction x y z "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]