Using geant3 VirtualMC in the configuration
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Oct 2002 09:22:52 +0000 (09:22 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Oct 2002 09:22:52 +0000 (09:22 +0000)
TOF/AliTOFconfig.C
TRD/AliTRDconfig.C

index f1e3491..8abedce 100644 (file)
@@ -10,7 +10,10 @@ 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"))
     {
index dcf2b89..c84c260 100644 (file)
@@ -3,7 +3,10 @@ void Config()
 
   Int_t iField = 0;
 
-  new AliGeant3("C++ Interface to Geant3");
+  // libraries required by geant321
+  gSystem->Load("libgeant321");
+
+  new     TGeant3("C++ Interface to Geant3");
 
   // Create the output file
   TFile *rootfile = new TFile("TRD_test.root","recreate");