Changeset 19844 for trunk/Mars


Ignore:
Timestamp:
10/31/19 10:18:44 (5 years ago)
Author:
tbretz
Message:
This is double checked
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/hawc/extract_singles.C

    r19840 r19844  
    702702        return 1;
    703703    }
    704     if (gSystem->AccessPathName(drsfile, kFileExists))
    705     {
    706         gLog << "ERROR - Cannot access drsfile file '" << drsfile << "'" << endl;
    707         return 2;
    708     }
     704
     705    // ------------------------------------------------------
     706
     707    MDrsCalibration drscalib300;
     708    if (!drscalib300.ReadFits(drsfile))
     709        return 3;
    709710
    710711    // --------------------------------------------------------------------------------
     
    713714    gLog << "Extract singles with '" << drsfile << "'" << endl;
    714715    gLog << endl;
    715 
    716     // ------------------------------------------------------
    717 
    718     MDrsCalibration drscalib300;
    719     if (!drscalib300.ReadFits(drsfile))
    720         return 3;
    721716
    722717    // ------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.