Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DQM] Fixed filling for TDCfatal in DT Online DQM #38078

Merged
merged 2 commits into from May 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 12 additions & 7 deletions DQM/DTMonitorModule/src/DTDataIntegrityTask.cc
Expand Up @@ -731,7 +731,8 @@ void DTDataIntegrityTask::processuROS(DTuROSROSData& data, int fed, int uRos) {

if (uRos < 3) {
int sector = link + 1;
errorX[5][link][wheel + 2] += 1;
if (tdcError_ROSSummary == 5)
errorX[5][link][wheel + 2] += 1;
if (mode != 1) {
if (sector == 9)
sector = 10;
Expand All @@ -747,22 +748,26 @@ void DTDataIntegrityTask::processuROS(DTuROSROSData& data, int fed, int uRos) {
} //uRos<3
else { //uRos>2
if (link < 24) {
errorX[5][ros - 1][wheel + 2] += 1;
if (tdcError_ROSSummary == 5)
errorX[5][ros - 1][wheel + 2] += 1;
if (mode != 1)
ROSSummary->Fill(tdcError_ROSSummary, ros);
} else if (link < 48) {
if ((link == 46 || link == 57) && ros == 10)
errorX[5][sector4][wheel + 2] += 1;
else
errorX[5][ros][wheel + 2] += 1;
if (tdcError_ROSSummary == 5) {
if ((link == 46 || link == 57) && ros == 10)
errorX[5][sector4][wheel + 2] += 1;
else
errorX[5][ros][wheel + 2] += 1;
}
if (mode != 1) {
if ((link == 46 || link == 57) && ros == 10)
ROSSummary->Fill(tdcError_ROSSummary, sector4);
else
ROSSummary->Fill(tdcError_ROSSummary, ros + 1);
}
} else if (link < 72) {
errorX[5][ros + 1][wheel + 2] += 1;
if (tdcError_ROSSummary == 5)
errorX[5][ros + 1][wheel + 2] += 1;
if (mode != 1)
ROSSummary->Fill(tdcError_ROSSummary, ros + 2);
}
Expand Down