/[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.7 by mocchiut, Sun Sep 9 18:57:26 2007 UTC revision 1.8 by mocchiut, Wed Oct 10 16:01:30 2007 UTC
# Line 94  void CaloLevel0::ProcessingInit(GL_TABLE Line 94  void CaloLevel0::ProcessingInit(GL_TABLE
94    const TString psw = glt->CGetPsw();    const TString psw = glt->CGetPsw();
95    TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());    TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());
96    if ( !dbc->IsConnected() ) throw -116;      if ( !dbc->IsConnected() ) throw -116;  
97      stringstream myquery;
98      myquery.str("");
99      myquery << "SET time_zone='+0:00'";
100      dbc->Query(myquery.str().c_str());
101    //    //
102    debug = isdeb;    debug = isdeb;
103    verbose = isverb;    verbose = isverb;
# Line 194  Int_t CaloLevel0::ChkParam(GL_TABLES *gl Line 198  Int_t CaloLevel0::ChkParam(GL_TABLES *gl
198    const TString psw = glt->CGetPsw();    const TString psw = glt->CGetPsw();
199    TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());    TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());
200    if ( !dbc->IsConnected() ) throw -116;    if ( !dbc->IsConnected() ) throw -116;
201      stringstream myquery;
202      myquery.str("");
203      myquery << "SET time_zone='+0:00'";
204      dbc->Query(myquery.str().c_str());
205    //    //
206    stringstream calfile;    stringstream calfile;
207    stringstream bmfile;    stringstream bmfile;
# Line 1018  Int_t CaloLevel0::Update(GL_TABLES *glt, Line 1026  Int_t CaloLevel0::Update(GL_TABLES *glt,
1026    const TString psw = glt->CGetPsw();    const TString psw = glt->CGetPsw();
1027    TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());    TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());
1028    if ( !dbc->IsConnected() ) throw -116;    if ( !dbc->IsConnected() ) throw -116;
1029      stringstream myquery;
1030      myquery.str("");
1031      myquery << "SET time_zone='+0:00'";
1032      dbc->Query(myquery.str().c_str());
1033    Int_t sgnl = 0;    Int_t sgnl = 0;
1034    //    //
1035    GL_CALO_CALIB *glcalo = new GL_CALO_CALIB();    GL_CALO_CALIB *glcalo = new GL_CALO_CALIB();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23