]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Additional parsing of the path in GetSpecificStorage (Alberto)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Dec 2006 15:36:39 +0000 (15:36 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Dec 2006 15:36:39 +0000 (15:36 +0000)
STEER/AliCDBManager.cxx

index 48b4c2bae9ca6f8a691b01a67b2331f8c8adbd14..141a7f8ab3dd479a70ff7056815427569c3ec843 100644 (file)
@@ -328,7 +328,10 @@ void AliCDBManager::SetSpecificStorage(const char* calibType, AliCDBParam* param
 AliCDBStorage* AliCDBManager::GetSpecificStorage(const char* calibType) {
 // get storage specific for detector or calibration type 
 
-       AliCDBParam *checkPar = (AliCDBParam*) fSpecificStorages.GetValue(calibType);
+       AliCDBPath calibPath(calibType);
+       if(!calibPath.IsValid()) return NULL;
+       
+       AliCDBParam *checkPar = (AliCDBParam*) fSpecificStorages.GetValue(calibPath.GetPath());
        if(!checkPar){
                AliError(Form("%s storage not found!", calibType));
                return NULL;