/[PAMELA software]/DarthVader/RunInfo/src/RunInfoCore.cpp
ViewVC logotype

Diff of /DarthVader/RunInfo/src/RunInfoCore.cpp

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

revision 1.1 by mocchiut, Fri May 19 13:15:47 2006 UTC revision 1.3 by mocchiut, Thu Nov 9 14:44:08 2006 UTC
# Line 14  Line 14 
14  #include <RunInfo.h>  #include <RunInfo.h>
15  using namespace std;  using namespace std;
16  //  //
17  int RunInfoCore(ULong64_t run, TFile *processFile, TSQLServer *dbc, Int_t runargc, char *runargv[]){  int RunInfoCore(UInt_t run, TFile *processFile, TSQLServer *dbc, TString DVV, Int_t runargc, char *runargv[]){
18    Int_t i = 0;    Int_t i = 0;
19    Int_t sgnl = 0;    Int_t sgnl = 0;
20    //    //
# Line 47  int RunInfoCore(ULong64_t run, TFile *pr Line 47  int RunInfoCore(ULong64_t run, TFile *pr
47    processFile->cd();    processFile->cd();
48    if ( processFile ) processFile->Write("Run");    if ( processFile ) processFile->Write("Run");
49    runinfo->Clear();    runinfo->Clear();
50      //
51      delete runinfo;
52      //
53      runinfo = new ItoRunInfo(processFile);
54      sgnl = runinfo->Update(run,"DV",DVV);
55      gSystem->Unlink(temprname.str().c_str());
56      runinfo->Close();
57      processFile->cd();
58      if ( processFile ) processFile->Write("Run");
59      runinfo->Clear();
60      delete runinfo;
61      //
62      //
63      //
64    if ( sgnl < 0 ) throw sgnl;    if ( sgnl < 0 ) throw sgnl;
65    return(sgnl);    return(sgnl);
66  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23