]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/macro/alirun0.in
new TTask to replace non-working AliITSFindClusterV2.C macro.
[u/mrichter/AliRoot.git] / AliGeant4 / macro / alirun0.in
CommitLineData
2355eefe 1# $Id$
0f507a31 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
4d69f491 8/aliDet/switchOn ALL
054fdefd 9/aliDet/switchOn ITS1
10/aliDet/fieldValue 0.2 tesla
0f507a31 11
054fdefd 12# switch off modules with errors
0f507a31 13/aliDet/switchOff CASTOR
2355eefe 14/aliDet/switchOff ZDC
054fdefd 15/aliDet/switchOff PMD
16
2355eefe 17# needed SHIL cvs version Log: AliSHILvF.cxx,v Revision 1.11
18#/aliDet/switchOff SHIL
0f507a31 19
054fdefd 20# set physics
db1b9e2a 21/tg4Physics/setHadron true
22/tg4Physics/setSpecialCuts true
23#/tg4Physics/setSpecialControls true
0f507a31 24
054fdefd 25/aliDet/list
0f507a31 26/aliRun/initialize
4d69f491 27
8a934188 28/process/eLoss/subsec true
29/process/eLoss/minsubsec 2 cm
30
054fdefd 31#/aliDet/printMaterials
32
db1b9e2a 33/tg4Control/rootCmd TStopwatch timer;
34/tg4Control/rootCmd timer.Start();
054fdefd 35
0f507a31 36/aliRun/beamOn 1
37
db1b9e2a 38/tg4Control/rootCmd timer.Stop();
39/tg4Control/rootCmd timer.Print();
054fdefd 40
2355eefe 41exit