/[PAMELA software]/YodaProfiler/src/GLTables.cpp
ViewVC logotype

Diff of /YodaProfiler/src/GLTables.cpp

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

revision 1.25 by mocchiut, Fri Mar 23 08:17:26 2007 UTC revision 1.26 by mocchiut, Tue Apr 17 12:06:55 2007 UTC
# Line 1145  Int_t GL_ROOT::Query_GL_ROOT(UInt_t id, Line 1145  Int_t GL_ROOT::Query_GL_ROOT(UInt_t id,
1145            if(t==0) ID     = (UInt_t)atoll(Row->GetField(t));            if(t==0) ID     = (UInt_t)atoll(Row->GetField(t));
1146            if(t==1) ID_RAW = (UInt_t)atoll(Row->GetField(t));            if(t==1) ID_RAW = (UInt_t)atoll(Row->GetField(t));
1147            if(t==2) ID_TIMESYNC = (UInt_t)atoll(Row->GetField(t));            if(t==2) ID_TIMESYNC = (UInt_t)atoll(Row->GetField(t));
1148            if(t==3) PATH   = Row->GetField(t);            if(t==3) PATH   = (TString)gSystem->ExpandPathName(Row->GetField(t))+'/';
1149            if(t==4) NAME   = Row->GetField(t);            if(t==4) NAME   = Row->GetField(t);
1150        };        };
1151    };    };
# Line 1354  Int_t GL_PARAM::Query_GL_PARAM(UInt_t ti Line 1354  Int_t GL_PARAM::Query_GL_PARAM(UInt_t ti
1354        if( Row == NULL ) break;        if( Row == NULL ) break;
1355        for( t = 0; t < pResult->GetFieldCount(); t++){        for( t = 0; t < pResult->GetFieldCount(); t++){
1356          if (t==0) ID        = (UInt_t)atoll(Row->GetField(t));          if (t==0) ID        = (UInt_t)atoll(Row->GetField(t));
1357            if (t==1) PATH      = Row->GetField(t);// put in fpath the path to that file          if (t==1) PATH      = (TString)gSystem->ExpandPathName(Row->GetField(t))+'/';// put in fpath the path to that file
1358            if (t==2) NAME      = Row->GetField(t);            if (t==2) NAME      = Row->GetField(t);
1359            if (t==3) DESCR     = Row->GetField(t);            if (t==3) DESCR     = Row->GetField(t);
1360            if (t==4) FROM_TIME = (UInt_t)atoll(Row->GetField(t));            if (t==4) FROM_TIME = (UInt_t)atoll(Row->GetField(t));
# Line 1421  GL_TIMESYNC::GL_TIMESYNC(UInt_t id, TStr Line 1421  GL_TIMESYNC::GL_TIMESYNC(UInt_t id, TStr
1421      if( Row ){      if( Row ){
1422        stringstream fname;        stringstream fname;
1423        fname.str("");        fname.str("");
1424        fname << Row->GetField(0) << "/" << Row->GetField(1);        fname << gSystem->ExpandPathName(Row->GetField(0)) << "/" << Row->GetField(1);
1425        rname << Row->GetField(1);        rname << Row->GetField(1);
1426        file = new TFile(fname.str().c_str(),"READ");        file = new TFile(fname.str().c_str(),"READ");
1427        idraw = (UInt_t)atoll(Row->GetField(2));        idraw = (UInt_t)atoll(Row->GetField(2));

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.23