]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/macro/alirun1.in
Changes to read also Altro like data.
[u/mrichter/AliRoot.git] / AliGeant4 / macro / alirun1.in
1 # $Id$
2 # Example of interactive particle gun usage and
3 # drawing trajectories;
4 # two pi- are generated and one event is run
5 # and visualized.
6 #
7
8 /aliDet/switchOn TPC0
9 /aliDet/fieldValue 0.2 tesla
10
11 /aliRun/initialize
12
13 /aliTree/setVolume ALIC
14 /aliTree/setLVTreeVisibility true
15 /aliTree/setLVTreeColour Green
16
17 # visualization commands
18 /vis/open OGLSXm
19 #/vis/open DAWNFILE
20 /vis/drawVolume
21 /vis/viewer/zoom 10.
22
23 # uncomment to draw only geometry before event
24 #/vis/viewer/refresh
25 #/vis/viewer/update
26
27 /aliGenerator/set Gun
28
29 /aliGun/particle pi-
30 /aliGun/momentum    50. 0. 100. MeV
31 /aliGun/addParticle
32
33 /aliGun/momentum  -100. 0. 100. MeV
34 /aliGun/addParticle
35
36 /aliGun/list
37 /tracking/storeTrajectory 1
38 #/tracking/verbose 1
39
40 # by default only charged tracks are visualized
41 #/aliEvent/drawTracks ALL
42
43 /aliRun/beamOn 1
44
45 exit
46
47 # Possible options:
48 #
49 # only high verbose level is listed
50 #
51 # /tracking/verbose 5
52 # /hits/verbose 1
53 # /event/verbose 2
54 # /run/verbose 2
55 # /aliVerbose/trackingAction 3
56 # /aliTracking/loopVerbose 5
57 # /aliEvent/verbose 2
58 # /particle/select pi-
59 # /particle/process/verbose 1
60