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

Diff of /DarthVader/CalorimeterLevel2/src/CalorimeterLevel2.cpp

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

revision 1.1 by mocchiut, Fri May 19 13:15:50 2006 UTC revision 1.2 by mocchiut, Wed Sep 6 11:03:32 2006 UTC
# Line 19  Line 19 
19  //  //
20  // ROOT headers  // ROOT headers
21  //  //
22    #include <TFile.h>
23  #include <TString.h>  #include <TString.h>
24  #include <TSQLServer.h>  #include <TSQLServer.h>
25  //  //
# Line 60  int main(int numinp, char *inps[]){ Line 61  int main(int numinp, char *inps[]){
61    Int_t error = 0;    Int_t error = 0;
62    TFile *processFile =0;    TFile *processFile =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],"-processFile") ) {        if ( !strcmp(inps[i],"-processFile") ) {
97          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