Skip to content

Commit

Permalink
Print the correct detector id for spurious ROCs
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Oct 12, 2022
1 parent b03bc2d commit 33d0e45
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -366,7 +366,11 @@ namespace pixelgpudetails {
// check for spurious channels
if (roc > MAX_ROC or link > MAX_LINK) {
if constexpr (debug) {
printf("spurious roc %d found on link %d, detector %d (index %d)\n", roc, link, rawId, gIndex);
printf("spurious roc %d found on link %d, detector %d (index %d)\n",
roc,
link,
getRawId(cablingMap, fedId, link, 1).rawId,
gIndex);
}
continue;
}
Expand Down

0 comments on commit 33d0e45

Please sign in to comment.