Changeset 8226 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 12/12/06 13:30:36 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
r8225 r8226 255 255 } 256 256 257 // Check if really one file conatains one RunHeader 258 // (FIXME: Do the check more properly) 257 259 if (fRun->GetEntries() < fRun->GetNumFiles()) 258 260 { -
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 // -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r7804 r8226 77 77 TString GetFullFileName() const; 78 78 Int_t GetFileIndex() const; 79 Int_t GetNumFiles() const; 79 80 80 81 virtual void AddNotify(TObject *obj);
Note:
See TracChangeset
for help on using the changeset viewer.