# $ Id:$ # The simplest way how to run aligeant4; # all detector and structure modules of the default versions # (excluded G3-dependent/errorneous detectors) are built; # run with standard AliRoot generator (defined in Config.C). # /aliDet/switchOn ALL /aliDet/switchOn ITS1 /aliDet/fieldValue 0.2 tesla # switch off modules with errors /aliDet/switchOff CASTOR /aliDet/switchOff PMD # switch off modules with MANY /aliDet/switchOff DIPO /aliDet/switchOff MAG /aliDet/switchOff MUON /aliDet/switchOff TRD /aliDet/switchOff ZDC # set physics /g4mc/setHadron true /g4mc/setSpecialCuts true #/g4mc/setSpecialControls true /aliDet/list /aliRun/initialize #/aliDet/printMaterials /g4mc/rootCmd TStopwatch timer; /g4mc/rootCmd timer.Start(); /aliRun/beamOn 1 /g4mc/rootCmd timer.Stop(); /g4mc/rootCmd timer.Print(); /control/exit