Skip to content

Commit

Permalink
Fill LumiRange for BeamSpotOnline objects
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobrivio committed May 9, 2022
1 parent c559362 commit 061b294
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DQM/BeamMonitor/plugins/BeamMonitor.cc
Expand Up @@ -1407,6 +1407,9 @@ void BeamMonitor::FitAndFill(const LuminosityBlock& lumiSeg, int& lastlumi, int&
BSOnline.setEndTimeStamp(timeForDIP.second);
BSOnline.setEndTime(getGMTstring(timeForDIP.second));

std::string lumiRangeForDIP = std::to_string(LSRange.first) + " - " + std::to_string(LSRange.second);
BSOnline.setLumiRange(lumiRangeForDIP);

edm::LogInfo("BeamMonitor") << "FitAndFill::[PayloadCreation] BeamSpotOnline object created: \n" << std::endl;
edm::LogInfo("BeamMonitor") << BSOnline << std::endl;

Expand Down

0 comments on commit 061b294

Please sign in to comment.