Changeset 7753 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 06/26/06 11:20:00 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r7601 r7753 515 515 } 516 516 517 Bool_t MJCut::Process(const MDataSet &set)517 Int_t MJCut::Process(const MDataSet &set) 518 518 { 519 519 if (!set.IsValid()) … … 532 532 { 533 533 if (!set.GetSourcePos(source)) 534 return kFALSE;534 return -1; 535 535 *fLog << all; 536 536 source.Print("RaDec"); … … 545 545 { 546 546 if (!FillSrcPosCam(set, source, hsrcpos)) 547 return kFALSE;547 return -2; 548 548 plist.AddToList(&hsrcpos); 549 549 } … … 698 698 tlist2.AddToList(&hcalc2); 699 699 //tlist2.AddToList(&taskenv1); 700 tlist2.AddToList(&cont0); 700 701 tlist2.AddToList(&taskenv2); 701 702 tlist2.AddToList(&taskenv3); 702 tlist2.AddToList(&cont0);703 703 if (write0) 704 704 tlist2.AddToList(write0); … … 769 769 { 770 770 *fLog << err << GetDescriptor() << ": Processing of off-sequences failed." << endl; 771 return kFALSE;771 return -3; 772 772 } 773 773 … … 914 914 { 915 915 *fLog << err << GetDescriptor() << ": Processing of on-sequences failed." << endl; 916 return kFALSE;916 return -4; 917 917 } 918 918 -
trunk/MagicSoft/Mars/mjobs/MJCut.h
r7560 r7753 55 55 ~MJCut(); 56 56 57 Bool_t Process(const MDataSet &set);57 Int_t Process(const MDataSet &set); 58 58 59 59 void EnableStorageOfSummary(Bool_t b=kTRUE) { fStoreSummary = b; } // See SetNameSummary
Note:
See TracChangeset
for help on using the changeset viewer.