Data base settings added.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2008 15:48:09 +0000 (15:48 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2008 15:48:09 +0000 (15:48 +0000)
TFluka/macro/FlukaConfig.C

index f74ff01..23debf7 100644 (file)
@@ -56,6 +56,12 @@ void Config()
     new     TGeant3TGeo("C++ Interface to Geant3");
   }
   
+  if(!AliCDBManager::Instance()->IsDefaultStorageSet()){
+      AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT");
+      AliCDBManager::Instance()->SetRun(0);
+  }
+
+  
   AliRunLoader* rl=0x0;
                                                                                 
   cout<<"Config.C: Creating Run Loader ..."<<endl;