Ignore:
Timestamp:
07/22/08 16:28:15 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
3 edited

Legend:

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

    r9020 r9028  
    240240        return 1;
    241241
     242    // FIXME: Add a check whether the file has already been merpped!!!
     243
    242244    const Bool_t isreport = fPathIn.EndsWith(".rep");
    243245    const Bool_t isdc     = fPathIn.EndsWith(".txt");
     
    337339    const TString calpath = fPathOut;
    338340
     341    // PreCheck: We don't wantto start merpp if we
     342    // know that an error will occur
     343    for (UInt_t i=0; i<num; i++)
     344    {
     345        const TString name1 = fHeaderRun==0 ? reppath : seq.GetFileName(i, MSequence::kReportDat, reppath);
     346        const TString name2 = seq.GetFileName(i, MSequence::kCalibrated, calpath);
     347
     348        // Full qualified name could not be determined or file is not
     349        // accessible. For excluded files "0" is returned.
     350        if (name1.IsNull() || name2.IsNull())
     351            return 6;
     352    }
     353
     354    // Now we can safely start processing
    339355    TString rc;
    340356    for (UInt_t i=0; i<num; i++)
     
    349365        const TString name1 = fHeaderRun==0 ? reppath : seq.GetFileName(i, MSequence::kReportDat, reppath);
    350366        const TString name2 = seq.GetFileName(i, MSequence::kCalibrated, calpath);
    351 
    352         // Full qualified name could not be determined
    353         // or file is not accessible
    354         if (name1.IsNull() || name2.IsNull())
    355             return 6;
    356367
    357368        // FIXME: check runcallisto
  • trunk/MagicSoft/Mars/mjobs/MJStar.cc

    r9027 r9028  
    408408    tlist2.AddToList(&clean);
    409409    tlist2.AddToList(&poscalc);
     410
     411    MFillH fillsp("MHSrcPosCam", "MSrcPosCam", "FillSrcPosCam");
     412    fillsp.SetNameTab("Src");
     413    tlist2.AddToList(&fillsp);
     414
     415
    410416    tlist2.AddToList(&hcalc);
    411417    tlist2.AddToList(&fsparks);
  • trunk/MagicSoft/Mars/mjobs/MSequence.cc

    r9023 r9028  
    493493
    494494        if (tel>0)
    495             n += Form(".%05d", file);
     495            n += Form(".%03d", file);
    496496    }
    497497
     
    13871387        // Should we add a check forbidding the same run in
    13881388        // Cal/Ped/Data? What about the Exclude?
    1389         /*str +=*/ PrintRuns(out, pre, "Runs:     ", fRuns,     fRunsSub);
    1390         str += PrintRuns(out, pre, "CalRuns:  ", fCalRuns,  fCalRunsSub);
    1391         str += PrintRuns(out, pre, "PedRuns:  ", fPedRuns,  fPedRunsSub);
    1392         str += PrintRuns(out, pre, "DataRuns: ", fDatRuns,  fDatRunsSub);
    1393         str += PrintRuns(out, pre, "Exclude:  ", fExclRuns, fExclRunsSub);
     1389        /*str +=*/ PrintRuns(out, pre, "Runs:    ", fRuns,     fRunsSub);
     1390        str += PrintRuns(out, pre, "CalRuns: ", fCalRuns,  fCalRunsSub);
     1391        str += PrintRuns(out, pre, "PedRuns: ", fPedRuns,  fPedRunsSub);
     1392        str += PrintRuns(out, pre, "DatRuns: ", fDatRuns,  fDatRunsSub);
     1393        str += PrintRuns(out, pre, "Exclude: ", fExclRuns, fExclRunsSub);
    13941394    }
    13951395
Note: See TracChangeset for help on using the changeset viewer.