/[PAMELA software]/quicklook/calo/FQLOOK/src/FCaloQLOOK.cc
ViewVC logotype

Diff of /quicklook/calo/FQLOOK/src/FCaloQLOOK.cc

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

revision 1.4 by mocchiut, Thu Aug 3 15:25:47 2006 UTC revision 1.5 by mocchiut, Fri Aug 4 15:24:03 2006 UTC
# Line 14  Line 14 
14  #include <unistd.h>  #include <unistd.h>
15  #include <stdio.h>  #include <stdio.h>
16  //  //
17  extern void FCaloQLOOK(TString, int, int, TString, TString);  extern void FCaloQLOOK(TString, int, int, TString, TString, Bool_t, Bool_t);
18  extern void info();  extern void info();
19  using namespace std;  using namespace std;
20  //  //
# Line 42  int main(int numinp, char *inps[]){ Line 42  int main(int numinp, char *inps[]){
42    int toev = 0;    int toev = 0;
43    int nul = 0;    int nul = 0;
44    bool beverbose = false;    bool beverbose = false;
45      Bool_t iactive = false;
46      Bool_t w4i = false;
47    //    //
48    if ( numinp > 1 ){    if ( numinp > 1 ){
49      name = (TString)inps[1];      name = (TString)inps[1];
# Line 91  int main(int numinp, char *inps[]){ Line 93  int main(int numinp, char *inps[]){
93          };          };
94          toev = atoi(inps[i+1]);          toev = atoi(inps[i+1]);
95        };            };    
96          if ( !strcmp(inps[i],"-interactive") ) {
97            iactive = true;
98          };    
99          if ( !strcmp(inps[i],"-wait") ) {
100            w4i = true;
101          };    
102        if ( !strcmp(inps[i],"-v") || !strcmp(inps[i],"--verbose") ) beverbose = true;        if ( !strcmp(inps[i],"-v") || !strcmp(inps[i],"--verbose") ) beverbose = true;
103      };      };
104    } else {    } else {
# Line 111  int main(int numinp, char *inps[]){ Line 119  int main(int numinp, char *inps[]){
119    };    };
120    printf("\n Welcome to FCaloQLOOK! \n");    printf("\n Welcome to FCaloQLOOK! \n");
121    //    //
122    FCaloQLOOK(name,fromev,toev,outdir,format);    FCaloQLOOK(name,fromev,toev,outdir,format,iactive,w4i);
123    //    //
124    if ( !beverbose ) close(nul);    if ( !beverbose ) close(nul);
125    //    //

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23