Ignore:
Timestamp:
05/23/05 11:32:19 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/macros
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C

    r7031 r7084  
    109109
    110110    TFile file(fname, "READ");
     111    if (!file.IsOpen())
     112    {
     113        cout << "ERROR - Could not find file " << fname << endl;
     114        return 0;
     115    }
     116
    111117    if (badpix.Read("MBadPixelsCam")<=0)
    112118    {
     
    239245                     " fIsolatedInner=%d, "
    240246                     " fIsolatedOuter=%d, "
    241                      " fIsolatedMaxCluster=%d, ",
     247                     " fIsolatedMaxCluster=%d, "
    242248                     " fArrTimeMeanInner=%s, "
    243249                     " fArrTimeRmsInner=%s, "
  • trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C

    r7010 r7084  
    7070{
    7171    TFile file(fname, "READ");
     72    if (!file.IsOpen())
     73    {
     74        cout << "ERROR - Could not find file " << fname << endl;
     75        return 0;
     76    }
     77
    7278    MStatusArray *arr = (MStatusArray*)file.Get("MStatusDisplay");
    7379    if (!arr)
  • trunk/MagicSoft/Mars/datacenter/macros/fillstar.C

    r7079 r7084  
    8989{
    9090    TFile file(fname, "READ");
     91    if (!file.IsOpen())
     92    {
     93        cout << "ERROR - Could not find file " << fname << endl;
     94        return 0;
     95    }
     96
    9197
    9298    MStatusArray arr;
Note: See TracChangeset for help on using the changeset viewer.