Ignore:
Timestamp:
12/18/16 21:05:06 (5 years ago)
Author:
Daniela Dorner
Message:
updated to not stop if one file is not found
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/processing/numevents.C

    r18075 r18688  
    241241    TString star_fname;
    242242    Int_t rc=0;
     243    Int_t numpb=0;
    243244
    244245    //loop over the data files
     
    280281        rc=process(serv, ganymed_fname, star_fname, night2, runid, table, pernight, source);
    281282        if (rc>1)
    282             return rc;
    283 
    284     }
    285 
    286 
    287     return 1;
     283            numpb++;
     284            //return rc;
     285
     286    }
     287
     288
     289    if (numpb>0)
     290        return numpb+1;//avoid that 1 (i.e. everything ok) is returned in case of problems
     291    else
     292        return 1;
    288293}
    289294
Note: See TracChangeset for help on using the changeset viewer.