Skip to content

Commit

Permalink
Merge pull request #43053 from CMSTrackerDPG/Fix3FEDErrorGPUvsCPUImba…
Browse files Browse the repository at this point in the history
…lance_from-CMSSW_13_2_6

[13_2_X] Add storing of invalid ROC number error (errorType=36) in pixel GPU code
  • Loading branch information
cmsbuild authored Oct 27, 2023
2 parents b81e432 + af7f05e commit f96e2ba
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,13 @@ namespace pixelgpudetails {

// check for spurious channels
if (roc > MAX_ROC or link > MAX_LINK) {
uint32_t rawId = getRawId(cablingMap, fedId, link, 1).rawId;
if constexpr (debug) {
printf("spurious roc %d found on link %d, detector %d (index %d)\n",
roc,
link,
getRawId(cablingMap, fedId, link, 1).rawId,
gIndex);
printf("spurious roc %d found on link %d, detector %d (index %d)\n", roc, link, rawId, gIndex);
}
if (roc > MAX_ROC and roc < 25) {
uint8_t error = conversionError<debug>(fedId, 2);
err->push_back(SiPixelErrorCompact{rawId, ww, error, fedId});
}
continue;
}
Expand Down

0 comments on commit f96e2ba

Please sign in to comment.