In macros:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Aug 2010 14:15:31 +0000 (14:15 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Aug 2010 14:15:31 +0000 (14:15 +0000)
Adding setting a specific storage for GRP/GRP/Data, which is now required by the framework.
(Ivana, Laurent)

MUON/MUONefficiency.C
MUON/runReconstruction.C

index e799880..1e7313d 100644 (file)
@@ -221,6 +221,8 @@ Bool_t MUONefficiency(char* filename = "generated/galice.root", char* esdFileNam
 
   // load necessary data from OCDB
   AliCDBManager::Instance()->SetDefaultStorage(ocdbPath);
+  AliCDBManager::Instance()->SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
   AliCDBManager::Instance()->SetRun(runNumber);
   if (!AliMUONCDB::LoadField()) return kFALSE;
 
index 8806940..5f497e2 100644 (file)
@@ -38,6 +38,8 @@ void runReconstruction(int seed, const char* input, const char* recoptions)
 { 
   AliCDBManager* man = AliCDBManager::Instance();
   man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  man->SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
   
   gRandom->SetSeed(seed);