Changeset 1527
- Timestamp:
- 09/17/02 11:06:33 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r1081 r1527 59 59 { 60 60 gLog << GetDescriptor() <<" Pixel: "<< fPixId; 61 gLog << (fIsUsed?" Used ":"Unused ");62 gLog << (fIsCore?" Core ":"");63 gLog << " Nphot= " << fPhot << " Error(Nphot) =" << fErrPhot << endl;61 gLog << (fIsUsed?" Used ":" Unused "); 62 gLog << (fIsCore?" Core ":" "); 63 gLog << "Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl; 64 64 } 65 65 -
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r1524 r1527 392 392 // loop over all tasks for processing 393 393 // 394 Bool_t rc = kTRUE; 394 395 while ( (task=(MTask*)Next()) ) 395 396 { … … 420 421 // an error occured: stop eventloop 421 422 // 422 return kFALSE; 423 rc = kFALSE; 424 break; 423 425 424 426 case kCONTINUE: … … 426 428 // something occured: skip the rest of the tasks for this event 427 429 // 428 return kTRUE; 430 rc = kTRUE; 431 break; 429 432 430 433 default: 431 434 *fLog << warn << "MTaskList::Process: Unknown return value from MTask::Process()... ignored." << endl; 435 continue; 432 436 } 437 break; 433 438 } 434 439 … … 436 441 fParList->ResetBit(MParList::kDoNotReset); 437 442 438 return kTRUE;443 return rc; 439 444 } 440 445 -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r1483 r1527 203 203 // -------------------------------------------------------------------------- 204 204 // 205 // Adds all files from another MReadTree to this instance 206 // 207 // Returns the number of file which were added 208 // 209 Int_t MReadTree::AddFiles(const MReadTree &read) 210 { 211 Int_t rc = 0; 212 213 TIter Next(read.fChain->GetListOfFiles()); 214 TObject *obj = NULL; 215 while ((obj=Next())) 216 rc += AddFile(obj->GetTitle()); 217 218 return rc; 219 } 220 221 // -------------------------------------------------------------------------- 222 // 205 223 // This function is called if Branch choosing method should get enabled. 206 224 // Branch choosing means, that only the enabled branches are read into -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r1477 r1527 60 60 UInt_t GetEntries() const { return fNumEntries; } 61 61 62 TString GetFileName() const;63 Int_t GetFileIndex() const;62 TString GetFileName() const; 63 Int_t GetFileIndex() const; 64 64 65 65 virtual void AddNotify(TObject *obj); … … 68 68 69 69 virtual Int_t AddFile(const char *fname); 70 virtual Int_t AddFiles(const MReadTree &read); 70 71 71 72 virtual Bool_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mmain/MainLinkDef.h
r1016 r1527 12 12 #pragma link C++ class MDataCheck+; 13 13 #pragma link C++ class MMonteCarlo+; 14 #pragma link C++ class MProgressBar+; 14 15 #pragma link C++ class MCameraDisplay+; 15 16 -
trunk/MagicSoft/Mars/mmain/Makefile
r1437 r1527 35 35 MAnalysis.cc \ 36 36 MMonteCarlo.cc \ 37 MProgressBar.cc \ 37 38 MCameraDisplay.cc 38 39
Note:
See TracChangeset
for help on using the changeset viewer.