Skip to content

Commit

Permalink
Merge pull request #5348 from danduggan/infofix73x
Browse files Browse the repository at this point in the history
 DQM info summary fix for online LS reporting in 73x
  • Loading branch information
davidlange6 committed Sep 17, 2014
2 parents 6d68278 + d1a16e7 commit 668f97f
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions DQMServices/Components/src/DQMProvInfo.cc
Expand Up @@ -183,21 +183,11 @@ DQMProvInfo::endLuminosityBlock(const edm::LuminosityBlock& l, const edm::EventS
// set to previous in case there was a jump or no previous fill
for (int l=lastlumi_+1;l<nlumi;l++)
{
if (lastlumi_ > 0 && reportSummaryMap_->getBinContent(lastlumi_,YBINS+1) == 1)
{
reportSummaryMap_->setBinContent(l,YBINS+1,0.);
for (int i=0;i<YBINS;i++)
{
float lastvalue = reportSummaryMap_->getBinContent(lastlumi_,i+1);
reportSummaryMap_->setBinContent(l,i+1,lastvalue);
}
}
else
{
reportSummaryMap_->setBinContent(l,YBINS+1,0.);
for (int i=0;i<YBINS;i++)
reportSummaryMap_->setBinContent(l,i+1,-1.);
}
// setting valid flag to zero for missed LSs
reportSummaryMap_->setBinContent(l,YBINS+1,0.);
// setting all other bins to -1 for missed LSs
for (int i=0;i<YBINS;i++)
reportSummaryMap_->setBinContent(l,i+1,-1.);
}


Expand Down

0 comments on commit 668f97f

Please sign in to comment.