Skip to content

Commit

Permalink
Merge pull request cms-sw#2002 from fwyzard/LumiCorrectionSource_fix_…
Browse files Browse the repository at this point in the history
…Timestamps

Db fixes -- LumiCorrectionSource: workaround CORAL not handling Timestamps
  • Loading branch information
ktf committed Jan 16, 2014
2 parents f27501c + f954552 commit c94a0af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RecoLuminosity/LumiProducer/plugins/LumiCorrectionSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ LumiCorrectionSource::fillparamcache(unsigned int runnumber){
coral::IQuery* lumiparamQuery=schema.newQuery();
lumiparamQuery->addToTableList(std::string("LUMIDATA"));
lumiparamQuery->setCondition(conditionStr,lumidataBindVariables);
lumiparamQuery->addToOutputList("NCOLLIDINGBUNCHES");
lumiparamQuery->defineOutput(lumiparamOutput);
coral::ICursor& lumiparamcursor=lumiparamQuery->execute();
unsigned int ncollidingbx=0;
while( lumiparamcursor.next() ){
Expand Down

0 comments on commit c94a0af

Please sign in to comment.