/[PAMELA software]/DarthVader/AnticounterLevel2/src/AnticounterLevel2.cpp
ViewVC logotype

Diff of /DarthVader/AnticounterLevel2/src/AnticounterLevel2.cpp

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

revision 1.1 by mocchiut, Fri May 19 13:16:00 2006 UTC revision 1.2 by mocchiut, Tue Sep 5 14:49:40 2006 UTC
# Line 6  Line 6 
6  //  //
7  // ROOT headers  // ROOT headers
8  //  //
9    #include <TFile.h>
10  #include <TString.h>  #include <TString.h>
11  #include <TSQLServer.h>  #include <TSQLServer.h>
12  //  //
# Line 47  int main(int numinp, char *inps[]){ Line 48  int main(int numinp, char *inps[]){
48    int nul = 0;    int nul = 0;
49    Int_t error = 0;    Int_t error = 0;
50    Bool_t beverbose = false;    Bool_t beverbose = false;
51    ULong64_t run = 0;    UInt_t run = 0;
52    TString filename;    TString filename;
53    TString outDir = "./";    TString outDir = "./";
54    TSQLServer *dbc = 0;    TSQLServer *dbc = 0;
# Line 76  int main(int numinp, char *inps[]){ Line 77  int main(int numinp, char *inps[]){
77            exit(-3);            exit(-3);
78          };          };
79          givenid = true;          givenid = true;
80          char *pEnd;              run = (UInt_t)atoll(inps[i+1]);
         run = strtoull(inps[i+1],&pEnd,0);        
81        };        };
82        if ( !strcmp(inps[i],"-processFile") ) {        if ( !strcmp(inps[i],"-processFile") ) {
83          if ( numinp-1 < i+1 ){          if ( numinp-1 < i+1 ){

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

  ViewVC Help
Powered by ViewVC 1.1.23