Changeset 10130 for trunk/Mars/mfileio
- Timestamp:
- 02/04/11 15:36:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mfileio/MReadReports.cc
r8780 r10130 438 438 if (cnt<=0 || rc==kFALSE) 439 439 { 440 *fLog << dbg << "Removing chain " << chain->GetName() << " from list" << flush; 440 *fLog << inf << "Removing chain " << chain->GetName() << " from list" << flush; 441 442 // Find index of chain to be removed 443 const Int_t idx = fChains->IndexOf(chain); 444 *fLog << " (" << idx << ")" << flush; 441 445 442 446 delete *GetTime(chain); // Delete MTime* … … 444 448 delete fChains->Remove(chain); // Remove chain from TList 445 449 *fLog << "." << flush; 450 451 // Change array accordingly 452 if (fPosEntry.GetSize()>1) 453 { 454 for (int i=idx; i<fPosEntry.GetSize()-1; i++) 455 fPosEntry[i] = fPosEntry[i+1]; 456 fPosEntry[fPosEntry.GetSize()-1] = 0; 457 } 446 458 447 459 // FIXME: Maybe MTaskList should have a member function to
Note:
See TracChangeset
for help on using the changeset viewer.