Changeset 9028 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 07/22/08 16:28:15 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJMerpp.cc
r9020 r9028 240 240 return 1; 241 241 242 // FIXME: Add a check whether the file has already been merpped!!! 243 242 244 const Bool_t isreport = fPathIn.EndsWith(".rep"); 243 245 const Bool_t isdc = fPathIn.EndsWith(".txt"); … … 337 339 const TString calpath = fPathOut; 338 340 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 339 355 TString rc; 340 356 for (UInt_t i=0; i<num; i++) … … 349 365 const TString name1 = fHeaderRun==0 ? reppath : seq.GetFileName(i, MSequence::kReportDat, reppath); 350 366 const TString name2 = seq.GetFileName(i, MSequence::kCalibrated, calpath); 351 352 // Full qualified name could not be determined353 // or file is not accessible354 if (name1.IsNull() || name2.IsNull())355 return 6;356 367 357 368 // FIXME: check runcallisto -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r9027 r9028 408 408 tlist2.AddToList(&clean); 409 409 tlist2.AddToList(&poscalc); 410 411 MFillH fillsp("MHSrcPosCam", "MSrcPosCam", "FillSrcPosCam"); 412 fillsp.SetNameTab("Src"); 413 tlist2.AddToList(&fillsp); 414 415 410 416 tlist2.AddToList(&hcalc); 411 417 tlist2.AddToList(&fsparks); -
trunk/MagicSoft/Mars/mjobs/MSequence.cc
r9023 r9028 493 493 494 494 if (tel>0) 495 n += Form(".%0 5d", file);495 n += Form(".%03d", file); 496 496 } 497 497 … … 1387 1387 // Should we add a check forbidding the same run in 1388 1388 // Cal/Ped/Data? What about the Exclude? 1389 /*str +=*/ PrintRuns(out, pre, "Runs: 1390 str += PrintRuns(out, pre, "CalRuns: 1391 str += PrintRuns(out, pre, "PedRuns: 1392 str += PrintRuns(out, pre, "Dat aRuns: ", fDatRuns, fDatRunsSub);1393 str += PrintRuns(out, pre, "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, "DatRuns: ", fDatRuns, fDatRunsSub); 1393 str += PrintRuns(out, pre, "Exclude: ", fExclRuns, fExclRunsSub); 1394 1394 } 1395 1395
Note:
See TracChangeset
for help on using the changeset viewer.