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

Adding Layer number to bad module list #14970

Merged
merged 2 commits into from Jul 6, 2016
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
7 changes: 6 additions & 1 deletion DQM/SiStripMonitorClient/src/SiStripTrackerMapCreator.cc
Expand Up @@ -363,7 +363,12 @@ void SiStripTrackerMapCreator::paintTkMapFromAlarm(uint32_t det_id, const Tracke
if(isBad) { rval=255; gval=255; bval = 0; comment << " PCLBadModule ";}
trackerMap_->setText(det_id, comment.str());
trackerMap_->fillc(det_id, rval, gval, bval);
if(badmodmap && (flag!=0 || isBad)) (*badmodmap)[det_id] = comment.str();

if(badmodmap && (flag!=0 || isBad)){
uint lay= tTopo->layer(SiStripDetId(det_id));
std::string layer =" Layer "+ std::to_string(lay);
(*badmodmap)[det_id] = comment.str() + layer;
}

detflag_[det_id] = flag;
}
Expand Down