You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Magnetic fields in vacuum give me weird results. See below for an example. In Air I get a spiral trajectory around the field lines as expected. In Vacuum something strange happens.
Air
Vacuum
/vis/open OGLIQt
/vis/drawVolume
/vis/viewer/set/style wireframe
/vis/viewer/flush
/tracking/storeTrajectory 1
/vis/scene/add/trajectories
/vis/modeling/trajectories/create/drawByCharge
/vis/scene/endOfEventAction accumulate -1
/vis/scene/add/axes 0 0 0 50 cm
/gate/geometry/setMaterialDatabase data/GateMaterials.db
# World
/gate/world/geometry/setXLength 1.0 m
/gate/world/geometry/setYLength 1.0 m
/gate/world/geometry/setZLength 1.0 m
/gate/world/setMaterial Vacuum
# physics
/gate/physics/addPhysicsList emstandard_opt3
# StatsActor187
/gate/actor/addActor DoseActor StatsActor187
/gate/actor/StatsActor187/save /tmp/juliaFgarML/StatsActor187.txt
/gate/actor/StatsActor187/attachTo world
/gate/actor/StatsActor187/saveEveryNSeconds 60
/gate/geometry/setMagField 1.0 1.0 0.01 T
/gate/run/initialize
/gate/source/addSource GPS186 gps
/gate/source/GPS186/gps/particle e-
/gate/source/GPS186/gps/direction 0.0 0.0 -1.0
/gate/source/GPS186/gps/centre 0.0 0.0 0.0 mm
/gate/source/GPS186/gps/energytype Mono
/gate/source/GPS186/gps/monoenergy 10.0 MeV
/gate/source/GPS186/gps/pos/type Plane
/gate/source/GPS186/gps/shape Rectangle
/gate/source/GPS186/gps/halfx 10.0 cm
/gate/source/GPS186/gps/halfy 10.0 cm
# JamesRandom Ranlux64 MersenneTwister
/gate/random/setEngineName MersenneTwister
/gate/random/setEngineSeed auto
#/tracking/verbose 1
/gate/application/noGlobalOutput
/gate/application/setTotalNumberOfPrimaries 1
/gate/application/start
The text was updated successfully, but these errors were encountered:
Magnetic fields in vacuum give me weird results. See below for an example. In Air I get a spiral trajectory around the field lines as expected. In Vacuum something strange happens.
Air
Vacuum
The text was updated successfully, but these errors were encountered: