Skip to content

Commit

Permalink
store errors only for valid DetIds
Browse files Browse the repository at this point in the history
  • Loading branch information
ferencek committed Sep 26, 2023
1 parent 43ae843 commit ccb05e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ namespace pixelgpudetails {
skipROC = (roc < pixelgpudetails::maxROCIndex) ? false : (errorType != 0);
if (includeErrors and skipROC) {
uint32_t rID = getErrRawID<debug>(fedId, ww, errorType, cablingMap);
err->push_back(SiPixelErrorCompact{rID, ww, errorType, fedId});
if (rID != 0xffffffff) // store errors only for valid DetIds
err->push_back(SiPixelErrorCompact{rID, ww, errorType, fedId});
continue;
}

Expand Down

0 comments on commit ccb05e6

Please sign in to comment.