Skip to content

Commit

Permalink
Move to reference based writeOne() function.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomreis committed Sep 29, 2021
1 parent 366bfbf commit b0771e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DQM/EcalMonitorDbModule/plugins/EcalDQMStatusWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ void EcalDQMStatusWriter::analyze(edm::Event const &, edm::EventSetup const &_es
if (firstRun_ == dbOutput.endOfTime())
return;

dbOutput.writeOne(&channelStatus_, firstRun_, "EcalDQMChannelStatusRcd");
dbOutput.writeOne(&towerStatus_, firstRun_, "EcalDQMTowerStatusRcd");
dbOutput.writeOne(channelStatus_, firstRun_, "EcalDQMChannelStatusRcd");
dbOutput.writeOne(towerStatus_, firstRun_, "EcalDQMTowerStatusRcd");

firstRun_ = dbOutput.endOfTime(); // avoid accidentally re-writing the conditions
}
Expand Down

0 comments on commit b0771e7

Please sign in to comment.