Changeset 8226 for trunk/MagicSoft/Mars/mfileio/MReadTree.cc
- Timestamp:
- 12/12/06 13:30:36 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r8133 r8226 1152 1152 // -------------------------------------------------------------------------- 1153 1153 // 1154 // Get number of files in chain. (-1 is returned if chain is not 1155 // initialized. 1156 // 1157 Int_t MReadTree::GetNumFiles() const 1158 { 1159 if (!fChain) 1160 return -1; 1161 1162 return fChain->GetListOfFiles()->GetEntries(); 1163 } 1164 1165 // -------------------------------------------------------------------------- 1166 // 1154 1167 // Return the number of the file in the chain, -1 in case of an error 1155 1168 //
Note:
See TracChangeset
for help on using the changeset viewer.