]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/Config.C
Merging the VirtualMC branch to the main development branch (HEAD)
[u/mrichter/AliRoot.git] / macros / Config.C
index ca028246930aee2ba4411f0adba8b1532a69f1cd..ecb61231388734df9c6dfb96ba8b51d695637877 100644 (file)
@@ -16,7 +16,11 @@ void Config()
     // Set Random Number seed
     // gRandom->SetSeed(12345);
 
-    new     AliGeant3("C++ Interface to Geant3");
+
+   // libraries required by geant321
+    gSystem->Load("libgeant321");
+
+    new     TGeant3("C++ Interface to Geant3");
 
     if (!gSystem->Getenv("CONFIG_FILE"))
     {
@@ -29,7 +33,7 @@ void Config()
 
     //
     // Set External decayer
-    AliDecayer *decayer = new AliDecayerPythia();
+    TVirtualMCDecayer *decayer = new AliDecayerPythia();
 
     decayer->SetForceDecay(kAll);
     decayer->Init();