Skip to content

Commit

Permalink
Merge pull request #42873 from CMSTrackerDPG/FixFEDErrorGPUvsCPUImbal…
Browse files Browse the repository at this point in the history
…ance_from-CMSSW_13_2_4

[13_2_X] Fix for pixel FED error imbalance in DQM plots
  • Loading branch information
cmsbuild authored Sep 28, 2023
2 parents d3f2186 + ccb05e6 commit 6cdb316
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ namespace pixelgpudetails {
if (!((errorWord >> sipixelconstants::OMIT_ERR_shift) & sipixelconstants::OMIT_ERR_mask)) {
if constexpr (debug)
printf("...2nd errorType=29 error, skip\n");
break;
}
errorFound = true;
break;
Expand Down Expand Up @@ -323,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 6cdb316

Please sign in to comment.