]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/Config.C
Bug fix
[u/mrichter/AliRoot.git] / macros / Config.C
index 57ebd413c85ce3741a3eb447da27729f86e2f173..295ecb38995e951477fd35238ff0c62df2e4ac1e 100644 (file)
@@ -89,11 +89,11 @@ void Config()
         cout << "#####################################################" << endl;
         cout << "#                                                   #" << endl;
         cout << "#     WARNING: CDB DEFAULT STORAGE NOT SET !!!      #" << endl;
-        cout << "#     SETTING IT TO local://$ALICE_ROOT !!!         #" << endl;
+        cout << "#     SETTING IT TO local://$ALICE_ROOT/OCDB !!!         #" << endl;
         cout << "#                                                   #" << endl;
         cout << "#####################################################" << endl;
           
-         AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT");
+         AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
     }
     
     if(AliCDBManager::Instance()->GetRun() < 0){
@@ -111,7 +111,7 @@ void Config()
     // Uncomment if you want to load geometry from OCDB!   <<<<
 
     // Set the trigger configuration
-    gAlice->SetTriggerDescriptor("Pb-Pb");
+    AliSimulation::Instance()->SetTriggerConfig("Pb-Pb");
     cout<<"Trigger configuration is set to  Pb-Pb"<<endl;
 
     //
@@ -190,7 +190,7 @@ void Config()
     //
     //gener->SetVertexSmear(perTrack); 
     // 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;