read magnetic field from local GRP
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Sep 2009 12:15:37 +0000 (12:15 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Sep 2009 12:15:37 +0000 (12:15 +0000)
TRD/qaRec/run.C

index bbcc89c..4114b87 100644 (file)
@@ -114,6 +114,7 @@ void run(Char_t *trd="ALL", Char_t *tpc="ALL", const Char_t *files=0x0, Long64_t
   // initialize OCDB manager
   AliCDBManager *cdbManager = AliCDBManager::Instance();
   cdbManager->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  cdbManager->SetSpecificStorage("GRP/GRP/Data", Form("local://%s",gSystem->pwd()));
   cdbManager->SetRun(0);
   cdbManager->SetCacheFlag(kFALSE);
   // initialize magnetic field from the GRP manager.