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 f1e3491f6db64c816947a076542e9a6c09b7c1f4..8abedce58c6a13966187e63cf7f324b8a8db6c98 100644 (file)
@@ -10,7 +10,10 @@ void Config()
     // Set Random Number seed
     // gRandom->SetSeed(12345);
 
     // 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"))
     {
 
     if (!gSystem->Getenv("CONFIG_FILE"))
     {
index dcf2b8912749f8bcfe3e8d17062553bd8179fb27..c84c260019d16d1ce157ba19d9d73c54652c6596 100644 (file)
@@ -3,7 +3,10 @@ void Config()
 
   Int_t iField = 0;
 
 
   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");
 
   // Create the output file
   TFile *rootfile = new TFile("TRD_test.root","recreate");