Changeset 654 for trunk/MagicSoft/Mars/mbase/MReadTree.cc
- Timestamp:
- 03/01/01 15:56:58 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r609 r654 43 43 { 44 44 // 45 // open file 45 // open file and check if file is really open 46 46 // 47 47 fFile = new TFile(fFileName, "READ"); … … 54 54 } 55 55 56 // 57 // try to get the tree and check if it was found 58 // 56 59 fTree = (TTree*)fFile->Get(fTreeName); 57 58 60 if (!fTree) 59 61 { … … 63 65 } 64 66 67 // 68 // get number of events in this tree 69 // 65 70 fNumEntries = (UInt_t)fTree->GetEntries(); 71 72 // 73 // set pointer to first event 74 // 66 75 fNumEntry = 0; 67 76 77 // 78 // output logging information 79 // 68 80 *fLog << "File: '" << fFileName << "' Tree: '" << fTreeName; 69 81 *fLog << "' with " << fNumEntries << " Entries opened." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.