default directory is set correctly
authorbasanta <basanta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Jun 2009 10:15:36 +0000 (10:15 +0000)
committerbasanta <basanta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Jun 2009 10:15:36 +0000 (10:15 +0000)
PMD/AliPMDPutHot.C

index 806f2b8..029861a 100644 (file)
@@ -5,8 +5,8 @@ void AliPMDPutHot()
 {
   AliPMDHotData *hotda=new AliPMDHotData();
   AliCDBManager *man = AliCDBManager::Instance();
-  man->SetDefaultStorage("local://$ALICE_ROOT");
-  AliCDBId id("PMD/Calib/Hot",0,0);
+  man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  AliCDBId id("PMD/Calib/Hot",0,AliCDBRunRange::Infinity());
   AliCDBMetaData *md=new AliCDBMetaData();
   man->GetDefaultStorage()->Put(hotda,id,md);
 }