Int_t runUsed = cdbManager->GetRun();
// Now we can try load the DDL and DE store objects.
+ if (cdbManager->GetId("MUON/Calib/MappingData", runUsed) == NULL)
+ {
+ HLTError("Could not find entry in CDB path '%s/MUON/Calib/MappingData' and run no. %d.",
+ cdbPathUsed, runUsed
+ );
+ return -ENOENT;
+ }
+ if (cdbManager->GetId("MUON/Calib/Gains", runUsed) == NULL)
+ {
+ HLTError("Could not find entry in CDB path '%s/MUON/Calib/Gains' and run no. %d.",
+ cdbPathUsed, runUsed
+ );
+ return -ENOENT;
+ }
+ if (cdbManager->GetId("MUON/Calib/Pedestals", runUsed) == NULL)
+ {
+ HLTError("Could not find entry in CDB path '%s/MUON/Calib/Pedestals' and run no. %d.",
+ cdbPathUsed, runUsed
+ );
+ return -ENOENT;
+ }
if (not AliMpCDB::LoadDDLStore(warn))
{
HLTError("Failed to load DDL or detector element store specified"
" for CDB path '%s' and run no. %d.",
cdbPathUsed, runUsed
);
- return -ENOENT;
+ return -EIO;
}
if (AliMpDDLStore::Instance(warn) == NULL or AliMpDEStore::Instance(warn) == NULL)