Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Running Mokka simulations locally | ||||||||
Line: 48 to 48 | ||||||||
![]() | ||||||||
Added: | ||||||||
> > | You can further manipulate the view, for example
/vis/viewer/set/viewpointThetaPhi 30 40 /vis/viewer/panTo -5 -1 /vis/viewer/zoom 4. | |||||||
To draw trajectories:
/vis/scene/add/trajectories | ||||||||
Line: 120 to 127 | ||||||||
/run/beamOn 3000 exit | ||||||||
Added: | ||||||||
> > | Check gun settings with:
/gun/info Particle: e- (m = 0.000510999 GeV) Kinetic Energy: 100 GeV (momentum = 100.001 GeV) Position: 0 0 0 cm Direction: 0.707107 0 0.707107 (theta = 45 deg, phi = 0 deg) (Steps and smearing are not displayed.) | |||||||
Changed: | ||||||||
< < | Random Direction:
Outlined in the Mokka release_notes_mokka-01-02![]() ![]() | |||||||
> > | However, it is more useful to have the electron gun 'spray' particles in all regions of the detector, instead of a set direction. This can be obtained for example with:
/gun/direction 0 0 1 /gun/directionSmearingMode uniform /gun/phiSmearing 360 deg /gun/thetaSmearing 180 degThis is documented in section 'VI. New Commands for the Particle Gun' of Mokka release notes 05-02 ![]() | |||||||
|