]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/macro/alirun0.in
removed with update to geant4 4.0 (not yet released) - removal of old vis~ commands
[u/mrichter/AliRoot.git] / AliGeant4 / macro / alirun0.in
1 # $Id$
2 # The simplest way how to run aligeant4;
3 # all detector and structure modules of the default versions
4 # (excluded G3-dependent/errorneous detectors) are built;
5 # run with standard AliRoot generator (defined in Config.C).
6 #
7
8 /aliDet/switchOn ALL
9 /aliDet/switchOn ITS1
10 /aliDet/fieldValue 0.2 tesla
11
12 # switch off modules with errors
13 /aliDet/switchOff CASTOR
14 /aliDet/switchOff ZDC
15 /aliDet/switchOff PMD
16
17 # needed SHIL cvs version Log: AliSHILvF.cxx,v Revision 1.11
18 #/aliDet/switchOff SHIL
19
20 # set physics
21 /g4mc/setHadron true
22 /g4mc/setSpecialCuts true
23 #/g4mc/setSpecialControls true
24
25 /aliDet/list
26 /aliRun/initialize
27
28 #/aliDet/printMaterials
29
30 /g4mc/rootCmd TStopwatch timer;
31 /g4mc/rootCmd timer.Start();
32
33 /aliRun/beamOn 1
34
35 /g4mc/rootCmd timer.Stop();
36 /g4mc/rootCmd timer.Print();
37
38 exit