Mods due to recently changed CDB interface
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 9 Oct 2006 19:06:10 +0000 (19:06 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 9 Oct 2006 19:06:10 +0000 (19:06 +0000)
PHOS/AliPHOSCalibData.cxx

index 275fdbbdf6690298f00fca0ba8fd378db4d6ecd1..64129c8313d568cec9d8557bd080fd5fa2109bad 100644 (file)
@@ -141,7 +141,7 @@ Bool_t AliPHOSCalibData::WriteEmc(Int_t firstRun, Int_t lastRun, AliCDBMetaData
 
   if(!fCalibDataEmc) return kFALSE;
 
-  AliCDBStorage* storage = AliCDBManager::Instance()->GetSpecificStorage("PHOS");
+  AliCDBStorage* storage = AliCDBManager::Instance()->GetSpecificStorage("PHOS/*");
   if(!storage)
     storage = AliCDBManager::Instance()->GetDefaultStorage();
 
@@ -162,7 +162,7 @@ Bool_t AliPHOSCalibData::WriteCpv(Int_t firstRun, Int_t lastRun, AliCDBMetaData
 
   if(!fCalibDataCpv) return kFALSE;
   
-  AliCDBStorage* storage = AliCDBManager::Instance()->GetSpecificStorage("PHOS");
+  AliCDBStorage* storage = AliCDBManager::Instance()->GetSpecificStorage("PHOS/*");
   if(!storage)
     storage = AliCDBManager::Instance()->GetDefaultStorage();