+// $Id$
//
-// Configuration for the first physics production 2008
+// Configuration for the Geant4 production 2010
+// By E. Sicking, CERN
//
-// One can use the configuration macro in compiled mode by
-// root [0] gSystem->Load("libgeant321");
-// root [0] gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include\
-// -I$ALICE_ROOT -I$ALICE/geant3/TGeant3");
-// root [0] .x grun.C(1,"Config.C++")
-
#if !defined(__CINT__) || defined(__MAKECINT__)
#include <Riostream.h>
#include <TRandom.h>
// Load Geant4 + Geant4 VMC libraries
//
if (gClassTable->GetID("TGeant4") == -1) {
+ TString g4libsMacro = "$G4INSTALL/macro/g4libs.C";
+ //TString g4libsMacro = "$ALICE/geant4_vmc/examples/macro/g4libs.C";
// Load Geant4 libraries
- if (!gInterpreter->IsLoaded("$G4INSTALL/macro/g4libs.C")) {
- gROOT->LoadMacro("$G4INSTALL/macro/g4libs.C");
+ if (!gInterpreter->IsLoaded(g4libsMacro.Data())) {
+ gROOT->LoadMacro(g4libsMacro.Data());
gInterpreter->ProcessLine("g4libs()");
}
}
+// $Id$\r
+//\r
+// Set job and simulation variables as :\r
+// root.exe -b -q simrun.C --run <x> --event <y> --process <kPythia6/kPhojet/kPythia6ATLAS_Flat/kPythia6D6T> --field <kNoField/k5kG> --energy <900/2360/10000> --physicslist <QGSP_BERT_CHIPS[_OPTICAL]/CHIPS[_OPTICAL]/QGSP_BERT_EMV[_OPTICAL]>\r
+//\r
+// By E. Sicking, CERN\r
+\r
// #define VERBOSEARGS\r
// simrun.C\r
-{\r
-// set job and simulation variables as :\r
-// root.exe -b -q simrun.C --run <x> --event <y> --process <kPythia6/kPhojet/kPythia6ATLAS_Flat/kPythia6D6T> --field <kNoField/k5kG> --energy <900/2360/10000> --physicslist <QGSP_BERT_CHIPS/CHIPS/QGSP_BERT_EMV>\r
\r
int nrun = 0;\r
int nevent = 0;\r