/[PAMELA software]/PadmeAmidala/src/PadmeAmidala.cpp
ViewVC logotype

Diff of /PadmeAmidala/src/PadmeAmidala.cpp

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

revision 1.3 by mocchiut, Tue Jan 9 10:19:53 2007 UTC revision 1.10 by mocchiut, Fri Jan 30 16:17:30 2009 UTC
# Line 198  int main(int numinp, char *inps[]){ Line 198  int main(int numinp, char *inps[]){
198        if ( !strcmp(inps[i],"+all") || !strcmp(inps[i],"+ALL") ) {        if ( !strcmp(inps[i],"+all") || !strcmp(inps[i],"+ALL") ) {
199          dectlist +=" +ALL";                dectlist +=" +ALL";      
200        };        };
201          if ( !strcmp(inps[i],"+auto") || !strcmp(inps[i],"+AUTO") ) {
202            dectlist +=" +AUTO";      
203          };
204        if ( !strcmp(inps[i],"+CAL") ) {        if ( !strcmp(inps[i],"+CAL") ) {
205          dectlist +=" +CAL";          dectlist +=" +CAL";
206        };        };
# Line 276  int main(int numinp, char *inps[]){ Line 279  int main(int numinp, char *inps[]){
279    RunGlue *rg = new RunGlue(dbc,run,dir,outdir);    RunGlue *rg = new RunGlue(dbc,run,dir,outdir);
280    //    //
281    if ( debug ) rg->SetDebug(true);    if ( debug ) rg->SetDebug(true);
282      if ( !dbup ) rg->SetUpgrade(false);
283    rg->SetDList(dectlist);    rg->SetDList(dectlist);
284    //    //
285    TList *l = 0;    TList *l = 0;
286    //    //
287    TString treelist="+ALL";    Int_t RET=0;
288      //
289      //  TString treelist="+AUTO";
290    //    //
291    while ( !rg->End() ){    while ( !rg->End() ){
292      //      //
# Line 299  int main(int numinp, char *inps[]){ Line 305  int main(int numinp, char *inps[]){
305          //          //
306          rg->Clean();          rg->Clean();
307          //          //
308          } else {
309            RET = 255;
310        };        };
311        } else {
312          RET = 255;
313      };      };
314      delete l;      delete l;
315      //      //
# Line 311  int main(int numinp, char *inps[]){ Line 321  int main(int numinp, char *inps[]){
321    //    //
322    if ( dbc ) dbc->Close();    if ( dbc ) dbc->Close();
323    //    //
324      if ( debug ) printf(" exit with error code %i \n",RET);
325      //
326    printf("\n");    printf("\n");
327    //    //
328    exit(0);    exit(RET);
329  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23