]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/g4ConfigCommon.C
framework update; new classes for track rotation (for background), cuts grouping...
[u/mrichter/AliRoot.git] / macros / g4ConfigCommon.C
index 8be566616830c2a0d7931244e0a3ee3f9746ebfd..723e2e522975405eb8ca9b9e193e65c38da2f690 100644 (file)
@@ -43,7 +43,7 @@ void ConfigCommon(Bool_t setRootGeometry = kTRUE)
   }
 
   // Set the trigger configuration
-  gAlice->SetTriggerDescriptor("Pb-Pb");
+  AliSimulation::Instance()->SetTriggerConfig("Pb-Pb");
   cout<<"Trigger configuration is set to  Pb-Pb"<<endl;
 
     // Set Random Number seed
@@ -80,7 +80,7 @@ void ConfigCommon(Bool_t setRootGeometry = kTRUE)
   // ============================= 
 
     // Field (L3 0.4 T)
-    TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1., 10., AliMagF::k5kG));
+    TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 1., 1., AliMagF::k5kG));
 
     Int_t   iABSO  =  1;
     Int_t   iDIPO  =  1;