/[PAMELA software]/DarthVader/NDLevel2/src/ND_LEVEL2.cpp
ViewVC logotype

Diff of /DarthVader/NDLevel2/src/ND_LEVEL2.cpp

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

revision 1.1.1.1 by mocchiut, Fri May 19 13:15:26 2006 UTC revision 1.3 by pam-fi, Tue Nov 29 13:51:29 2011 UTC
# Line 18  Line 18 
18  //  //
19  // ROOT headers  // ROOT headers
20  //  //
21    #include <TFile.h>
22  #include <TString.h>  #include <TString.h>
23  #include <TSQLServer.h>  #include <TSQLServer.h>
24  //  //
# Line 60  int main(int numinp, char *inps[]){ Line 61  int main(int numinp, char *inps[]){
61    int nul = 0;    int nul = 0;
62    int error = 0;    int error = 0;
63    Bool_t beverbose = false;    Bool_t beverbose = false;
64    ULong64_t run = 0;    UInt_t run = 0;
65    TString filename="";    TString filename="";
66    TString processFolder;    TString processFolder;
67    TString outDir = "./";    TString outDir = "./";
# Line 90  int main(int numinp, char *inps[]){ Line 91  int main(int numinp, char *inps[]){
91            exit(-3);            exit(-3);
92          };          };
93          givenid = true;          givenid = true;
94          char *pEnd;              run = (UInt_t)atoll(inps[i+1]);
         run = strtoull(inps[i+1],&pEnd,0);        
95        };        };
96        if ( !strcmp(inps[i],"-outDir") ) {        if ( !strcmp(inps[i],"-outDir") ) {
97          if ( numinp-1 < i+1 ){          if ( numinp-1 < i+1 ){
# Line 201  int main(int numinp, char *inps[]){ Line 201  int main(int numinp, char *inps[]){
201    //    //
202    printf("\nClose the connection to the database... \n");    printf("\nClose the connection to the database... \n");
203    dbc->Close();    dbc->Close();
204      delete dbc;
205      dbc = 0;
206    printf("...connection terminated!\n\n");      printf("...connection terminated!\n\n");  
207    //    //
208    // Close redirection if the case.    // Close redirection if the case.

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

  ViewVC Help
Powered by ViewVC 1.1.23