Reduce repeated calls to hasBSError
Compare changes
Files
2- Zuchen Huang authored
@@ -182,6 +182,13 @@ SCT_ConditionsSummaryTool::hasBSError(const IdentifierHash& /*elementHash*/, Ide
We add a new function in PixelConditionTools, which skip the if (hasBSError(moduleHash, ctx)) { return true; }
as it was called in first instance of bool PixelConditionsSummaryTool::isGood(const IdentifierHash & moduleHash, const Identifier &elementId, const EventContext& ctx) const