Ignore:
Timestamp:
09/09/04 15:43:47 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r4760 r4895  
    461461*/
    462462
     463// --------------------------------------------------------------------------
     464//
     465// The following resource options are available:
     466//   Prefix.DataCheckDisplay: Yes, No
     467//   Prefix.DataCheck:        Yes, No
     468//   Prefix.UseData:          Yes, No
     469//
    463470Bool_t MJPedestal::CheckEnvLocal()
    464471{
     
    467474
    468475    SetDataCheck(GetEnv("DataCheck", fDataCheck));
    469     SetOverwrite(GetEnv("Overwrite", fOverwrite));
     476    SetUseData(GetEnv("UseData", fUseData));
    470477
    471478    return kTRUE;
     
    565572    if (fSequence.IsValid())
    566573    {
     574        const TString type = fUseData ? "data" : "pedestal";
    567575        const Int_t n0 = fUseData ? fSequence.SetupDatRuns(iter, fPathData) : fSequence.SetupPedRuns(iter, fPathData);
    568576        const Int_t n1 = fUseData ? fSequence.GetNumDatRuns() : fSequence.GetNumPedRuns();
    569577        if (n0==0)
    570578        {
    571             *fLog << err << "ERROR - No input files of sequence found!" << endl;
     579            *fLog << err << "ERROR - No " << type << " input files of sequence found in " << fPathData << endl;
    572580            return kFALSE;
    573581        }
    574582        if (n0!=n1)
    575583        {
    576             *fLog << err << "ERROR - Number of files found (" << n0 << ") doesn't match number of files in sequence (" << n1 << ")" << endl;
     584            *fLog << err << "ERROR - Number of " << type << " files found (" << n0 << ") in " << fPathData << " doesn't match number of files in sequence (" << n1 << ")" << endl;
    577585            return kFALSE;
    578586        }
Note: See TracChangeset for help on using the changeset viewer.