Changeset 3682 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 04/08/04 19:52:13 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
r2984 r3682 116 116 // -------------------------------------------------------------------------- 117 117 // 118 // Sort the files by their file-names 119 // 120 void MReadMarsFile::SortFiles() 121 { 122 fRun->SortFiles(); 123 MReadTree::SortFiles(); 124 } 125 126 // -------------------------------------------------------------------------- 127 // 118 128 // This overload MReadTree::Notify. Before the MReadTree Notify 119 129 // TObjects are called the RunHeaders of the next files are read. -
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.h
r2206 r3682 24 24 ~MReadMarsFile(); 25 25 26 void SortFiles(); 27 26 28 Int_t AddFile(const char *fname, Int_t entries=-1); 27 29 -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r3585 r3682 358 358 // -------------------------------------------------------------------------- 359 359 // 360 // Sort the files by their file-names 361 // 362 void MReadTree::SortFiles() 363 { 364 fChain->GetListOfFiles()->Sort(); 365 } 366 367 // -------------------------------------------------------------------------- 368 // 360 369 // This function is called if Branch choosing method should get enabled. 361 370 // Branch choosing means, that only the enabled branches are read into -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r2556 r3682 48 48 ~MReadTree(); 49 49 50 virtual void SortFiles(); 51 50 52 void DisableAutoScheme() { fAutoEnable = kFALSE; } 51 53 void EnableBranch(const char *name); -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r3336 r3682 198 198 // add the entry to the list. 199 199 // 200 MRootFileBranch *entry = new MRootFileBranch( cname, tname, must);200 MRootFileBranch *entry = new MRootFileBranch(AddSerialNumber(cname), tname, must); 201 201 fBranches.AddLast(entry); 202 202 203 203 if (tname && tname[0]) 204 AddToBranchList(Form("%s.%s", cname, tname));204 AddToBranchList(Form("%s.%s", AddSerialNumber(cname), tname)); 205 205 } 206 206
Note:
See TracChangeset
for help on using the changeset viewer.