Changeset 4895 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 09/09/04 15:43:47 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadReports.cc
r4766 r4895 226 226 Int_t MReadReports::PreProcess(MParList *plist) 227 227 { 228 fList = (MTask*)plist->FindObject("MTaskList");229 230 228 fChains->Delete(); 231 229 … … 385 383 const Int_t rc = task->CallProcess(); 386 384 if (rc) 387 {388 fList->SetStreamId(task->GetName());389 385 return rc; 390 }391 386 } 392 387 -
trunk/MagicSoft/Mars/mfileio/MReadReports.h
r4766 r4895 22 22 TArrayL fPosEntry; // Store the position in each tree/chain 23 23 TArrayL fPosTree; // Number of Tree in file. 24 25 MTask *fList; // pointer to the task list to set the stream id26 24 27 25 Bool_t fEnableAutoScheme; -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r4766 r4895 601 601 Int_t MReadTree::PreProcess(MParList *pList) 602 602 { 603 fTaskList = (MTaskList*)pList->FindObject("MTaskList"); 604 if (!fTaskList) 605 *fLog << warn << "WARNING - Standard tasklist MTaskList not found... ignoring Stream-ID." << endl; 606 603 607 // 604 608 // Make sure, that all the following calls doesn't result in … … 854 858 const Bool_t rc = fChain->GetEntry(fNumEntry++) != 0; 855 859 860 if (fTaskList) 861 fTaskList->SetStreamId(fChain->GetName()); 862 856 863 if (rc) 857 864 SetReadyToSave(); -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r4698 r4895 8 8 class MChain; 9 9 class TBranch; 10 class MTaskList; 10 11 11 12 class MReadTree : public MRead … … 24 25 TList *fVetoList; // List of Branches which are not allowed to get enabled 25 26 TList *fNotify; // List of TObjects to notify when switching files 27 28 MTaskList *fTaskList; // Tasklist to set StreamId 26 29 27 30 enum { kChainWasChanged = BIT(14) };
Note:
See TracChangeset
for help on using the changeset viewer.