/[PAMELA software]/DarthVader/CalorimeterLevel2/src/CaloLevel0.cpp
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/src/CaloLevel0.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by mocchiut, Fri Jun 6 14:18:15 2014 UTC revision 1.36 by mocchiut, Fri Oct 10 13:35:05 2014 UTC
# Line 165  void CaloLevel0::ProcessingInit(GL_TABLE Line 165  void CaloLevel0::ProcessingInit(GL_TABLE
165  void CaloLevel0::InitDo(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t isdeb, Bool_t isverb){  void CaloLevel0::InitDo(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t isdeb, Bool_t isverb){
166    stringstream myquery;    stringstream myquery;
167    myquery.str("");    myquery.str("");
168    myquery << "SET time_zone='+0:00'";    myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";
169    dbc->Query(myquery.str().c_str());    dbc->Query(myquery.str().c_str());
170    //    //
171    debug = isdeb;    debug = isdeb;
# Line 272  Int_t CaloLevel0::ChkParam(GL_TABLES *gl Line 272  Int_t CaloLevel0::ChkParam(GL_TABLES *gl
272    if ( !dbc->IsConnected() ) throw -116;    if ( !dbc->IsConnected() ) throw -116;
273    stringstream myquery;    stringstream myquery;
274    myquery.str("");    myquery.str("");
275    myquery << "SET time_zone='+0:00'";    myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";
276    dbc->Query(myquery.str().c_str());    dbc->Query(myquery.str().c_str());
277    //    //
278    Int_t sig = this->ChkParamDo(dbc,runheader,mechal);    Int_t sig = this->ChkParamDo(dbc,runheader,mechal);
# Line 598  Int_t CaloLevel0::CalcCrossTalkCorr(GL_T Line 598  Int_t CaloLevel0::CalcCrossTalkCorr(GL_T
598    if ( !dbc->IsConnected() ) throw -116;    if ( !dbc->IsConnected() ) throw -116;
599    stringstream myquery;    stringstream myquery;
600    myquery.str("");    myquery.str("");
601    myquery << "SET time_zone='+0:00'";    myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";
602    dbc->Query(myquery.str().c_str());    dbc->Query(myquery.str().c_str());
603    //    //
604    Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,usetable);    Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,usetable);
# Line 618  Int_t CaloLevel0::CalcCrossTalkCorr(GL_T Line 618  Int_t CaloLevel0::CalcCrossTalkCorr(GL_T
618    if ( !dbc->IsConnected() ) throw -116;    if ( !dbc->IsConnected() ) throw -116;
619    stringstream myquery;    stringstream myquery;
620    myquery.str("");    myquery.str("");
621    myquery << "SET time_zone='+0:00'";    myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";
622    dbc->Query(myquery.str().c_str());    dbc->Query(myquery.str().c_str());
623    //    //
624    Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,true);    Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,true);
# Line 2189  Int_t CaloLevel0::Update(GL_TABLES *glt, Line 2189  Int_t CaloLevel0::Update(GL_TABLES *glt,
2189    if ( !dbc->IsConnected() ) throw -116;    if ( !dbc->IsConnected() ) throw -116;
2190    stringstream myquery;    stringstream myquery;
2191    myquery.str("");    myquery.str("");
2192    myquery << "SET time_zone='+0:00'";    myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";
2193    dbc->Query(myquery.str().c_str());    dbc->Query(myquery.str().c_str());
2194    Int_t sgnl = 0;    Int_t sgnl = 0;
2195    //    //

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.23